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.
AppFlow/GUIWidget/PropertyEmptyWidget.cpp

23 lines
474 B
C++

#include "PropertyEmptyWidget.h"
#include "ui_PropertyEmptyWidget.h"
namespace GUI
{
// 构造函数
PropertyEmptyWidget::PropertyEmptyWidget(MainWindow* mainWindow, QString tip)
: PropertyChildWidgetBase(mainWindow), m_Ui(new Ui::PropertyEmptyWidget)
{
m_Ui->setupUi(this);
setTip(tip);
}
// 析构函数
PropertyEmptyWidget::~PropertyEmptyWidget()
{
delete m_Ui;
}
void PropertyEmptyWidget::setTip(QString info)
{
m_Ui->lb_tip->setText(info);
}
}