7 #include "fwGui/dialog/MultiSelectorDialog.hpp" 9 #include <fwServices/registry/ActiveWorkers.hpp> 22 m_implementation = ::fwGui::dialog::IMultiSelectorDialog::dynamicCast(guiObj);
32 m_implementation->setTitle(title);
40 typedef IMultiSelectorDialog::Selections R;
54 m_implementation->setSelections( _selections );
64 m_implementation->setMessage( msg );
The namespace fwGui contains the base interface for IHM services.
virtual FWGUI_API Selections show()=0
Show the selector and return the selection.
FWGUI_API void setTitle(std::string title) override
Sets the selector title.
FWGUI_API Selections show() override
Show the selector and return the selection.
static FWGUI_API const FactoryRegistryKeyType REGISTRY_KEY
this unique key should be used for all factory for specific Selector(qt,wx,...)
static FWSERVICES_API::fwThread::Worker::sptr getDefaultWorker()
Get the default registered worker.
FWGUI_API MultiSelectorDialog()
will instanciate the concrete implementation
virtual FWGUI_API void setMessage(const std::string &msg) override
Set the message.
virtual FWGUI_API void setSelections(Selections _selections) override
Set the string list that can be chosen by the selector.