VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtVisualizerAttributeComboEditor Class Reference

Default type responsible for editing attribute with a set number of values. More...

Inheritance diagram for makVrv::DtVisualizerAttributeComboEditor:
Inheritance graph
[legend]

List of all members.

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

QComboBoxmyEdit

Detailed Description

Default type responsible for editing attribute with a set number of values.


Constructor & Destructor Documentation


Member Function Documentation

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.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)