File arrangement

This commit is contained in:
Krad
2022-02-14 11:40:40 +08:00
parent 5dafb1e816
commit 73cd96333d
61 changed files with 32 additions and 32 deletions

25
src/dialogs/AlertDialog.h Normal file
View File

@@ -0,0 +1,25 @@
//
// Created by Krad on 2021/12/8.
//
#ifndef GUI_ALERTDIALOG_H
#define GUI_ALERTDIALOG_H
class QLabel;
#include "GUIFormBaseDialog.h"
class AlertDialog :public GUIFormBaseDialog{
Q_OBJECT
public:
explicit AlertDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
~AlertDialog();
void setAlertMessage(const QString& msg);
void setTitle(const QString& msg);
protected:
bool updateReferenceData() override{return true;}
private:
QLabel* lbl_msg;
QLabel* lbl_title;
};
#endif //GUI_ALERTDIALOG_H