configbacklightdlg.h 741 Bytes
#ifndef CONFIGBACKLIGHTDLG_H
#define CONFIGBACKLIGHTDLG_H

#include <QDialog>
#include <QKeyEvent>
#include <QVector>

namespace Ui {
class ConfigBackLightDlg;
}

class ConfigBackLightDlg : public QDialog
{
    Q_OBJECT

public:
    explicit ConfigBackLightDlg(QWidget *parent = 0);
    ~ConfigBackLightDlg();

private slots:
    void on_ctrBtnOk_clicked();

    void on_ctrBtnCancel_clicked();

    void on_pushButton_clicked();

    void on_ctrBtnPlus_clicked();

    void on_ctrBtnMinus_clicked();

protected:
    void keyReleaseEvent(QKeyEvent* event);
    void keyPressEvent(QKeyEvent* event);

private:
    Ui::ConfigBackLightDlg *ui;
    int m_nSelBackLight;
    QVector<QWidget*> m_vectorTabOrder;
};

#endif // CONFIGBACKLIGHTDLG_H