优化对话框

This commit is contained in:
2024-01-28 22:08:26 +08:00
parent d067983c0d
commit 6d8e706e39
7 changed files with 116 additions and 22 deletions

View File

@@ -4,14 +4,16 @@
#include <DMainWindow>
#include <QObject>
#include <DWidget>
using namespace Dtk::Widget;
DWIDGET_USE_NAMESPACE
class MessageBox
{
//Q_OBJECT
public:
explicit MessageBox(DWidget *parent = nullptr);
void information(QString title, QString text);
void critical(QString title, QString text);
private:
void ShowMessageBox(QString iconPath, QString title, QString text);
DWidget *parent;
signals: