9 #include "fwGui/config.hpp" 10 #include "fwGui/dialog/ISelectorDialog.hpp" 37 FWGUI_API static
std::
string showSelectorDialog(const
std::
string& title, const
std::
string& message,
38 std::vector<
std::
string > _selections);
44 FWGUI_API
void create();
53 FWGUI_API SelectorDialog(const
std::
string& title, const
std::
string& message,
54 std::vector<
std::
string > _selections);
57 FWGUI_API
void setTitle(
std::
string title) override;
60 FWGUI_API virtual
void setSelections(
std::vector<
std::
string > _selections) override;
63 FWGUI_API
std::
string show() override;
66 FWGUI_API virtual
void setMessage(const
std::
string& msg) override;
69 FWGUI_API virtual
void addCustomButton(const
std::
string& label,
std::function<
void()> clickedFn) override;
The namespace fwGui contains the base interface for IHM services.
SelectorDialog allows the choice of an element among several (_selections) Use the Delegate design pa...
ISelectorDialog allows the choice of an element among several (_selections)
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.