![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtUiForParameter (const DtString &name, DtReaderWriterRegistry *const parentRegistry=NULL) | |
| Constructor. | |
| virtual | ~DtUiForParameter () |
| Destructor. | |
| DtUiForParameter (const DtUiForParameter &orig) | |
| Copy constructor. | |
| DtUiForParameter & | operator= (const DtUiForParameter &orig) |
| Assignment operator. | |
| const DtString & | parameterType () const |
| const DtString & | objectTypeTemplate () const |
| const DtString & | inheritFrom () const |
| const DtString & | label () const |
| bool | canBeAssigned () const |
| void | setInheritFrom (const DtString &) |
| virtual QWidget * | createControls (DtVrfObjectParameters *, DtElementChangedCallbackFcn f, void *usr) |
| virtual void | inheritFrom (DtUiForParameter *) |
| virtual DtUiElement * | findElement (const DtString &) const |
| virtual bool | isModified () const |
| virtual void | mergeInto (const DtString &readerWriterName, bool after, DtUiElement *element) |
| Merges the given UI element either before or after the reader-writer-named element. | |
| virtual DtUiForParameter * | clone () |
| virtual void | setModelModified (DtModelSetEntry *) |
| virtual void | uiEvent (const DtUiElementEvent &) |
| virtual QMap< QString, QVariant > | uiState () const |
| virtual void | setUiState (const QMap< QString, QVariant > &) |
| DtUiForParameterSignaller * | signalHandler () |
Protected Member Functions | |
| virtual DtlObjPtr | getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &) |
| This method must be overridden by a subclass. | |
| virtual void | emptyList () |
| virtual void | copyList (const DtUiForParameter &orig) |
Protected Attributes | |
| DtRwBoolean | myCanBeAssigned |
| DtRwString | myParameterType |
| DtRwString | myInheritFrom |
| DtRwString | myLabel |
| DtRwString | myObjectTypeTemplate |
| DtUiForParameterSignaller | mySignalHandler |
| virtual void | processElementChanged (DtUiElement *element) |
| Callback invoked whenever one of the elements is modified. | |
| static void | elementChangedCallback (DtUiElement *element, void *usr) |
| Callback invoked whenever one of the elements is modified. | |
| DtUiForParameter::DtUiForParameter | ( | const DtString & | name, |
| DtReaderWriterRegistry *const | parentRegistry = NULL |
||
| ) |
Constructor.
| virtual DtUiForParameter::~DtUiForParameter | ( | ) | [virtual] |
Destructor.
| DtUiForParameter::DtUiForParameter | ( | const DtUiForParameter & | orig | ) |
Copy constructor.
| DtUiForParameter& DtUiForParameter::operator= | ( | const DtUiForParameter & | orig | ) |
Assignment operator.
| const DtString & DtUiForParameter::parameterType | ( | ) | const [inline] |
References myParameterType.
| const DtString & DtUiForParameter::objectTypeTemplate | ( | ) | const [inline] |
References myObjectTypeTemplate.
| const DtString & DtUiForParameter::inheritFrom | ( | ) | const [inline] |
References myInheritFrom.
| const DtString & DtUiForParameter::label | ( | ) | const [inline] |
References myLabel.
| bool DtUiForParameter::canBeAssigned | ( | ) | const [inline] |
References myCanBeAssigned.
| void DtUiForParameter::setInheritFrom | ( | const DtString & | s | ) | [inline] |
References myInheritFrom.
| virtual QWidget* DtUiForParameter::createControls | ( | DtVrfObjectParameters * | , |
| DtElementChangedCallbackFcn | f, | ||
| void * | usr | ||
| ) | [virtual] |
| virtual void DtUiForParameter::inheritFrom | ( | DtUiForParameter * | ) | [virtual] |
| virtual DtUiElement* DtUiForParameter::findElement | ( | const DtString & | ) | const [virtual] |
| virtual bool DtUiForParameter::isModified | ( | ) | const [virtual] |
| virtual void DtUiForParameter::mergeInto | ( | const DtString & | readerWriterName, |
| bool | after, | ||
| DtUiElement * | element | ||
| ) | [virtual] |
Merges the given UI element either before or after the reader-writer-named element.
| virtual DtUiForParameter* DtUiForParameter::clone | ( | ) | [virtual] |
| static void DtUiForParameter::elementChangedCallback | ( | DtUiElement * | element, |
| void * | usr | ||
| ) | [static] |
Callback invoked whenever one of the elements is modified.
Notifies all other elements (not the one that was just changed) of the change.
| virtual void DtUiForParameter::processElementChanged | ( | DtUiElement * | element | ) | [virtual] |
Callback invoked whenever one of the elements is modified.
Notifies all other elements (not the one that was just changed) of the change.
| virtual void DtUiForParameter::setModelModified | ( | DtModelSetEntry * | ) | [virtual] |
| virtual void DtUiForParameter::uiEvent | ( | const DtUiElementEvent & | ) | [virtual] |
| virtual QMap<QString, QVariant> DtUiForParameter::uiState | ( | ) | const [virtual] |
| virtual void DtUiForParameter::setUiState | ( | const QMap< QString, QVariant > & | ) | [virtual] |
| DtUiForParameterSignaller* DtUiForParameter::signalHandler | ( | ) | [inline] |
| virtual DtlObjPtr DtUiForParameter::getData | ( | DtlObjPtr | args, |
| const DtFilename & | searchPath, | ||
| const DtVariableBindingsList & | variableBindings | ||
| ) | [protected, virtual] |
This method must be overridden by a subclass.
Within this method, new instances of the DtReaderWriter subclass that is being handled by this list must be created, and then retrieved from the mtl stream, using the getSelf member of that item.
Implements DtRwList.
| virtual void DtUiForParameter::emptyList | ( | ) | [protected, virtual] |
| virtual void DtUiForParameter::copyList | ( | const DtUiForParameter & | orig | ) | [protected, virtual] |
DtRwBoolean DtUiForParameter::myCanBeAssigned [protected] |
Referenced by canBeAssigned().
DtRwString DtUiForParameter::myParameterType [protected] |
Referenced by parameterType().
DtRwString DtUiForParameter::myInheritFrom [protected] |
Referenced by inheritFrom(), and setInheritFrom().
DtRwString DtUiForParameter::myLabel [protected] |
Referenced by label().
DtRwString DtUiForParameter::myObjectTypeTemplate [protected] |
Referenced by objectTypeTemplate().