Static Public Member Functions |
| static void | addUiMapping (const char *like, const char *parameter) |
| | Adds a mapping such that if a parameter type ui file is not found, use the one "like" it.
|
| static std::string | likeUi (const char *parameter) |
Protected Member Functions |
| virtual bool | bindSignalSlot (DtUiElement *, QObject *, ControlsMap &map) |
| virtual bool | bindSignalSlot (std::string signalSlot, DtUiElement *container, QObject *widget, ControlsMap &controlsMap) |
| virtual std::string | uiElementName (const DtString &elementName) const |
| | Converts a reader/writer name to a valid ui element name.
|
| virtual void | convertDataElementsToUiElements (const std::vector< DtSimulationModelSetLoader::EntityData * > &) |
| | Convert all elements in the modified environment to ui data elements.
|
| virtual void | commonBindings (const std::vector< DtSimulationModelSetLoader::EntityData * > &, RwDataItems &original, RwDataItems &modified) const |
| | For the data items fills in the common original items and common modified items that are present for all data items.
|
| virtual void | addAllRwItems (RwDataItems &, DtVariableBindingsList *) const |
| | Adds all rw items found in the bindings lists to the map.
|
| virtual void | addAllRwItems (RwDataItems &, const DtReaderWriter *) const |
| | Adds all rw items found in the readerwriter's registry.
|
| virtual void | intersectRwItems (RwDataItems &, DtVariableBindingsList *) const |
| | Only keep the intersection of items.
|
| virtual bool | anyEnabledChildren (const QObjectList &) const |
Member Typedef Documentation
Constructor & Destructor Documentation
| DtUiForParameter::DtUiForParameter |
( |
makVrv::DtDe & |
de, |
|
|
const std::string & |
uiFile |
|
) |
| |
| virtual DtUiForParameter::~DtUiForParameter |
( |
| ) |
|
|
virtual |
Member Function Documentation
When creating controls and loading from the ui file, the system will try and match either the objectname of the object as the control to create or the element_type property (for items that might appear more than once, such as systems)
Returns the appropriate ui file for the parameter that wants to be edited.
| static void DtUiForParameter::addUiMapping |
( |
const char * |
like, |
|
|
const char * |
parameter |
|
) |
| |
|
static |
Adds a mapping such that if a parameter type ui file is not found, use the one "like" it.
| static std::string DtUiForParameter::likeUi |
( |
const char * |
parameter | ) |
|
|
static |
| virtual bool DtUiForParameter::isModified |
( |
| ) |
const |
|
virtual |
| virtual void DtUiForParameter::buildMapOfAvailableControls |
( |
QWidget * |
parent, |
|
|
ControlsMap & |
|
|
) |
| const |
|
virtual |
Builds a map of available controls to map reader/writer items to.
| 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 |
| QWidget* DtUiForParameter::canvas |
( |
| ) |
|
|
inline |
| QWidget* DtUiForParameter::controls |
( |
| ) |
|
|
inline |
| DtString DtUiForParameter::parameterType |
( |
| ) |
const |
|
inline |
| virtual void DtUiForParameter::clearUiElements |
( |
| ) |
|
|
virtual |
| virtual std::string DtUiForParameter::uiElementName |
( |
const DtString & |
elementName | ) |
const |
|
protectedvirtual |
Converts a reader/writer name to a valid ui element name.
Convert all elements in the modified environment to ui data elements.
Any element not matched will be disabled
For the data items fills in the common original items and common modified items that are present for all data items.
Adds all rw items found in the bindings lists to the map.
Adds all rw items found in the readerwriter's registry.
Only keep the intersection of items.
| virtual bool DtUiForParameter::anyEnabledChildren |
( |
const QObjectList & |
| ) |
const |
|
protectedvirtual |
| virtual void DtUiForParameter::canvasDestroyed |
( |
| ) |
|
|
protectedvirtualslot |
| virtual void DtUiForParameter::controlsDestroyed |
( |
| ) |
|
|
protectedvirtualslot |
| virtual void DtUiForParameter::elementDestroyed |
( |
| ) |
|
|
protectedvirtualslot |
| virtual const DtReaderWriter* DtUiForParameter::containerWithVariables |
( |
const DtObjectType & |
, |
|
|
QString |
element, |
|
|
const QString & |
container |
|
) |
| const |
|
protectedvirtualslot |
Returns the reader/writer type if found in the platform file and any elements in that container has a variable.
| virtual void DtUiForParameter::showHiddenControls |
( |
bool |
| ) |
|
|
protectedvirtualslot |
| virtual void DtUiForParameter::popUpDialogForEditing |
( |
| ) |
|
|
protectedvirtualslot |
Member Data Documentation
| QWidget* DtUiForParameter::myCanvas |
|
protected |
| QWidget* DtUiForParameter::myControls |
|
protected |
| std::string DtUiForParameter::myUiFile |
|
protected |
| QFile DtUiForParameter::myLoadedUiFile |
|
protected |
| std::vector<DtUiElement*> DtUiForParameter::myAdvancedControls |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-6-branch/include/simulationObjectEditorImpl/uiForParameter.h