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

Public Member Functions | |
| DtUiLayoutElement (const DtString &name, DtReaderWriterRegistry *const parentRegistry=NULL) | |
| Constructor. | |
| virtual | ~DtUiLayoutElement () |
| Destructor. | |
| DtUiLayoutElement (const DtUiLayoutElement &orig) | |
| Copy constructor. | |
| DtUiLayoutElement & | operator= (const DtUiLayoutElement &orig) |
| Assignment operator. | |
| virtual DtUiElement * | clone () |
| virtual void | merge (DtUiElement *) |
| virtual const DtString & | objectName () const |
| virtual QWidget * | createLabelWidget (QWidget *parent) |
| Create and return the label widget for this element. | |
| virtual void | removeAllCallbacks () |
| Removes all callbacks in this and child items. | |
| virtual void | uiState (QMap< QString, QVariant > &state) const |
| State is a dictionary of a string that uniquely identifies a control and its state. | |
| virtual void | setUiState (const QMap< QString, QVariant > &) |
Protected Member Functions | |
| virtual const char * | readerWriterType () const |
| Used to supply a string type that this reader writer type is. | |
| virtual DtlObjPtr | getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings) |
| virtual QWidget * | createControls (QWidget *parent) |
| Creates and returns the non-label part of the element. | |
| virtual void | mergeInto (DtUiForParameter *) |
| virtual DtUiElement * | elementNamed (const DtString &s) |
| virtual bool | mergeInto (const DtString &readerWriterName, bool after, DtUiElement *element) |
| virtual void | setFromParameters (DtReaderWriter *parentRw) |
| virtual void | addElementChangedCallback (DtElementChangedCallbackFcn f, void *u) |
| virtual void | removeElementChangedCallback (DtElementChangedCallbackFcn f, void *u) |
| virtual bool | isModified () const |
| virtual void | objectParametersModified () |
| This method is called any time that any of the parameters for the object are modified. | |
| virtual void | processUiEvent (const DtUiElementEvent &e) |
| Process ui event. Default does nothing. | |
| virtual void | setModelModified (DtModelSetEntry *m) |
| Called when the model is modified. Default is no-op. | |
Protected Attributes | |
| DtLayoutContainer | myLayoutContainer |
| DtUiLayoutElement::DtUiLayoutElement | ( | const DtString & | name, |
| DtReaderWriterRegistry *const | parentRegistry = NULL |
||
| ) |
Constructor.
| virtual DtUiLayoutElement::~DtUiLayoutElement | ( | ) | [virtual] |
Destructor.
| DtUiLayoutElement::DtUiLayoutElement | ( | const DtUiLayoutElement & | orig | ) |
Copy constructor.
| DtUiLayoutElement& DtUiLayoutElement::operator= | ( | const DtUiLayoutElement & | orig | ) |
Assignment operator.
| virtual DtUiElement* DtUiLayoutElement::clone | ( | ) | [virtual] |
Implements DtUiElement.
Reimplemented in DtUiAddItemElement, and DtUiAddToLayoutElement.
| virtual void DtUiLayoutElement::merge | ( | DtUiElement * | ) | [virtual] |
| virtual const DtString& DtUiLayoutElement::objectName | ( | ) | const [virtual] |
Reimplemented from DtUiElement.
| virtual QWidget* DtUiLayoutElement::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 void DtUiLayoutElement::removeAllCallbacks | ( | ) | [virtual] |
Removes all callbacks in this and child items.
Reimplemented from DtUiElement.
| virtual void DtUiLayoutElement::uiState | ( | QMap< QString, QVariant > & | state | ) | const [virtual] |
State is a dictionary of a string that uniquely identifies a control and its state.
Reimplemented from DtUiElement.
| virtual void DtUiLayoutElement::setUiState | ( | const QMap< QString, QVariant > & | ) | [virtual] |
Reimplemented from DtUiElement.
| virtual const char* DtUiLayoutElement::readerWriterType | ( | ) | const [protected, virtual] |
Used to supply a string type that this reader writer type is.
This can be used in place of dynamic-casting. Also used by the opd editor to determine which type of control to create
Reimplemented from DtReaderWriter.
| virtual DtlObjPtr DtUiLayoutElement::getData | ( | DtlObjPtr | args, |
| const DtFilename & | searchPath, | ||
| const DtVariableBindingsList & | variableBindings | ||
| ) | [protected, virtual] |
Reimplemented in DtUiAddItemElement.
| virtual QWidget* DtUiLayoutElement::createControls | ( | QWidget * | parent | ) | [protected, virtual] |
Creates and returns the non-label part of the element.
Reimplemented from DtUiElement.
| virtual void DtUiLayoutElement::mergeInto | ( | DtUiForParameter * | ) | [protected, virtual] |
Reimplemented from DtUiElement.
Reimplemented in DtUiAddItemElement, and DtUiAddToLayoutElement.
| virtual DtUiElement* DtUiLayoutElement::elementNamed | ( | const DtString & | s | ) | [protected, virtual] |
Reimplemented from DtUiElement.
| virtual bool DtUiLayoutElement::mergeInto | ( | const DtString & | readerWriterName, |
| bool | after, | ||
| DtUiElement * | element | ||
| ) | [protected, virtual] |
Reimplemented from DtUiElement.
| virtual void DtUiLayoutElement::setFromParameters | ( | DtReaderWriter * | parentRw | ) | [protected, virtual] |
Reimplemented from DtUiElement.
| virtual void DtUiLayoutElement::addElementChangedCallback | ( | DtElementChangedCallbackFcn | f, |
| void * | u | ||
| ) | [protected, virtual] |
Reimplemented from DtUiElement.
| virtual void DtUiLayoutElement::removeElementChangedCallback | ( | DtElementChangedCallbackFcn | f, |
| void * | u | ||
| ) | [protected, virtual] |
Reimplemented from DtUiElement.
| virtual bool DtUiLayoutElement::isModified | ( | ) | const [protected, virtual] |
Reimplemented from DtUiElement.
| virtual void DtUiLayoutElement::objectParametersModified | ( | ) | [inline, protected, virtual] |
This method is called any time that any of the parameters for the object are modified.
It is not called for the UI element that caused the modification itself, to avoid infinite loops. Default implementation does nothing.
Reimplemented from DtUiElement.
| virtual void DtUiLayoutElement::processUiEvent | ( | const DtUiElementEvent & | ) | [inline, protected, virtual] |
Process ui event. Default does nothing.
Reimplemented from DtUiElement.
| virtual void DtUiLayoutElement::setModelModified | ( | DtModelSetEntry * | ) | [protected, virtual] |
Called when the model is modified. Default is no-op.
Reimplemented from DtUiElement.