Older/WebApplication/Dialog.h

24 lines
519 B
C
Raw Permalink Normal View History

2024-10-31 23:30:34 +08:00
#ifndef __DIALOG_H__
#define __DIALOG_H__
#include <Wt/WContainerWidget.h>
2024-11-19 23:39:40 +08:00
#include <Wt/WMessageBox.h>
2024-10-31 23:30:34 +08:00
class Dialog : public Wt::WContainerWidget {
public:
Dialog();
protected:
void setStatus(const Wt::WString &result);
void messageBox1();
void messageBox2();
void messageBox3();
2024-11-01 19:05:20 +08:00
void messageBox4();
void custom();
2024-10-31 23:30:34 +08:00
void messageBoxDone(Wt::StandardButton result);
private:
Wt::WText *m_status = nullptr;
std::unique_ptr<Wt::WMessageBox> m_messageBox;
};
#endif // __DIALOG_H__