30 std::function<void()>
onOk = {};
std::string dontSaveText
text that is shown if we have changes but don't want to save them
Definition MRUISaveChangesPopup.h:22
std::string header
header that is used in dialog
Definition MRUISaveChangesPopup.h:28
std::string saveTooltip
Definition MRUISaveChangesPopup.h:24
std::string shortCloseText
text that is shown if we have nothing to save
Definition MRUISaveChangesPopup.h:20
std::string dontSaveTooltip
Definition MRUISaveChangesPopup.h:25
std::string cancelTooltip
Definition MRUISaveChangesPopup.h:26
std::function< void()> onOk
if not empty this function is called on "save" and "not save" options( if succeed )
Definition MRUISaveChangesPopup.h:30
MRVIEWER_API void saveChangesPopup(const char *str_id, const SaveChangesPopupSettings &settings={})
only for bindings generation
Definition MRCameraOrientationPlugin.h:8