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

List of all members.

Public Member Functions

 DtUiMultiSystemElement (const DtString &name, DtReaderWriterRegistry *const parentRegistry=NULL)
 Constructor.
virtual ~DtUiMultiSystemElement ()
 Destructor.
 DtUiMultiSystemElement (const DtUiMultiSystemElement &orig)
 Copy constructor.
DtUiMultiSystemElementoperator= (const DtUiMultiSystemElement &orig)
 Assignment operator.
virtual void chooseSystemToAdd ()
 Brings up the Add System dialog and starts the system adding process.
virtual void addSystem (const DtSystemDefinitionInfo &sysDefInfo)
 Adds the system specified in the sysDefInfo to the entity parameters.
virtual void removeSystem ()
 Removes the currently selected system from the entity.
virtual void openPropertyEditWindow ()
virtual bool isModified () const
virtual void decorateElement ()
 Sets element decoration depending on the isModified state of the element.
virtual void onSelectionChanged ()
 Called each time the list selection changes.

Protected Types

typedef std::list
< DtComponentSystemDescriptor * > 
DtSystemDescriptorList

Protected Member Functions

virtual void setFromParameters (DtReaderWriter *parentRw)
virtual
DtReaderWriterRegistryData
value (DtReaderWriter *parentRw)
 Seeds myValue and myBackupValue if not set.
virtual void processUiEvent (const DtUiElementEvent &)
 Process ui event. Default does nothing.
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 createSystemSignalHandler ()
virtual void elementChanged ()
virtual QString uniqueDisplayName (const QString &baseName)
virtual DtSystemSelectionDialogcreateSystemSelectionDialog (QWidget *p)
virtual QString getOpdEditorArguments () const
 Add system to select.
virtual void dialogDone (bool)
virtual DtUiElementclone ()

Protected Attributes

DtSystemPropertyEditDialogShdPtr myCurrentDialog
QListWidget * myList
QAbstractButton * myAddButton
QAbstractButton * myRemoveButton
QAbstractButton * myPropertiesButton
QAbstractButton * myLaunchOpdEditor
DtSystemDescriptorList mySystemDescriptors
 Keeps pointers to all the system descriptors in the parameter list that are managed by this UI Element.
QFramemyFrame
QLabelmyLabel

Member Typedef Documentation


Constructor & Destructor Documentation

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

Constructor.

Destructor.

Copy constructor.


Member Function Documentation

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

Assignment operator.

virtual void DtUiMultiSystemElement::chooseSystemToAdd ( ) [virtual]

Brings up the Add System dialog and starts the system adding process.

virtual void DtUiMultiSystemElement::addSystem ( const DtSystemDefinitionInfo sysDefInfo) [virtual]

Adds the system specified in the sysDefInfo to the entity parameters.

virtual void DtUiMultiSystemElement::removeSystem ( ) [virtual]

Removes the currently selected system from the entity.

Reimplemented from DtUiSystemElement.

virtual bool DtUiMultiSystemElement::isModified ( ) const [virtual]

Reimplemented from DtUiSystemElement.

virtual void DtUiMultiSystemElement::decorateElement ( ) [virtual]

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

This version changes myLabel font.

Reimplemented from DtUiElement.

virtual void DtUiMultiSystemElement::onSelectionChanged ( ) [virtual]

Called each time the list selection changes.

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

Reimplemented from DtUiSystemElement.

virtual DtReaderWriterRegistryData* DtUiMultiSystemElement::value ( DtReaderWriter parentRw) [protected, virtual]

Seeds myValue and myBackupValue if not set.

Returns myValue based on myReaderWriterName

Reimplemented from DtUiSystemElement.

virtual void DtUiMultiSystemElement::processUiEvent ( const DtUiElementEvent ) [protected, virtual]

Process ui event. Default does nothing.

Reimplemented from DtUiElement.

virtual QWidget* DtUiMultiSystemElement::createLabelWidget ( QWidget parent) [inline, protected, 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* DtUiMultiSystemElement::createControls ( QWidget parent) [protected, virtual]

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

Reimplemented from DtUiElement.

virtual void DtUiMultiSystemElement::createSystemSignalHandler ( ) [protected, virtual]

Reimplemented from DtUiSystemElement.

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

Reimplemented from DtUiElement.

virtual QString DtUiMultiSystemElement::uniqueDisplayName ( const QString &  baseName) [protected, virtual]
Returns:
A name based on baseName that is not already used in the list.
virtual QString DtUiMultiSystemElement::getOpdEditorArguments ( ) const [protected, virtual]

Add system to select.

Reimplemented from DtUiSystemElement.

virtual void DtUiMultiSystemElement::dialogDone ( bool  ) [protected, virtual]

Reimplemented from DtUiSystemElement.

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

Reimplemented from DtUiSystemElement.


Member Data Documentation

QListWidget* DtUiMultiSystemElement::myList [protected]
QAbstractButton* DtUiMultiSystemElement::myAddButton [protected]
QAbstractButton* DtUiMultiSystemElement::myRemoveButton [protected]
QAbstractButton* DtUiMultiSystemElement::myPropertiesButton [protected]
QAbstractButton* DtUiMultiSystemElement::myLaunchOpdEditor [protected]

Keeps pointers to all the system descriptors in the parameter list that are managed by this UI Element.

Reimplemented from DtUiElement.


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)