1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
LibQQt/test/testbodyresizer/mainwidget.cpp
tianduanrui 61f1dae97b add qqtbodymover.
press on window body and move window.
support: windows \ unix \ linux \ e-linux
2019-08-25 11:14:05 +08:00

14 lines
318 B
C++

#include <mainwidget.h>
#include <qqtbodymover.h>
MainWidget::MainWidget ( QWidget* parent ) : QWidget ( parent )
{
//用户设置 - UI中
//setMouseTracking ( true );
QQtBodyMover* helper = new QQtBodyMover ( this );
this->installEventFilter ( helper );
}
MainWidget::~MainWidget() {}