Mercurial > trustbridge
annotate ui/aboutdialog.h @ 1384:318e8c5c4f85
Do not depend on RELEASE_BUILD for debug output
this is handled by g_debug and no longer neccessary als
a Macro
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 15 Jan 2015 15:57:26 +0100 |
parents | 2a1aa9df8f11 |
children |
rev | line source |
---|---|
404 | 1 /* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU GPL (v>=2) | |
5 * and comes with ABSOLUTELY NO WARRANTY! | |
6 * See LICENSE.txt for details. | |
7 */ | |
199 | 8 #ifndef ABOUTDIALOG_H |
9 #define ABOUTDIALOG_H | |
10 | |
11 #include <QDialog> | |
12 #include <QMainWindow> | |
13 /** | |
14 * @file aboutdialog.h | |
15 * @brief The dialog for information about the application. | |
16 */ | |
17 | |
1255
2a1aa9df8f11
(issue133) Improve API documentation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
605
diff
changeset
|
18 /** @brief AboutDialog of the admin application |
2a1aa9df8f11
(issue133) Improve API documentation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
605
diff
changeset
|
19 * |
2a1aa9df8f11
(issue133) Improve API documentation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
605
diff
changeset
|
20 * This is a specialized QDialog for the About information |
2a1aa9df8f11
(issue133) Improve API documentation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
605
diff
changeset
|
21 * of the administrator application. |
2a1aa9df8f11
(issue133) Improve API documentation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
605
diff
changeset
|
22 */ |
199 | 23 class AboutDialog : public QDialog |
24 { | |
605
1642a79cc02d
Every class that inherits QObject needs the Q_Object macro.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
404
diff
changeset
|
25 Q_OBJECT |
199 | 26 public: |
1255
2a1aa9df8f11
(issue133) Improve API documentation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
605
diff
changeset
|
27 /** @brief Create the about dialog */ |
199 | 28 AboutDialog(QMainWindow *parent); |
29 | |
30 private: | |
1255
2a1aa9df8f11
(issue133) Improve API documentation
Andre Heinecke <andre.heinecke@intevation.de>
parents:
605
diff
changeset
|
31 /** @brief Create UI elements */ |
199 | 32 void setupGUI(); |
33 | |
34 }; | |
35 #endif // ABOUTDIALOG_H |