2019-09-24 13:01:55 +08:00
|
|
|
|
#include <mainwidget.h>
|
2019-08-24 09:01:56 +08:00
|
|
|
|
#if 0
|
|
|
|
|
#include <qqtframemouselocker.h>
|
|
|
|
|
|
|
|
|
|
MainWidget::MainWidget ( QWidget* parent ) : QWidget ( parent )
|
|
|
|
|
{
|
|
|
|
|
//用户设置 - UI中
|
|
|
|
|
//setMouseTracking ( true );
|
|
|
|
|
QQtFrameMouseLocker* helper = new QQtFrameMouseLocker ( this );
|
|
|
|
|
this->installEventFilter ( helper );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
MainWidget::~MainWidget() {}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include <qqtmouselocker.h>
|
|
|
|
|
|
|
|
|
|
MainWidget::MainWidget ( QWidget* parent ) : QWidget ( parent )
|
|
|
|
|
{
|
|
|
|
|
//用户设置 - UI中
|
|
|
|
|
//setMouseTracking ( true );
|
2019-09-24 13:01:55 +08:00
|
|
|
|
//QQtMouseLocker* helper = new QQtMouseLocker ( this );
|
|
|
|
|
//this->installEventFilter ( helper );
|
|
|
|
|
//helper->lockWindow ( this );
|
2019-08-24 09:01:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
MainWidget::~MainWidget() {}
|