VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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.
- Public Member Functions inherited from makVrv::DtVisualizerAttributeComboEditor
 DtVisualizerAttributeComboEditor (DtDe &de, QWidget *parent)
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.
- Public Member Functions inherited from makVrv::DtVisualizerAttributeEditorInterface
virtual ~DtVisualizerAttributeEditorInterface ()

Static Public Member Functions

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

Protected Member Functions

virtual void commitValue (int index, const QString &value)
 This is called by the combo editor to commit a particular value.
virtual void getValues (QStringList &values)
 This is called by the combo editor to get the possible values.
- 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.
- Protected Member Functions inherited from makVrv::DtVisualizerAttributeEditor
virtual void addCancelButton ()
 Adds a cancel button to the widget.

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
- Protected Attributes inherited from makVrv::DtVisualizerAttributeComboEditor
QComboBoxmyEdit

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 Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)