![]() |
VR-Forces Developer's Guide
|

Public Member Functions | |
| DtUiArticulatedPartsElement (makVrv::DtDe &de) | |
| virtual | ~DtUiArticulatedPartsElement () override |
| virtual void | setEnabled (bool) override |
| virtual DtVector | attachPointFor (int part) const |
Public Member Functions inherited from DtUiElement | |
| DtUiElement (makVrv::DtDe &) | |
| virtual | ~DtUiElement () override |
| virtual bool | blockSignals (bool) |
| virtual void | init (QWidget *widget, QWidget *label, DtReaderWriter *originalData, DtReaderWriter *backupData, DtElementChangedCallbackFcn=boost::bind(&DtUiElement::theNullFunction, boost::placeholders::_1)) |
| virtual void | init (QWidget *widget, QWidget *label, const std::vector< DtReaderWriter * > &originalData, const std::vector< DtReaderWriter * > &backupData, DtElementChangedCallbackFcn=boost::bind(&DtUiElement::theNullFunction, boost::placeholders::_1)) |
| virtual void | init (QWidget *widget, QWidget *label, const DtEntityType &, const DtString &platformType, DtElementChangedCallbackFcn=boost::bind(&DtUiElement::theNullFunction, boost::placeholders::_1)) |
| virtual DtString | displayUnits () const |
| virtual void | setDisplayUnits (const DtString &units) |
| virtual void | setLabelText (const QString &) |
| virtual DtString | sourceUnits () const |
| virtual void | setSourceUnits (const DtString &units) |
| virtual void | setFromSystemParameterData (const DtSystemParameterData *data, const DtComponentSystemDefinition *) |
| virtual void | objectParametersModified () |
| virtual void | connectedTo (QObject *) |
| virtual void | setModelModified (DtModelSetEntry *) |
| virtual DtString | uniqueName () const |
| virtual bool | supportsSystems () const |
| virtual const DtString & | platformType () const |
| virtual void | setPlatformType (const DtString &) |
| virtual void | setObjectTypes (const std::vector< DtEntityType > &) |
| virtual void | aboutToShow () |
| const std::vector < DtReaderWriter * > & | values () const |
| const std::vector < DtReaderWriter * > & | backupValues () const |
| virtual bool | isModified () const |
| virtual bool | isValid () const |
| virtual void | setFromParameters (DtReaderWriter *parentRw) |
| virtual void | setFromParameters (const std::vector< DtComponentSystemDefinition * > &) |
| virtual bool | restoreFromBackup () |
| QHBoxLayout * | findLayoutThatHas (QWidget *w, QBoxLayout *layout) |
| QBoxLayout * | findUsableLayoutFor (QWidget *w) |
| const std::vector< DtEntityType > & | objectTypes () const |
| const std::vector < DtComponentSystemDefinition * > & | systems () const |
| virtual void | sendEvent (const DtUiElementEvent &) |
| virtual bool | allValuesTheSame () const |
| virtual bool | isMixedValue () const |
| virtual bool | enabled () const |
| virtual void | setControllingCheckBox (QCheckBox *) |
| QCheckBox * | controllingCheckBox () |
| virtual void | populateParentValues (std::string elementName) |
Static Public Member Functions | |
| static DtUiElement * | CreatorFunction (makVrv::DtDe &) |
Static Public Member Functions inherited from DtUiElement | |
| static void | registerUiTypes () |
| static DtUiElement * | createUiElement (makVrv::DtDe &, const DtString &type) |
| static bool | hasCreator (const DtString &) |
| static void | theNullFunction (DtUiElement *) |
| static UiElementFactoryMap & | elementFactory () |
| static QString | mixedText () |
| static void | setMixedText (const QString &) |
Public Attributes | |
| DtArticulatedPartEditDialogShdPtr | myCurrentDialog |
| QTreeWidget * | myTree |
| QAbstractButton * | myAddButton |
| QAbstractButton * | myRemoveButton |
| QAbstractButton * | myEditButton |
| QAbstractButton * | myWarningButton |
Public Attributes inherited from DtUiElement | |
| QWidget * | myWidget |
| QWidget * | myLabel |
Static Public Attributes | |
| static QString | theAttachPointSuffix |
| static QString | theEndPointSuffix |
Protected Slots | |
| virtual void | fireTheWeapon () |
| virtual void | choosePartToAdd () |
| virtual void | addPart (DtArtPartType partNum) |
| virtual void | removePart () |
| virtual void | onSelectionChanged () |
| virtual void | openEditWindow () |
| virtual void | onItemChanged (QTreeWidgetItem *, int) |
| virtual void | doneWithAdd (bool) |
| virtual void | acceptEdit () |
| virtual void | rejectEdit () |
Protected Slots inherited from DtUiElement | |
| virtual void | enableIfChecked () |
| virtual void | disableIfChecked () |
Protected Member Functions | |
| virtual void | removePartsForSystem (const DtComponentSystemDescriptor *def) |
| virtual void | removePartsForSystem (const DtComponentSystemDefinition *def, const DtString &systemName) |
| virtual void | addPartsForSystem (const DtComponentSystemDescriptor *def) |
| virtual void | addPartsForSystem (const DtComponentSystemDefinition *def) |
| virtual void | updateEnableState () |
| virtual void | setFromParameters (const std::vector< DtReaderWriter * > &parentRw) override |
| virtual void | processUiEvent (const DtUiElementEvent &) override |
| virtual void | createControls (QWidget *) override |
| virtual void | elementChanged () override |
| virtual QString | uniqueDisplayName (const QString &baseName, const DtRwString *system=0) |
| virtual DtArticulatedPartEditDialog * | createArticulatedPartEditDialog (QWidget *p) |
| virtual DtArticulatedPartSelectionDialog * | createArticulatedPartSelectionDialog (QWidget *p) |
| virtual void | addPartToGui (const DtSimArtPartDescriptor *partDesc, const QString &partName, const std::list< QString > &sources) |
| virtual void | refreshGui () |
| virtual void | updateLabelTitle () override |
| virtual void | decorateElement () override |
| virtual void | addPartLocationMark () |
| virtual void | removePartLocationMark () |
| virtual void | slot_facadesCreated (const DtDisplayDefinitionWidget::Facades &) |
| void | disableAllPartAnimations () |
| virtual bool | isWheel (int partNum, DtVector &maxRot, DtVector &minRot, DtVector &rotRate) const |
| virtual void | animateArticulatedPart (QTreeWidgetItem *) |
| virtual bool | getPartPosition (int partNum, DtVector &bodyPosition, DtTaitBryan &hpr, bool includeEntityRotation, bool &endPoint, bool transformWithOrigin=true) const |
| virtual DtEntityType | munitionForArtPart (int partNum) const |
| virtual bool | hasArtPartType (const DtSimulationModelSetLoader::TargetingControlAndRangeTables &, int partNum, const DtComponentSystemDefinition *&foundDefinition, const DtComponentSystemDefinition *&systemMatch) const |
| virtual bool | hasArtPartType (const DtComponentSystemDefinition *, int partNum, DtString systemPath, const DtComponentSystemDefinition *&foundDefinition) const |
Protected Member Functions inherited from DtUiElement | |
| virtual double | sourceToDisplayUnits (double) const |
| virtual double | displayToSourceUnits (double) const |
| virtual QString | units () const |
| virtual QString | labelTitle () const |
Additional Inherited Members | |
Public Types inherited from DtUiElement | |
| typedef boost::function < DtUiElement *(makVrv::DtDe &)> | CreatorFunction |
| typedef std::map< std::string, CreatorFunction > | UiElementFactoryMap |
Public Slots inherited from DtUiElement | |
| virtual void | toggleDisplayed (bool display) |
Signals inherited from DtUiElement | |
| void | uiEvent (const DtUiElementEvent &) |
| void | changed () |
Static Protected Attributes inherited from DtUiElement | |
| static UiElementFactoryMap | theFactory |
| DtUiArticulatedPartsElement::DtUiArticulatedPartsElement | ( | makVrv::DtDe & | de | ) |
Constructor.
|
overridevirtual |
Destructor.
|
static |
|
overridevirtual |
If this item is not enabled it cannot be modified.
Reimplemented from DtUiElement.
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from DtUiElement.
|
overrideprotectedvirtual |
Process ui event. Default does nothing.
Reimplemented from DtUiElement.
|
overrideprotectedvirtual |
If additional widgets or connections need to be made do it here. The parent is the myWidget member.
Reimplemented from DtUiElement.
|
overrideprotectedvirtual |
Reimplemented from DtUiElement.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Adds a new part to the GUI.
|
protectedvirtual |
Updates the GUI from the current part values.
|
overrideprotectedvirtual |
Updates label title based on valid units.
Reimplemented from DtUiElement.
|
overrideprotectedvirtual |
Sets element decoration depending on the isModified state of the element. This version changes myLabel font.
Reimplemented from DtUiElement.
|
protectedvirtual |
Sends an event to mark the location of currently selected part on the entity.
|
protectedvirtual |
Sends an event to remove the current part location mark.
|
protectedvirtual |
Called when new facades are created.
|
protected |
Disables all part animations.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
| DtArticulatedPartEditDialogShdPtr DtUiArticulatedPartsElement::myCurrentDialog |
| QTreeWidget* DtUiArticulatedPartsElement::myTree |
| QAbstractButton* DtUiArticulatedPartsElement::myAddButton |
| QAbstractButton* DtUiArticulatedPartsElement::myRemoveButton |
| QAbstractButton* DtUiArticulatedPartsElement::myEditButton |
| QAbstractButton* DtUiArticulatedPartsElement::myWarningButton |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |