mainmenu.h 533 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef MAINMENU_H
  2. #define MAINMENU_H
  3. #include "gui/scene.h"
  4. #include "gui/buttoneventlistener.h"
  5. namespace Ui {
  6. class MainMenu;
  7. }
  8. class MainMenu : public Scene
  9. {
  10. Q_OBJECT
  11. public:
  12. explicit MainMenu(QWidget *parent = 0);
  13. ~MainMenu();
  14. void init() override;
  15. void deinit() override;
  16. private slots:
  17. void on_hotseat_button_clicked();
  18. void on_leave_game_button_clicked();
  19. void on_about_us_button_clicked();
  20. private:
  21. Ui::MainMenu *ui;
  22. ButtonEventListener * watcher;
  23. };
  24. #endif // MAINMENU_H