mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
4327030a8f
use bodymover, use bodyresizer,
19 lines
418 B
C++
19 lines
418 B
C++
#include "framelessform.h"
|
|
#include "ui_framelessform.h"
|
|
#include <qqtbodymover.h>
|
|
|
|
FramelessForm::FramelessForm ( QWidget* parent ) :
|
|
QWidget ( parent ),
|
|
ui ( new Ui::FramelessForm )
|
|
{
|
|
ui->setupUi ( this );
|
|
setWindowFlag(Qt::FramelessWindowHint, true);
|
|
QQtBodyMover* h = new QQtBodyMover ( this );
|
|
installEventFilter(h);
|
|
}
|
|
|
|
FramelessForm::~FramelessForm()
|
|
{
|
|
delete ui;
|
|
}
|