diff options
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 19d45c8..9eb16ea 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -6,6 +6,9 @@ #include <QMainWindow> class SudokuWidget; +class QAction; +class QMenu; +class SolverWindow; class MainWindow : public QMainWindow { @@ -13,6 +16,29 @@ class MainWindow : public QMainWindow public: MainWindow(); + +private: + void initActions(); + + void initMenus(); + + SolverWindow *mainwindow_solverwindow; + QMenu *mainwindow_gamemenu; + QMenu *mainwindow_movemenu; + + // Game menu actions + QAction *action_new; + QAction *action_load; + QAction *action_save; + QAction *action_saveas; + QAction *action_quit; + + // Move menu actions + QAction *action_hint; + QAction *action_step; + QAction *action_solve; + }; -#endif // __INCLUDED_SUDOKUSOLVER_MAINWINDOW__
\ No newline at end of file +#endif // __INCLUDED_SUDOKUSOLVER_MAINWINDOW__ + |