9 #include "fwGuiQt/config.hpp" 11 #include <fwGui/dialog/IMessageDialog.hpp> 34 ::fwGui::factory::New< MessageDialog > )
41 FWGUIQT_API virtual
void setTitle( const
std::
string& title ) override;
44 FWGUIQT_API virtual
void setMessage( const
std::
string& msg ) override;
47 FWGUIQT_API virtual
void setIcon( IMessageDialog::
Icons icon) override;
50 FWGUIQT_API virtual
void addButton( IMessageDialog::
Buttons button ) override;
53 FWGUIQT_API virtual
void addCustomButton(const
std::
string& label,
std::function<
void()> clickedFn) override;
56 FWGUIQT_API virtual
void setDefaultButton( IMessageDialog::
Buttons button ) override;
59 FWGUIQT_API virtual
Buttons show() override;
67 std::
string m_message;
79 QVector< QPushButton* > m_customButtons;
The namespace fwGui contains the base interface for IHM services.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
The namespace fwGuiQt contains classes which provide the implementation of the Gui using Qt library...
Defines the generic message box for IHM.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Defines the generic message box for IHM.