--- a/QTfrontend/ui/page/pagegamestats.h Mon Jan 30 23:20:28 2012 +0100
+++ b/QTfrontend/ui/page/pagegamestats.h Mon Jan 30 17:32:18 2012 -0500
@@ -27,47 +27,47 @@
class FitGraphicsView : public QGraphicsView
{
- Q_OBJECT
+ Q_OBJECT
-public:
- FitGraphicsView(QWidget* parent = 0);
+ public:
+ FitGraphicsView(QWidget* parent = 0);
-protected:
- void resizeEvent(QResizeEvent * event);
+ protected:
+ void resizeEvent(QResizeEvent * event);
};
class PageGameStats : public AbstractPage
{
- Q_OBJECT
+ Q_OBJECT
-public:
- PageGameStats(QWidget* parent = 0);
+ public:
+ PageGameStats(QWidget* parent = 0);
- QPushButton *btnSave;
- QLabel *labelGameStats;
- QLabel *labelGameWin;
- QLabel *labelGameRank;
- FitGraphicsView * graphic;
+ QPushButton *btnSave;
+ QLabel *labelGameStats;
+ QLabel *labelGameWin;
+ QLabel *labelGameRank;
+ FitGraphicsView * graphic;
-public slots:
- void GameStats(char type, const QString & info);
- void clear();
- void renderStats();
-
-signals:
- void saveDemoRequested();
+ public slots:
+ void GameStats(char type, const QString & info);
+ void clear();
+ void renderStats();
+
+ signals:
+ void saveDemoRequested();
-private:
- void AddStatText(const QString & msg);
+ private:
+ void AddStatText(const QString & msg);
- QMap<quint32, QVector<quint32> > healthPoints;
- unsigned int playerPosition;
- quint32 lastColor;
+ QMap<quint32, QVector<quint32> > healthPoints;
+ unsigned int playerPosition;
+ quint32 lastColor;
-protected:
- QLayout * bodyLayoutDefinition();
- QLayout * footerLayoutDefinition();
- void connectSignals();
+ protected:
+ QLayout * bodyLayoutDefinition();
+ QLayout * footerLayoutDefinition();
+ void connectSignals();
};
#endif // STATSPAGE_H