equal
deleted
inserted
replaced
42 |
42 |
43 public: |
43 public: |
44 PageGameStats(QWidget* parent = 0); |
44 PageGameStats(QWidget* parent = 0); |
45 |
45 |
46 QPushButton *btnSave; |
46 QPushButton *btnSave; |
|
47 QPushButton *btnRestart; |
47 QLabel *labelGameStats; |
48 QLabel *labelGameStats; |
48 QLabel *labelGameWin; |
49 QLabel *labelGameWin; |
49 QLabel *labelGameRank; |
50 QLabel *labelGameRank; |
50 FitGraphicsView * graphic; |
51 FitGraphicsView * graphic; |
51 |
52 |
52 public slots: |
53 public slots: |
53 void GameStats(char type, const QString & info); |
54 void GameStats(char type, const QString & info); |
54 void clear(); |
55 void clear(); |
55 void renderStats(); |
56 void renderStats(); |
|
57 void restartBtnVisible(bool visible); |
56 |
58 |
57 signals: |
59 signals: |
58 void saveDemoRequested(); |
60 void saveDemoRequested(); |
|
61 void restartGameRequested(); |
59 |
62 |
60 private: |
63 private: |
61 void AddStatText(const QString & msg); |
64 void AddStatText(const QString & msg); |
62 |
65 |
63 QMap<quint32, QVector<quint32> > healthPoints; |
66 QMap<quint32, QVector<quint32> > healthPoints; |