-
Notifications
You must be signed in to change notification settings - Fork 26
/
interface.h
executable file
·44 lines (42 loc) · 957 Bytes
/
interface.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef INTERFACE_H
#define INTERFACE_H
#include <QPainter>
#include <QMovie>
#include <QResizeEvent>
#include <QMessageBox>
#include <QApplication>
#include "factory.h"
#include "sign.h"
class interface : public QWidget
{
Q_OBJECT
public:
explicit interface(QWidget *parent = 0);
void resizeEvent(QResizeEvent*);
public:
Sign* sign;
QTimer* timer;
QPushButton* button_NetPlay;
QPushButton* button_LocalDungeon;
QPushButton *button_Quit;
QPushButton *button_About;
bool isok;
bool Dungeonisok;
bool surfaceShow;
void showMianMenu();
private:
Factory *fac;
QLabel* msgLabel;
QLabel* GifLabel;
QProgressBar* probar;//进度条
QPainter* painter;
QTimer* QuitTimer;
public slots:
void NetPlayStart();
void LocalDungeonStart();
void loading();
void Quit();
void doQuit();
void AboutShow();
};
#endif // INTERFACE_H