equal
deleted
inserted
replaced
21 |
21 |
22 #include "AbstractPage.h" |
22 #include "AbstractPage.h" |
23 |
23 |
24 class PageTraining : public AbstractPage |
24 class PageTraining : public AbstractPage |
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 |
30 |
31 |
31 |
32 signals: |
32 signals: |
33 void startMission(const QString & scriptName); |
33 void startMission(const QString & scriptName); |
34 |
34 |
35 |
35 |
36 protected: |
36 protected: |
37 QLayout * bodyLayoutDefinition(); |
37 QLayout * bodyLayoutDefinition(); |
38 QLayout * footerLayoutDefinition(); |
38 QLayout * footerLayoutDefinition(); |
39 void connectSignals(); |
39 void connectSignals(); |
40 |
40 |
41 |
41 |
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 QListWidget * lstMissions; |
48 QSettings * m_info; |
48 QSettings * m_info; |
49 |
49 |
50 |
50 |
51 private slots: |
51 private slots: |
52 void startSelected(); |
52 void startSelected(); |
53 void updateInfo(); |
53 void updateInfo(); |
54 |
54 |
55 }; |
55 }; |
56 |
56 |
57 #endif |
57 #endif |
58 |
58 |