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

Classes | |
| struct | HiddenStruct |
Public Slots | |
| virtual void | uiEvent (const DtUiElementEvent &) |
Signals | |
| void | uiEventSignal (const DtUiElementEvent &) |
Public Member Functions | |
| DtUiForParameter (makVrv::DtDe &de, const std::string &uiFile) | |
| Constructor. | |
| virtual | ~DtUiForParameter () |
| Destructor. | |
| virtual QWidget * | createControls (DtSimulationModelSet *) |
| 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) | |
| virtual QString | findAppropriateFile (DtSimulationModelSet *set, const DtString &, bool tryLikeUiMap=true) const |
| Returns the appropriate ui file for the parameter that wants to be edited. | |
| virtual void | init (const std::set< makVrf::DtEntityMapperKey > &, DtElementChangedCallbackFcn) |
| virtual void | init (const std::vector< DtComponentSystemDefinition * > &, DtElementChangedCallbackFcn) |
| virtual DtUiElement * | findElement (const DtString &) const |
| virtual bool | isModified () const |
| virtual void | buildMapOfAvailableControls (QWidget *parent, ControlsMap &) const |
| Builds a map of available controls to map reader/writer items to. | |
| virtual bool | eventFilter (QObject *, QEvent *) |
| QWidget * | canvas () |
| QWidget * | controls () |
| DtString | parameterType () const |
| virtual void | clearUiElements () |
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 Types | |
| typedef std::map< std::string, QWidget * > | ControlsMap |
| typedef std::vector < DtReaderWriter * > | RwVector |
| typedef std::map< DtString, RwVector > | RwDataItems |
| typedef std::map< std::string, DtUiElement * > | UiElements |
Protected Slots | |
| virtual void | splitterDestroyed () |
| virtual void | splitterMoved (int, int) |
| virtual void | canvasDestroyed () |
| virtual void | controlsDestroyed () |
| virtual void | elementDestroyed () |
| virtual const DtReaderWriter * | containerWithVariables (const DtObjectType &, QString element, const QString &container) const |
| Returns the reader/writer type if found in the platform file and any elements in that container has a variable. | |
| virtual void | showHiddenControls (bool) |
| virtual void | popUpDialogForEditing () |
| virtual void | tabChanged (int) |
Protected Member Functions | |
| virtual void | setupCommonControls (ControlsMap &controlsMap, ControlsMap &originalMap, RwDataItems &original, RwDataItems &modified, bool canBeModified, bool multpleSelection, const DtString &platform="", const std::vector< DtObjectType > &objectTypes=std::vector< DtObjectType >()) |
| virtual void | connectAndSetUpTabWidget (QTabWidget *) |
| virtual void | findParameterDocumentationFor (const DtString ¶m, QWidget *widget, QWidget *label) const |
| If there is parameter data for this item, set the tool tip to it. | |
| 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 | convertDataElementsToUiElements (const std::vector< DtComponentSystemDefinition * > &) |
| 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 | commonBindings (const std::vector< DtComponentSystemDefinition * > &, RwDataItems &original, RwDataItems &modified) const |
| virtual void | addAllRwItems (RwDataItems &, DtVariableBindingsList *, bool recurse=false) const |
| Adds all rw items found in the bindings lists to the map. | |
| virtual void | addAllRwItems (RwDataItems &, const DtReaderWriter *, bool recurse=false) const |
| Adds all rw items found in the readerwriter's registry. | |
| virtual void | intersectRwItems (RwDataItems &, DtVariableBindingsList *, bool recurse=false) const |
| Only keep the intersection of items. | |
| virtual void | intersectRwItems (RwDataItems &, const DtReaderWriter *, bool recurse=false) const |
| virtual void | intersectRwItems (RwDataItems &, RwDataItems &, const DtReaderWriter *, bool recurse=false) const |
| virtual bool | anyEnabledChildren (const QObjectList &) const |
| virtual bool | hasScrollContainer (QWidget *) const |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| QWidget * | myCanvas |
| QWidget * | myControls |
| QSplitter * | myMainSplitter |
| std::string | myUiFile |
| QFile | myLoadedUiFile |
| std::set < makVrf::DtEntityMapperKey > | myEditing |
| std::vector < DtComponentSystemDefinition * > | mySystemDefinitions |
| UiElements | myUiElements |
| std::vector< DtUiElement * > | myAdvancedControls |
| DtElementChangedCallbackFcn | myElementChangedCallbackFunction |
| std::set< QTabWidget * > | myTabWidgets |
| std::map< QTabWidget *, std::vector< HiddenStruct > > | myHiddenTabs |
Static Protected Attributes | |
| static QSize | theSplitterWidgetSize |
| static std::map< QString, QString > | theTabMap |
| static std::map< std::string, std::string > | theLikeUiMap |
| virtual void | processElementChanged (DtUiElement *element) |
| static void | elementChangedCallback (DtUiElement *element, void *usr) |
| Callback invoked whenever one of the elements is modified. | |
|
protected |
|
protected |
|
protected |
|
protected |
| DtUiForParameter::DtUiForParameter | ( | makVrv::DtDe & | de, |
| const std::string & | uiFile | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
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)
|
virtual |
Returns the appropriate ui file for the parameter that wants to be edited.
Adds a mapping such that if a parameter type ui file is not found, use the one "like" it.
|
static |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Builds a map of available controls to map reader/writer items to.
|
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 |
|
inline |
|
inline |
|
inline |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
If there is parameter data for this item, set the tool tip to it.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Converts a reader/writer name to a valid ui element name.
|
protectedvirtual |
Convert all elements in the modified environment to ui data elements.
Any element not matched will be disabled
|
protectedvirtual |
|
protectedvirtual |
For the data items fills in the common original items and common modified items that are present for all data items.
|
protectedvirtual |
|
protectedvirtual |
Adds all rw items found in the bindings lists to the map.
|
protectedvirtual |
Adds all rw items found in the readerwriter's registry.
|
protectedvirtual |
Only keep the intersection of items.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
signal |
|
virtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Returns the reader/writer type if found in the platform file and any elements in that container has a variable.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |