Alert Dialog
This commit is contained in:
23
src/AlertDialog.h
Normal file
23
src/AlertDialog.h
Normal file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// 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);
|
||||
protected:
|
||||
bool updateReferenceData() override{return true;}
|
||||
|
||||
private:
|
||||
QLabel* lbl_msg;
|
||||
};
|
||||
|
||||
|
||||
#endif //GUI_ALERTDIALOG_H
|
||||
Reference in New Issue
Block a user