QTfrontend/playrecordpage.h
changeset 2948 3f21a9dc93d0
parent 1153 825931b81ad4
child 3236 4ab3917d7d44
equal deleted inserted replaced
2947:803b277e4894 2948:3f21a9dc93d0
    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         RT_Demo,
    36 		RT_Save
    36         RT_Save
    37 	};
    37     };
    38 
    38 
    39 	PagePlayDemo(QWidget* parent = 0);
    39     PagePlayDemo(QWidget* parent = 0);
    40 
    40 
    41 	void FillFromDir(RecordType rectype);
    41     void FillFromDir(RecordType rectype);
    42 
    42 
    43 	QPushButton *BtnBack;
    43     QPushButton *BtnBack;
    44 	QPushButton *BtnPlayDemo;
    44     QPushButton *BtnPlayDemo;
    45 	QPushButton *BtnRenameRecord;
    45     QPushButton *BtnRenameRecord;
    46 	QPushButton *BtnRemoveRecord;
    46     QPushButton *BtnRemoveRecord;
    47 	QListWidget *DemosList;
    47     QListWidget *DemosList;
    48 
    48 
    49 private:
    49 private:
    50 	RecordType recType;
    50     RecordType recType;
    51 
    51 
    52 private slots:
    52 private slots:
    53 	void renameRecord();
    53     void renameRecord();
    54 	void removeRecord();
    54     void removeRecord();
    55 };
    55 };
    56 
    56 
    57 
    57 
    58 #endif // PLAYRECORDPAGE_H
    58 #endif // PLAYRECORDPAGE_H