basicsettingwindow.h 581 Bytes
#ifndef BASICSETTINGWINDOW_H
#define BASICSETTINGWINDOW_H

#include <QMainWindow>

namespace Ui {
class BasicSettingWindow;
}

class BasicSettingWindow : public QMainWindow
{
    Q_OBJECT

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

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

private:
    Ui::BasicSettingWindow *ui;

    QWidget *pushed = NULL;

    void onEncoderLeft();
    void onEncoderRight();
    void onEncoderClicked(QWidget *clicked);
};

#endif // BASICSETTINGWINDOW_H