You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
447 B
C++
22 lines
447 B
C++
7 months ago
|
#include "SDFPDlg.h"
|
||
|
#include "ui_SDFPDlg.h"
|
||
|
|
||
|
SDFPDlg::SDFPDlg(QWidget *parent)
|
||
|
: QWidget(parent)
|
||
|
, ui(new Ui::SDFPDlg)
|
||
|
{
|
||
|
ui->setupUi(this);
|
||
|
QPalette palette;
|
||
|
//设置主窗口背景颜色
|
||
|
palette.setColor(QPalette::Window,QColor(50, 50, 50));
|
||
|
this->setPalette(palette);
|
||
|
//嵌入到主窗口
|
||
|
setWindowFlags(Qt::CustomizeWindowHint|Qt::FramelessWindowHint);
|
||
|
hide();
|
||
|
}
|
||
|
|
||
|
SDFPDlg::~SDFPDlg()
|
||
|
{
|
||
|
delete ui;
|
||
|
}
|