Cppcheck
aboutdialog.h
Go to the documentation of this file.
1 /*
2  * Cppcheck - A tool for static C/C++ code analysis
3  * Copyright (C) 2007-2023 Cppcheck team.
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef ABOUT_DIALOG_H
20 #define ABOUT_DIALOG_H
21 
22 #include <QDialog>
23 #include <QObject>
24 #include <QString>
25 
26 class QWidget;
27 namespace Ui {
28  class About;
29 }
30 
31 /// @addtogroup GUI
32 /// @{
33 
34 /**
35  * @brief About dialog
36  *
37  */
38 class AboutDialog : public QDialog {
39  Q_OBJECT
40 public:
41  AboutDialog(const QString &version,
42  const QString &extraVersion,
43  QWidget *parent = nullptr);
44 
45  ~AboutDialog() override;
46 
47 private:
48  Ui::About* mUI;
49 };
50 /// @}
51 #endif // ABOUT_DIALOG_H
About dialog.
Definition: aboutdialog.h:38
~AboutDialog() override
Definition: aboutdialog.cpp:44
AboutDialog(const QString &version, const QString &extraVersion, QWidget *parent=nullptr)
Definition: aboutdialog.cpp:26
Ui::About * mUI
Definition: aboutdialog.h:48
Definition: aboutdialog.h:27