#include <MRViewer/MRUISaveChangesPopup.h>
Public Attributes | |
| std::string | shortCloseText = _t( "Close" ) |
| text that is shown if we have nothing to save | |
| std::string | dontSaveText = _t( "Don't Save" ) |
| text that is shown if we have changes but don't want to save them | |
| std::string | saveTooltip = _t( "Save current scene" ) |
| std::string | dontSaveTooltip = _t( "Don't save current scene" ) |
| std::string | cancelTooltip = _t( "Cancel" ) |
| std::string | header |
| header that is used in dialog | |
| std::function< void()> | onOk = {} |
| if not empty this function is called on "save" and "not save" options( if succeed ) | |