Mercurial > trustbridge
annotate ui/helpdialog.h @ 285:f23e0ccd5d14
Fix call to windows process.
This now uses the correct parameters, emits the signals
correctly as errors and waits for the process to finish instead
of relying on NOASYNC which did not work for runas and also
made it impossible to get the return code
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 02 Apr 2014 13:45:57 +0000 |
parents | 1a66a15d0df8 |
children | 17e1c8f37d72 |
rev | line source |
---|---|
190
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
1 #ifndef HELPDIALOG_H |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
2 #define HELPDIALOG_H |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
3 |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
4 #include <QDialog> |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
5 #include <QMainWindow> |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
6 /** |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
7 * @file helpdialog.h |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
8 * @brief The dialog for help text. |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
9 */ |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
10 |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
11 class HelpDialog : public QDialog |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
12 { |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
13 public: |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
14 /** @brief Create a help dialog */ |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
15 HelpDialog(QMainWindow *parent); |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
16 |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
17 private: |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
18 void setupGUI(); |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
19 |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
20 }; |
1a66a15d0df8
Added stub for help dialog.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
21 #endif // HELPDIALOG_H |