summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-07-12 22:14:33 +0000
committerStijn Buys <ingar@osirion.org>2013-07-12 22:14:33 +0000
commit9b45d1a3f15a7d37c6e206ce2fdcb43972113b29 (patch)
tree8e11d6eeb7bd7a0a638e20ab23d7e560c6381c2b /src/mainwindow.h
parent359fd932e5925dff7dd722bd9bb2aa463210badd (diff)
Set PACKAGE_NAME and PACKAGE_VERSION from the configure script and use PACKAGE_NAME in the application window title,
adds Help -> About, defines color constants and marks invalid input.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 27a1f33..b928c68 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -27,6 +27,7 @@ private:
SolverWindow *mainwindow_solverwindow;
QMenu *mainwindow_gamemenu;
QMenu *mainwindow_movemenu;
+ QMenu *mainwindow_helpmenu;
// Game menu actions
QAction *action_new;
@@ -44,6 +45,9 @@ private:
QAction *action_search;
QAction *action_validate;
+ // Help menu actions
+ QAction *action_about;
+
private slots:
void doNew();
@@ -54,6 +58,8 @@ private slots:
void doQuit();
void doValidate();
+
+ void doAbout();
};