31 lines
451 B
C++
31 lines
451 B
C++
#include "CommandUI.h"
|
|
#include "ui_CommandUI.h"
|
|
|
|
CommandUI::CommandUI(QWidget *parent) :
|
|
QWidget(parent),
|
|
ui(new Ui::CommandUI)
|
|
{
|
|
ui->setupUi(this);
|
|
|
|
//load qss
|
|
QFile file(":/qss/CommandUI.qss");
|
|
file.open(QFile::ReadOnly);
|
|
QTextStream filetext(&file);
|
|
QString stylesheet = filetext.readAll();
|
|
this->setStyleSheet(stylesheet);
|
|
file.close();
|
|
|
|
|
|
//load json
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
CommandUI::~CommandUI()
|
|
{
|
|
delete ui;
|
|
}
|