1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
LibQQt/test/testmouselocker11/mainwidget.cpp

28 lines
694 B
C++
Raw Normal View History

2019-09-24 13:01:55 +08:00
#include <mainwidget.h>
#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 );
}
MainWidget::~MainWidget() {}