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