fw4spl
fwGui::dialog::ISelectorDialog Class Referenceabstract

ISelectorDialog allows the choice of an element among several (_selections) More...

#include <ISelectorDialog.hpp>

+ Inheritance diagram for fwGui::dialog::ISelectorDialog:
+ Collaboration diagram for fwGui::dialog::ISelectorDialog:

Public Types

typedef std::string FactoryRegistryKeyType
 
- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWGUI_API ISelectorDialog ()
 Constructor builds a selector proposing a string list.
 
virtual FWGUI_API ~ISelectorDialog ()
 Destructor. Do nothing.
 
virtual FWGUI_API void setSelections (std::vector< std::string > _selections)=0
 The string list that can be chosen by the selector.
 
virtual FWGUI_API void setTitle (std::string _title)=0
 Sets the selector title.
 
virtual FWGUI_API std::string show ()=0
 Show the selector and return the selection.
 
virtual FWGUI_API void setMessage (const std::string &msg)=0
 Set the message.
 
virtual FWGUI_API void addCustomButton (const std::string &label, std::function< void()> clickedFn)=0
 Add a custom button to this dialog.
 
- Public Member Functions inherited from fwGui::GuiBaseObject
- Public Member Functions inherited from fwCore::BaseObject
virtual const std::string & getLeafClassname () const
 return object's classname without its namespace, i.e. BaseObject
 

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwGui::GuiBaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
- Static Public Member Functions inherited from fwCore::BaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Static Public Attributes

static FWGUI_API const FactoryRegistryKeyType REGISTRY_KEY = "::fwGui::dialog::SelectorDialog"
 this unique key should be used for all factory for specific Selector(qt,wx,...)
 

Demangling methods

virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 

Additional Inherited Members

- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 

Detailed Description

ISelectorDialog allows the choice of an element among several (_selections)

Definition at line 24 of file ISelectorDialog.hpp.


The documentation for this class was generated from the following files: