配置页面

This commit is contained in:
tangchao0503
2026-04-01 15:55:42 +08:00
parent 7e119fbf91
commit 50989bcd5b
8 changed files with 363 additions and 2 deletions

27
HPPA/setWindow.cpp Normal file
View 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();
}