-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathfrmoperateparentmsgbox.h
More file actions
40 lines (30 loc) · 891 Bytes
/
frmoperateparentmsgbox.h
File metadata and controls
40 lines (30 loc) · 891 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
#ifndef FRMOPERATEPARENTMSGBOX_H
#define FRMOPERATEPARENTMSGBOX_H
#include <QDialog>
#include "DATA/treeviewitem.h"
namespace Ui {
class FrmOperateParentMsgBox;
}
class FrmOperateParentMsgBox : public QDialog
{
Q_OBJECT
public:
explicit FrmOperateParentMsgBox(QWidget *parent = 0);
~FrmOperateParentMsgBox();
void SetMessage(const QString &msg, int type);
protected:
void mouseMoveEvent(QMouseEvent *e);
void mousePressEvent(QMouseEvent *e);
void mouseReleaseEvent(QMouseEvent *);
private slots:
void on_btnOk_clicked();
public slots:
//void serParentModel(TreeViewItem * model);
private:
Ui::FrmOperateParentMsgBox *ui;
QPoint mousePoint; //鼠标拖动自定义标题栏时的坐标
bool mousePressed; //鼠标是否按下
signals:
void sigoperate(QString name);
};
#endif // FRMOPERATEPARENTMSGBOX_H