Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef MAINMENU
- #define MAINMENU
- #include <QGraphicsScene>
- #include <QGraphicsView>
- //#include <QObject>
- #include <QPushButton>
- class MainMenu : public QGraphicsView{
- Q_OBJECT
- public:
- MainMenu();
- QGraphicsScene *scene;
- QPushButton *playButton;
- QPushButton *exitButton;
- QPushButton *controlsButton;
- private:
- public slots:
- void play();
- void exit();
- };
- #endif // MAINMENU
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement