Refactor dialog package.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user