更新代码
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,4 +1,5 @@
|
|||||||
#include "framelesswidget2.h"
|
#include "framelesswidget2.h"
|
||||||
|
#include "qapplication.h"
|
||||||
#include "qevent.h"
|
#include "qevent.h"
|
||||||
#include "qdebug.h"
|
#include "qdebug.h"
|
||||||
|
|
||||||
@@ -7,7 +8,7 @@ FramelessWidget2::FramelessWidget2(QObject *parent) : QObject(parent)
|
|||||||
padding = 8;
|
padding = 8;
|
||||||
moveEnable = true;
|
moveEnable = true;
|
||||||
resizeEnable = true;
|
resizeEnable = true;
|
||||||
widget = 0;
|
widget = NULL;
|
||||||
|
|
||||||
mousePressed = false;
|
mousePressed = false;
|
||||||
mousePoint = QPoint(0, 0);
|
mousePoint = QPoint(0, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user