1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef PLAYERVSPLAYERINTRO_H
- #define PLAYERVSPLAYERINTRO_H
- #include "gui/scene.h"
- #include <QWidget>
- namespace Ui {
- class PlayerVsPlayerIntro;
- }
- class PvPIntroButtonHoverWatcher : public QObject
- {
- Q_OBJECT
- public:
- explicit PvPIntroButtonHoverWatcher(QObject * parent = Q_NULLPTR);
- virtual bool eventFilter(QObject * watched, QEvent * event) Q_DECL_OVERRIDE;
- };
- class PlayerVsPlayerIntro : public Scene
- {
- Q_OBJECT
- public:
- explicit PlayerVsPlayerIntro(QWidget *parent = 0);
- virtual void init() override;
- ~PlayerVsPlayerIntro();
- private slots:
- void on_back_button_clicked();
- void on_continue_button_clicked();
- private:
- QMovie *movie;
- Ui::PlayerVsPlayerIntro *ui;
- PvPIntroButtonHoverWatcher *watcher;
- };
- #endif // PLAYERVSPLAYERINTRO_H
|