Mercurial > trustbridge
annotate ui/aboutdialog.h @ 1373:00fcb9c4d16b
(issue179) Handle SW verify failures and try to redownload the update
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 24 Nov 2014 16:46:08 +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 |