VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtUiDIGuyElement Class Reference
Inheritance diagram for DtUiDIGuyElement:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtUiDIGuyElement (const DtString &name, DtReaderWriterRegistry *const parentRegistry=NULL)
 Constructor.
virtual ~DtUiDIGuyElement ()
 Destructor.
 DtUiDIGuyElement (const DtUiDIGuyElement &orig)
 Copy constructor.
DtUiDIGuyElementoperator= (const DtUiDIGuyElement &orig)
 Assignment operator.
virtual QWidgetcreateLabelWidget (QWidget *parent)
 Create and return the label widget for this element.
virtual QWidgetcreateControls (QWidget *)
 Creates and returns the non-label part of the element.
virtual void processUiEvent (const DtUiElementEvent &e)
 Process ui event. Default does nothing.

Protected Member Functions

virtual DtUiElementclone ()
virtual void decorateElement ()
 Sets element decoration depending on the isModified state of the element.
virtual void setFromParameters (DtReaderWriter *parentRw)
virtual void elementChanged ()
virtual void setModified (QLabel *, bool)
virtual bool isModified () const
virtual void updateRandomAppearanceList (bool useRandom)
 Updates the list of appearances to use for the random choice if Using the random appearance option.
virtual void updateAppearance (bool useRandom)

Protected Attributes

DtDIGuyConfigurationWidgetmyDIGuyWidget
bool myEnabledFlag
DtVrfObjectParametersmyParameters

Constructor & Destructor Documentation

DtUiDIGuyElement::DtUiDIGuyElement ( const DtString name,
DtReaderWriterRegistry *const  parentRegistry = NULL 
)

Constructor.

virtual DtUiDIGuyElement::~DtUiDIGuyElement ( ) [virtual]

Destructor.

Copy constructor.


Member Function Documentation

DtUiDIGuyElement& DtUiDIGuyElement::operator= ( const DtUiDIGuyElement orig)

Assignment operator.

virtual QWidget* DtUiDIGuyElement::createLabelWidget ( QWidget parent) [inline, virtual]

Create and return the label widget for this element.

May return NULL if not special label element is needed.

Reimplemented from DtUiElement.

virtual QWidget* DtUiDIGuyElement::createControls ( QWidget parent) [virtual]

Creates and returns the non-label part of the element.

Reimplemented from DtUiElement.

virtual void DtUiDIGuyElement::processUiEvent ( const DtUiElementEvent ) [virtual]

Process ui event. Default does nothing.

Reimplemented from DtUiElement.

virtual DtUiElement* DtUiDIGuyElement::clone ( ) [protected, virtual]

Implements DtUiElement.

virtual void DtUiDIGuyElement::decorateElement ( ) [protected, virtual]

Sets element decoration depending on the isModified state of the element.

This version changes myLabel font.

Reimplemented from DtUiElement.

virtual void DtUiDIGuyElement::setFromParameters ( DtReaderWriter parentRw) [protected, virtual]

Reimplemented from DtUiElement.

virtual void DtUiDIGuyElement::elementChanged ( ) [protected, virtual]

Reimplemented from DtUiElement.

virtual void DtUiDIGuyElement::setModified ( QLabel ,
bool   
) [protected, virtual]
virtual bool DtUiDIGuyElement::isModified ( ) const [protected, virtual]

Reimplemented from DtUiElement.

virtual void DtUiDIGuyElement::updateRandomAppearanceList ( bool  useRandom) [protected, virtual]

Updates the list of appearances to use for the random choice if Using the random appearance option.

virtual void DtUiDIGuyElement::updateAppearance ( bool  useRandom) [protected, virtual]

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)