Older/WebApplication/Dialog.h
amass 30185e9ff1
All checks were successful
Deploy / Build (push) Successful in 4m27s
add login widget.
2024-11-19 23:39:40 +08:00

24 lines
519 B
C++

#ifndef __DIALOG_H__
#define __DIALOG_H__
#include <Wt/WContainerWidget.h>
#include <Wt/WMessageBox.h>
class Dialog : public Wt::WContainerWidget {
public:
Dialog();
protected:
void setStatus(const Wt::WString &result);
void messageBox1();
void messageBox2();
void messageBox3();
void messageBox4();
void custom();
void messageBoxDone(Wt::StandardButton result);
private:
Wt::WText *m_status = nullptr;
std::unique_ptr<Wt::WMessageBox> m_messageBox;
};
#endif // __DIALOG_H__