equal
deleted
inserted
replaced
28 public: |
28 public: |
29 PageTraining(QWidget* parent = 0); |
29 PageTraining(QWidget* parent = 0); |
30 |
30 |
31 |
31 |
32 signals: |
32 signals: |
33 void startMission(const QString & scriptName); |
33 void startMission(const QString & scriptName, const QString & subFolder); |
34 |
34 |
35 |
35 |
36 protected: |
36 protected: |
37 QLayout * bodyLayoutDefinition(); |
37 QLayout * bodyLayoutDefinition(); |
38 QLayout * footerLayoutDefinition(); |
38 QLayout * footerLayoutDefinition(); |
42 private: |
42 private: |
43 QPushButton * btnPreview; |
43 QPushButton * btnPreview; |
44 QPushButton * btnStart; |
44 QPushButton * btnStart; |
45 QLabel * lblCaption; |
45 QLabel * lblCaption; |
46 QLabel * lblDescription; |
46 QLabel * lblDescription; |
47 QListWidget * lstMissions; |
47 QTabWidget * tbw; |
|
48 QListWidget * lstTrainings; |
|
49 QListWidget * lstChallenges; |
|
50 QListWidget * lstScenarios; |
48 QSettings * m_info; |
51 QSettings * m_info; |
|
52 QString getSubFolderOfSelected(); |
49 |
53 |
50 |
54 |
51 private slots: |
55 private slots: |
52 void startSelected(); |
56 void startSelected(); |
53 void updateInfo(); |
57 void updateInfo(); |