-
Notifications
You must be signed in to change notification settings - Fork 55
/
about_us.h
59 lines (47 loc) · 1.34 KB
/
about_us.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef ABOUTUS_H
#define ABOUTUS_H
#include <QtGui>
#include <QDialog>
#include <QLabel>
#include <QHBoxLayout>
#include <QLineEdit>
#include "push_button.h"
class AboutUsDialog : public QDialog
{
Q_OBJECT
public:
explicit AboutUsDialog(QWidget *parent = 0,int index = 0,QString = "");
~AboutUsDialog();
void translateLanguage();
protected:
void mousePressEvent(QMouseEvent *event);
void mouseReleaseEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);
void paintEvent(QPaintEvent *event);
private:
int index;
QString name;
QPoint move_point; //移动的距离
bool mouse_press; //按下鼠标左键
QLabel *title_label; //标题
QLabel *title_icon_label; //标题图标
QLabel *title_info_label; //360安全卫士
QLabel *info_label; //杀木马、防盗号、电脑加速
QLabel *version_label; //主程序版本
QLabel *mummy_label; //备用木马库
QLabel *copyright_label; //版本信息
QLabel *icon_label; //图标
PushButton *close_button; //关闭按钮
QPushButton *ok_button; //确定按钮
QLineEdit *E_name;
QLineEdit *E_Price;
QLineEdit *E_amount;
QLineEdit *E_person;
QLineEdit *E_sign;
QLineEdit *E_remark;
signals:
void setinput(QStringList,int);
private slots:
void getinput();
};
#endif //ABOUTUS_H