VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions
makVrv::DtVisualizerAttributeBoolEditor Class Reference

Default type responsible for editing unknown attribute name/types. More...

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

Public Member Functions

 DtVisualizerAttributeBoolEditor (DtDe &de, QWidget *parent)
 
virtual void setAttribute (const DtVisualizerDefinition *visDef, DtVisualizerAttribute *visAttr)
 
virtual const TypeInfotypeInfo () const
 Get this instance's type info. More...
 
- Public Member Functions inherited from makVrv::DtVisualizerAttributeComboEditor
 DtVisualizerAttributeComboEditor (DtDe &de, QWidget *parent)
 
virtual void commitValue ()
 Commit the value, calls commitValue with the current index. More...
 
- Public Member Functions inherited from makVrv::DtVisualizerAttributeEditor
 DtVisualizerAttributeEditor (DtDe &de, QWidget *parent)
 CTOR. More...
 
virtual ~DtVisualizerAttributeEditor ()
 DTOR. More...
 
virtual void setType (DtElementDefinitionTypeManager::ElementDefinitionType type)
 Sets the type of the element definition. More...
 
virtual bool commited () const
 Get if the editor was commmited. More...
 
virtual bool canceled () const
 Get if the editor was canceled. More...
 
- Public Member Functions inherited from makVrv::DtVisualizerAttributeEditorInterface
virtual ~DtVisualizerAttributeEditorInterface ()
 

Static Public Member Functions

static const TypeInfotheTypeInfo ()
 Get this class's type info. More...
 

Protected Member Functions

virtual void commitValue (int index, const QString &value)
 This is called by the combo editor to commit a particular value. More...
 
virtual void getValues (QStringList &values)
 This is called by the combo editor to get the possible values. More...
 
- Protected Member Functions inherited from makVrv::DtVisualizerAttributeComboEditor
virtual void setCurrentIndex (int index)
 Call this from the setAttribute function to properly set the current value of the combo. More...
 
- Protected Member Functions inherited from makVrv::DtVisualizerAttributeEditor
virtual void addCancelButton ()
 Adds a cancel button to the widget. More...
 

Additional Inherited Members

- Public Slots inherited from makVrv::DtVisualizerAttributeEditor
virtual void cancelValue ()
 
virtual void onPopup ()
 Utility function for displaying a popup. More...
 
- Public Attributes inherited from makVrv::DtVisualizerAttributeEditorInterface
boost::signal< void(const
DtUnicode &original)> 
signal_attributeValueChanged
 Signal emitted if the editor changes the attribute's value. More...
 
boost::signal< void()> signal_cancel
 Signal emitted if the editor changes the attribute's value. More...
 
boost::signal< void(DtVisualizerAttributeEditorInterface *)> signal_destroyed
 
- Protected Attributes inherited from makVrv::DtVisualizerAttributeComboEditor
QComboBoxmyEdit
 
- Protected Attributes inherited from makVrv::DtVisualizerAttributeEditor
DtDemyDe
 
bool myCommitedFlag
 
bool myCancelFlag
 
DtElementDefinitionTypeManager::ElementDefinitionType myType
 
const DtVisualizerDefinitionmyVisualizerDefinition
 
DtVisualizerAttributemyVisualizerAttribute
 
QPushButtonmyCancel
 

Detailed Description

Default type responsible for editing unknown attribute name/types.

Constructor & Destructor Documentation

makVrv::DtVisualizerAttributeBoolEditor::DtVisualizerAttributeBoolEditor ( DtDe de,
QWidget *  parent 
)

Member Function Documentation

virtual void makVrv::DtVisualizerAttributeBoolEditor::setAttribute ( const DtVisualizerDefinition visDef,
DtVisualizerAttribute visAttr 
)
virtual
virtual const TypeInfo& makVrv::DtVisualizerAttributeBoolEditor::typeInfo ( ) const
virtual

Get this instance's type info.

Implements makVrv::DtVisualizerAttributeEditor.

static const TypeInfo& makVrv::DtVisualizerAttributeBoolEditor::theTypeInfo ( )
static

Get this class's type info.

virtual void makVrv::DtVisualizerAttributeBoolEditor::commitValue ( int  currentIndex,
const QString &  value 
)
protectedvirtual

This is called by the combo editor to commit a particular value.

Implements makVrv::DtVisualizerAttributeComboEditor.

virtual void makVrv::DtVisualizerAttributeBoolEditor::getValues ( QStringList &  values)
protectedvirtual

This is called by the combo editor to get the possible values.

Implements makVrv::DtVisualizerAttributeComboEditor.


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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)