![]() |
VR-Forces Development_Version Class Documentation
|
Default type responsible for editing attribute with a set number of values. More...

Public Member Functions | |
| DtVisualizerAttributeComboEditor (DtDe &de, QWidget *parent) | |
| virtual void | setAttribute (const DtVisualizerDefinition *visDef, DtVisualizerAttribute *visAttr) |
| virtual void | commitValue () |
| Commit the value, calls commitValue with the current index. | |
Public Member Functions inherited from makVrv::DtVisualizerAttributeEditor | |
| DtVisualizerAttributeEditor (DtDe &de, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtVisualizerAttributeEditor () |
| DTOR. | |
| virtual void | setType (DtElementDefinitionTypeManager::ElementDefinitionType type) |
| Sets the type of the element definition. | |
| virtual bool | commited () const |
| Get if the editor was commmited. | |
| virtual bool | canceled () const |
| Get if the editor was canceled. | |
| virtual const TypeInfo & | typeInfo () const =0 |
Public Member Functions inherited from makVrv::DtVisualizerAttributeEditorInterface | |
| virtual | ~DtVisualizerAttributeEditorInterface () |
Protected Member Functions | |
| virtual void | setCurrentIndex (int index) |
| Call this from the setAttribute function to properly set the current value of the combo. | |
| virtual void | getValues (QStringList &values)=0 |
| This is called by the combo editor to get the possible values. | |
| virtual void | commitValue (int currentIndex, const QString &value)=0 |
| This is called by the combo editor to commit a particular value. | |
Protected Member Functions inherited from makVrv::DtVisualizerAttributeEditor | |
| virtual void | addCancelButton () |
| Adds a cancel button to the widget. | |
Protected Attributes | |
| QComboBox * | myEdit |
Protected Attributes inherited from makVrv::DtVisualizerAttributeEditor | |
| DtDe & | myDe |
| bool | myCommitedFlag |
| bool | myCancelFlag |
| DtElementDefinitionTypeManager::ElementDefinitionType | myType |
| const DtVisualizerDefinition * | myVisualizerDefinition |
| DtVisualizerAttribute * | myVisualizerAttribute |
| QPushButton * | myCancel |
Additional Inherited Members | |
Public Slots inherited from makVrv::DtVisualizerAttributeEditor | |
| virtual void | cancelValue () |
| virtual void | onPopup () |
| Utility function for displaying a popup. | |
Public Attributes inherited from makVrv::DtVisualizerAttributeEditorInterface | |
| boost::signal< void()> | signal_attributeValueChanged |
| Signal emitted if the editor changes the attribute's value. | |
| boost::signal< void()> | signal_cancel |
| Signal emitted if the editor changes the attribute's value. | |
| boost::signal< void(DtVisualizerAttributeEditorInterface *)> | signal_destroyed |
Default type responsible for editing attribute with a set number of values.
| makVrv::DtVisualizerAttributeComboEditor::DtVisualizerAttributeComboEditor | ( | DtDe & | de, |
| QWidget * | parent | ||
| ) |
|
virtual |
Reimplemented from makVrv::DtVisualizerAttributeEditor.
Reimplemented in makVrv::DtVisualizerAttributeTypeEditor, and makVrv::DtVisualizerAttributeBoolEditor.
|
virtual |
Commit the value, calls commitValue with the current index.
Reimplemented from makVrv::DtVisualizerAttributeEditor.
|
protectedvirtual |
Call this from the setAttribute function to properly set the current value of the combo.
|
protectedpure virtual |
This is called by the combo editor to get the possible values.
Implemented in makVrv::DtVisualizerAttributeTypeEditor, and makVrv::DtVisualizerAttributeBoolEditor.
|
protectedpure virtual |
This is called by the combo editor to commit a particular value.
Implemented in makVrv::DtVisualizerAttributeTypeEditor, and makVrv::DtVisualizerAttributeBoolEditor.
|
protected |