![]() |
VR-Forces 4.0.4 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. | |
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 Attributes | |
| QComboBox * | myEdit |
Default type responsible for editing attribute with a set number of values.
| makVrv::DtVisualizerAttributeComboEditor::DtVisualizerAttributeComboEditor | ( | DtDe & | de, |
| QWidget * | parent | ||
| ) |
| virtual void makVrv::DtVisualizerAttributeComboEditor::setAttribute | ( | const DtVisualizerDefinition * | visDef, |
| DtVisualizerAttribute * | visAttr | ||
| ) | [virtual] |
Reimplemented from makVrv::DtVisualizerAttributeEditor.
Reimplemented in makVrv::DtVisualizerAttributeTypeEditor, and makVrv::DtVisualizerAttributeBoolEditor.
| virtual void makVrv::DtVisualizerAttributeComboEditor::commitValue | ( | ) | [virtual] |
Commit the value, calls commitValue with the current index.
Reimplemented from makVrv::DtVisualizerAttributeEditor.
| virtual void makVrv::DtVisualizerAttributeComboEditor::setCurrentIndex | ( | int | index | ) | [protected, virtual] |
Call this from the setAttribute function to properly set the current value of the combo.
| virtual void makVrv::DtVisualizerAttributeComboEditor::getValues | ( | QStringList & | values | ) | [protected, pure virtual] |
This is called by the combo editor to get the possible values.
Implemented in makVrv::DtVisualizerAttributeTypeEditor, and makVrv::DtVisualizerAttributeBoolEditor.
| virtual void makVrv::DtVisualizerAttributeComboEditor::commitValue | ( | int | currentIndex, |
| const QString & | value | ||
| ) | [protected, pure virtual] |
This is called by the combo editor to commit a particular value.
Implemented in makVrv::DtVisualizerAttributeTypeEditor, and makVrv::DtVisualizerAttributeBoolEditor.