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.
23 lines
498 B
C++
23 lines
498 B
C++
#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();
|
|
ui->label_version->setText(g_SoftwareVersion);
|
|
}
|
|
|
|
SDFPDlg::~SDFPDlg()
|
|
{
|
|
delete ui;
|
|
}
|