Files
gcs-nf/App/ToolsUI/tools_Index1/tools_Index1.cpp
T

50 lines
705 B
C++
Raw Normal View History

#include "tools_Index1.h"
#include "ui_tools_Index1.h"
Tools_Index1::Tools_Index1(QWidget *parent) :
QWidget(parent),
ui(new Ui::Tools_Index1)
{
ui->setupUi(this);
//load qss
QFile file(":/qss/Setting.qss");
file.open(QFile::ReadOnly);
QTextStream filetext(&file);
QString stylesheet = filetext.readAll();
this->setStyleSheet(stylesheet);
file.close();
2020-08-01 10:53:17 +08:00
//scope = new Scope(this);
//scope->setGeometry(ui->frame->geometry());
//scope->show();
}
Tools_Index1::~Tools_Index1()
{
delete ui;
}
void Tools_Index1::resizeEvent(QResizeEvent *event)
{
Q_UNUSED(event)
2020-08-01 10:53:17 +08:00
//scope->setGeometry(ui->frame->geometry());
update();
}