SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
ComboBoxSlotManager Class Reference
Inheritance diagram for ComboBoxSlotManager:
WidgetSlotManager

Public Types

typedef boost::function
< std::string(const QString &)> 
FromQStringConverter
 
typedef boost::function
< QString(const std::string &)> 
ToQStringConverter
 

Public Member Functions

 ComboBoxSlotManager (ModuleStateHandle state, ModuleDialogGeneric &dialog, const AlgorithmParameterName &stateKey, QComboBox *comboBox, FromQStringConverter fromLabelConverter=boost::bind(&QString::toStdString, _1), ToQStringConverter toLabelConverter=&QString::fromStdString)
 
 ComboBoxSlotManager (ModuleStateHandle state, ModuleDialogGeneric &dialog, const AlgorithmParameterName &stateKey, QComboBox *comboBox, const GuiStringTranslationMap &stringMap)
 
virtual void pull () override
 
virtual void pushImpl () override
 
- Public Member Functions inherited from WidgetSlotManager
 WidgetSlotManager (SCIRun::Dataflow::Networks::ModuleStateHandle state, ModuleDialogGeneric &dialog)
 
virtual ~WidgetSlotManager ()
 

Additional Inherited Members

- Public Slots inherited from WidgetSlotManager
void push ()
 
- Protected Attributes inherited from WidgetSlotManager
SCIRun::Dataflow::Networks::ModuleStateHandle state_
 
ModuleDialogGenericdialog_
 

Member Typedef Documentation

typedef boost::function<std::string(const QString&)> FromQStringConverter
typedef boost::function<QString(const std::string&)> ToQStringConverter

Constructor & Destructor Documentation

ComboBoxSlotManager ( ModuleStateHandle  state,
ModuleDialogGeneric dialog,
const AlgorithmParameterName stateKey,
QComboBox *  comboBox,
FromQStringConverter  fromLabelConverter = boost::bind(&QString::toStdString, _1),
ToQStringConverter  toLabelConverter = &QString::fromStdString 
)
inline
ComboBoxSlotManager ( ModuleStateHandle  state,
ModuleDialogGeneric dialog,
const AlgorithmParameterName stateKey,
QComboBox *  comboBox,
const GuiStringTranslationMap stringMap 
)
inline

Member Function Documentation

virtual void pull ( )
inlineoverridevirtual

Implements WidgetSlotManager.

virtual void pushImpl ( )
inlineoverridevirtual

Implements WidgetSlotManager.


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