Refactor dialog package.

This commit is contained in:
Krad
2022-06-13 11:21:44 +08:00
parent 9a233251dc
commit 69a506ff94
27 changed files with 870 additions and 828 deletions

View File

@@ -10,15 +10,15 @@ class AlertDialog :public GUIFormBaseDialog{
Q_OBJECT
public:
explicit AlertDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
~AlertDialog();
~AlertDialog() override = default;
void setAlertMessage(const QString& msg);
void setTitle(const QString& msg);
protected:
bool updateReferenceData() override{return true;}
private:
QLabel* lbl_msg;
QLabel* lbl_title;
QLabel* mLblMsg;
QLabel* mLblTitle;
};