equal
deleted
inserted
replaced
42 |
42 |
43 public: |
43 public: |
44 PageGameStats(QWidget* parent = 0); |
44 PageGameStats(QWidget* parent = 0); |
45 |
45 |
46 QPushButton *BtnBack; |
46 QPushButton *BtnBack; |
|
47 QPushButton *BtnSave; |
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 |
|
58 signals: |
|
59 void saveDemoRequested(); |
56 |
60 |
57 private: |
61 private: |
58 void AddStatText(const QString & msg); |
62 void AddStatText(const QString & msg); |
59 |
63 |
60 QMap<quint32, QVector<quint32> > healthPoints; |
64 QMap<quint32, QVector<quint32> > healthPoints; |