Older/WebApplication/Dialog.h
amass 3630721e63
All checks were successful
Deploy / PullDocker (push) Successful in 6s
Deploy / Build (push) Successful in 2m23s
add dialog example.
2024-10-31 23:30:34 +08:00

22 lines
470 B
C++

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