-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathfrmedituserpwd.h
More file actions
44 lines (40 loc) · 976 Bytes
/
Copy pathfrmedituserpwd.h
File metadata and controls
44 lines (40 loc) · 976 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
#ifndef FRMEDITUSERPWD_H
#define FRMEDITUSERPWD_H
#include <QDialog>
#include "../iconhelper.h"
#include "../myhelper.h"
#include "./User/userinfo.h"
namespace Ui {
class FrmEditUserPwd;
}
class FrmEditUserPwd : public QDialog
{
Q_OBJECT
public:
explicit FrmEditUserPwd(QWidget *parent = 0);
~FrmEditUserPwd();
void setCurrentUser(UserInfo *user);
void InitDisplay();
protected:
bool eventFilter(QObject *obj, QEvent *event);
void mouseMoveEvent(QMouseEvent *e);
void mousePressEvent(QMouseEvent *e);
void mouseReleaseEvent(QMouseEvent *);
private:
Ui::FrmEditUserPwd *ui;
QPoint mousePoint;
bool mousePressed;
bool max;
QRect location;
UserInfo *currentUser;
void InitStyle();
signals:
void sigUpdateUserpwd();
private slots:
void on_btnMenu_Close_clicked();
void on_btnMenu_Max_clicked();
void on_btnMenu_Min_clicked();
void btnOK();
void btnCancel();
};
#endif // FRMEDITUSERPWD_H