9 #include "fwGuiQt/config.hpp" 11 #include <fwGui/dialog/ISelectorDialog.hpp> 13 #include <QPushButton> 33 ::fwGui::factory::New< SelectorDialog > );
42 FWGUIQT_API
virtual void setSelections(std::vector< std::string > _selections)
override;
47 FWGUIQT_API
virtual void setTitle(std::string _title)
override;
52 FWGUIQT_API
virtual std::string show()
override;
55 FWGUIQT_API
virtual void setMessage(
const std::string& msg)
override;
58 FWGUIQT_API
virtual void addCustomButton(
const std::string& label, std::function<
void()> clickedFn)
override;
62 std::vector< std::string > m_selections;
65 std::string m_message;
69 QVector< QPushButton* > m_customButtons;
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...
ISelectorDialog allows the choice of an element among several (_selections)
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
SelectorDialog allowing the choice of an element among severals (_selections)