mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Added "About swift dialog"
* Details as text edit, so users can cut and paste it for bug reports * Removed setup/compile info from internals and show it in about * display Qt icon for "About Qt"
This commit is contained in:
committed by
Mathew Sutcliffe
parent
94c9886c35
commit
8c9e3541ee
46
src/blackgui/components/aboutdialog.h
Normal file
46
src/blackgui/components/aboutdialog.h
Normal file
@@ -0,0 +1,46 @@
|
||||
/* Copyright (C) 2017
|
||||
* swift project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_COMPONENTS_ABOUTDIALOG_H
|
||||
#define BLACKGUI_COMPONENTS_ABOUTDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QScopedPointer>
|
||||
|
||||
namespace Ui { class CAboutDialog; }
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
{
|
||||
/*!
|
||||
* About dialog
|
||||
*/
|
||||
class CAboutDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CAboutDialog(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CAboutDialog();
|
||||
|
||||
private:
|
||||
//! Init values
|
||||
void init();
|
||||
|
||||
QScopedPointer<Ui::CAboutDialog> ui;
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user