fix: Alert dialog render bug

This commit is contained in:
chenhuijun
2024-07-19 16:09:19 +08:00
parent d9b903e1e3
commit 3cd25d8fbc
6 changed files with 59 additions and 4 deletions

View File

@@ -8,6 +8,8 @@ public:
explicit AlertDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
~AlertDialog() override = default;
void setAlertMessage(const QString& msg);
void setAlertMessage(const QString& aFormat,const QString& aValue);
void setTitle(const QString& msg);
protected:
bool updateReferenceData() override{return true;}