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