mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
61f1dae97b
press on window body and move window. support: windows \ unix \ linux \ e-linux
14 lines
318 B
C++
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() {}
|