equal
deleted
inserted
replaced
25 { |
25 { |
26 Q_OBJECT |
26 Q_OBJECT |
27 |
27 |
28 public: |
28 public: |
29 PageTraining(QWidget* parent = 0); |
29 PageTraining(QWidget* parent = 0); |
|
30 QListWidget * lstTrainings; |
|
31 QListWidget * lstChallenges; |
|
32 QListWidget * lstScenarios; |
|
33 QPushButton * btnPreview; |
|
34 QPushButton * btnStart; |
|
35 QComboBox * CBTeam; |
30 |
36 |
|
37 public slots: |
|
38 void updateInfo(); |
31 |
39 |
32 signals: |
40 signals: |
33 void startMission(const QString & scriptName, const QString & subFolder); |
41 void startMission(const QString & scriptName, const QString & subFolder); |
34 |
42 |
35 |
43 |
38 QLayout * footerLayoutDefinition(); |
46 QLayout * footerLayoutDefinition(); |
39 void connectSignals(); |
47 void connectSignals(); |
40 |
48 |
41 |
49 |
42 private: |
50 private: |
43 QPushButton * btnPreview; |
|
44 QPushButton * btnStart; |
|
45 QLabel * lblCaption; |
51 QLabel * lblCaption; |
46 QLabel * lblDescription; |
52 QLabel * lblDescription; |
|
53 QLabel * lblHighscores; |
47 QTabWidget * tbw; |
54 QTabWidget * tbw; |
48 QListWidget * lstTrainings; |
|
49 QListWidget * lstChallenges; |
|
50 QListWidget * lstScenarios; |
|
51 QSettings * m_info; |
55 QSettings * m_info; |
52 QString getSubFolderOfSelected(); |
56 QString getSubFolderOfSelected(); |
53 |
57 |
54 |
58 |
55 private slots: |
59 private slots: |
56 void startSelected(); |
60 void startSelected(); |
57 void updateInfo(); |
|
58 |
61 |
59 }; |
62 }; |
60 |
63 |
61 #endif |
64 #endif |
62 |
65 |