#ifndef FUNCTIONTESTWINDOW_H #define FUNCTIONTESTWINDOW_H #include #include namespace Ui { class FunctionTestWindow; } class FunctionTestWindow : public QMainWindow { Q_OBJECT public: explicit FunctionTestWindow(QWidget *parent = 0); ~FunctionTestWindow(); protected: void keyPressEvent(QKeyEvent *event); void keyReleaseEvent(QKeyEvent *event); private slots: void on_burnerTestButton_clicked(); void on_componentTestButton_clicked(); void on_valveTestButton_clicked(); void on_washTestButton_clicked(); void on_fanTestButton_clicked(); void on_gasTestButton_clicked(); private: Ui::FunctionTestWindow *ui; QWidget *pushed = NULL; void onEncoderLeft(); void onEncoderRight(); void onEncoderClicked(QWidget *clicked); }; #endif // FUNCTIONTESTWINDOW_H