equal
deleted
inserted
replaced
26 class QPushButton; |
26 class QPushButton; |
27 class QListWidget; |
27 class QListWidget; |
28 |
28 |
29 class PagePlayDemo : public AbstractPage |
29 class PagePlayDemo : public AbstractPage |
30 { |
30 { |
31 Q_OBJECT |
31 Q_OBJECT |
32 |
32 |
33 public: |
33 public: |
34 enum RecordType { |
34 enum RecordType |
35 RT_Demo, |
35 { |
36 RT_Save |
36 RT_Demo, |
37 }; |
37 RT_Save |
|
38 }; |
38 |
39 |
39 PagePlayDemo(QWidget* parent = 0); |
40 PagePlayDemo(QWidget* parent = 0); |
40 |
41 |
41 void FillFromDir(RecordType rectype); |
42 void FillFromDir(RecordType rectype); |
42 bool isSave(); |
43 bool isSave(); |
43 |
44 |
44 QPushButton *BtnPlayDemo; |
45 QPushButton *BtnPlayDemo; |
45 QPushButton *BtnRenameRecord; |
46 QPushButton *BtnRenameRecord; |
46 QPushButton *BtnRemoveRecord; |
47 QPushButton *BtnRemoveRecord; |
47 QListWidget *DemosList; |
48 QListWidget *DemosList; |
48 |
49 |
49 private: |
50 private: |
50 QLayout * bodyLayoutDefinition(); |
51 QLayout * bodyLayoutDefinition(); |
51 void connectSignals(); |
52 void connectSignals(); |
52 |
53 |
53 RecordType recType; |
54 RecordType recType; |
54 |
55 |
55 private slots: |
56 private slots: |
56 void renameRecord(); |
57 void renameRecord(); |
57 void removeRecord(); |
58 void removeRecord(); |
58 }; |
59 }; |
59 |
60 |
60 |
61 |
61 #endif // PLAYRECORDPAGE_H |
62 #endif // PLAYRECORDPAGE_H |