配置页面
This commit is contained in:
27
HPPA/setWindow.cpp
Normal file
27
HPPA/setWindow.cpp
Normal file
@ -0,0 +1,27 @@
|
||||
#include "setWindow.h"
|
||||
#include <QSvgRenderer>
|
||||
#include <QPainter>
|
||||
|
||||
setWindow::setWindow(QWidget* parent)
|
||||
{
|
||||
ui.setupUi(this);
|
||||
|
||||
//Qt::WindowFlags flags = 0;
|
||||
////flags |= Qt::WindowMinimizeButtonHint;
|
||||
//flags |= Qt::WindowCloseButtonHint;
|
||||
//flags |= Qt::MSWindowsFixedSizeDialogHint;
|
||||
//setWindowFlags(flags);
|
||||
setWindowFlags(Qt::FramelessWindowHint);
|
||||
|
||||
connect(this->ui.closeBtn, SIGNAL(released()), this, SLOT(onExit()));
|
||||
}
|
||||
|
||||
setWindow::~setWindow()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void setWindow::onExit()
|
||||
{
|
||||
this->close();
|
||||
}
|
||||
Reference in New Issue
Block a user