#ifndef CONFIGDEMOMODEDLG_H #define CONFIGDEMOMODEDLG_H #include #include #include #include namespace Ui { class ConfigDemoModeDlg; } class ConfigDemoModeDlg : public QDialog { Q_OBJECT void reloadUi(void); public: explicit ConfigDemoModeDlg(QWidget *parent = 0); ~ConfigDemoModeDlg(); private slots: void on_ctrBtnOk_clicked(); void on_ctrBtnCancel_clicked(); void onConfigBtnClicked(const int sel); private: Ui::ConfigDemoModeDlg *ui; QSignalMapper *m_pSignalMapper; int m_nCurSel; QVector m_vectorTabOrder; protected: void keyReleaseEvent(QKeyEvent* event); void keyPressEvent(QKeyEvent* event); }; #endif // CONFIGDEMOMODEDLG_H