-
Notifications
You must be signed in to change notification settings - Fork 0
/
widget.h
39 lines (34 loc) · 969 Bytes
/
widget.h
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
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QMainWindow>
#include <QMenuBar>
#include<QDebug>
namespace Ui {
class Widget;
}
class Widget : public QMainWindow
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = 0);
~Widget();
QMenu *manegeMenu;//出售设备管理主菜单
QMenu *passwordMenu;//修改密码菜单
QAction *manageAction;
QAction *chartAction;
QAction *quitAction;//退出
private:
Ui::Widget *ui;
void creatMenuBar();
private slots:
void on_manegeMenu_clicked();
void on_chartAction_clicked();
void on_quitAction_clicked();
void on_comboBox_equipment_currentIndexChanged(const QString &arg1);
void on_comboBox_model_currentIndexChanged(const QString &arg1);
void on_spinBox_sellcount_valueChanged(int arg1);
void on_pushButton_clicked(bool checked);
void on_pushButton_2_clicked(bool checked);
};
#endif // WIDGET_H