electricmodelsettingwindow.h
916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef ELECTRICMODELSETTINGWINDOW_H
#define ELECTRICMODELSETTINGWINDOW_H
#include <QMainWindow>
#include <QPushButton>
#include <QKeyEvent>
#include <QVector>
#include "config.h"
namespace Ui {
class ElectricModelSettingWindow;
}
class ElectricModelSettingWindow : public QMainWindow
{
Q_OBJECT
public:
explicit ElectricModelSettingWindow(QWidget *parent = 0);
~ElectricModelSettingWindow();
protected:
void keyPressEvent(QKeyEvent *event);
void keyReleaseEvent(QKeyEvent *event);
private slots:
void setModel(Define::model_type model);
void on_e10Button_clicked();
void on_e20Button_clicked();
void on_e24Button_clicked();
void on_e40Button_clicked();
void on_backButton_clicked();
private:
Ui::ElectricModelSettingWindow *ui;
int selitem;
QWidget *pushed = NULL;
QVector<QWidget*> m_vectorTabOrder;
};
#endif // ELECTRICMODELSETTINGWINDOW_H