9 #include "fwGui/config.hpp" 10 #include "fwGui/GuiBaseObject.hpp" 54 FWGUI_API
virtual ~IMessageDialog();
56 typedef std::string FactoryRegistryKeyType;
57 FWGUI_API
static const FactoryRegistryKeyType REGISTRY_KEY;
60 FWGUI_API
virtual void setTitle(
const std::string& title) = 0;
63 FWGUI_API
virtual void setMessage(
const std::string& msg) = 0;
66 FWGUI_API
virtual void setIcon( Icons icon) = 0;
69 FWGUI_API
virtual void addButton(Buttons button ) = 0;
72 FWGUI_API
virtual void setDefaultButton(Buttons button) = 0;
75 FWGUI_API
virtual void addCustomButton(
const std::string& label, std::function<
void()> clickedFn) = 0;
78 FWGUI_API
virtual Buttons show() = 0;
#define fwCoreNonInstanciableClassDefinitionsMacro(_classinfo_)
Generate common code for Non Instanciable classes (Interfaces, Abstract classes, ...)
The namespace fwGui contains the base interface for IHM services.
Defines the generic message box for IHM.
Base class for all fwGui's classes.