使用DTK框架

This commit is contained in:
2024-01-22 22:51:31 +08:00
parent 8090ac0f8d
commit ea4e1d5da7
15 changed files with 195 additions and 11 deletions

20
messagebox.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef MESSAGEBOX_H
#define MESSAGEBOX_H
#include <DMainWindow>
#include <QObject>
#include <DWidget>
using namespace Dtk::Widget;
class MessageBox
{
//Q_OBJECT
public:
explicit MessageBox(DWidget *parent = nullptr);
void information(QString title, QString text);
private:
DWidget *parent;
signals:
};
#endif // MESSAGEBOX_H