Mercurial > trustbridge
annotate ui/aboutdialog.h @ 777:ca149bad8195
(issue51) Set up autostart on installation.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 11 Jul 2014 18:31:09 +0200 |
parents | 1642a79cc02d |
children | 2a1aa9df8f11 |
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 | |
18 class AboutDialog : public QDialog | |
19 { | |
605
1642a79cc02d
Every class that inherits QObject needs the Q_Object macro.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
404
diff
changeset
|
20 Q_OBJECT |
199 | 21 public: |
22 /** @brief Create a help dialog */ | |
23 AboutDialog(QMainWindow *parent); | |
24 | |
25 private: | |
26 void setupGUI(); | |
27 | |
28 }; | |
29 #endif // ABOUTDIALOG_H |