15 #include "ui_articulatedPartSelectionDialogUi.h"
22 class QAbstractButton;
45 virtual DtVector attachPointFor(
int part)
const;
54 virtual void updateEnableState();
64 virtual QString uniqueDisplayName(
const QString& baseName,
const DtRwString* system = 0);
71 virtual void addPartToGui(DtArtPartType partNum,
const QString& partName,
72 const QString& assocComp,
const QString& comment,
const std::list<QString>& sources);
75 virtual void refreshGui();
81 virtual void addPartLocationMark();
84 virtual void removePartLocationMark();
90 void disableAllPartAnimations();
95 virtual void choosePartToAdd();
96 virtual void addPart(DtArtPartType partNum);
97 virtual void removePart();
98 virtual void onSelectionChanged();
99 virtual void openEditWindow();
101 virtual void doneWithAdd(
bool);
102 virtual void acceptEdit();
103 virtual void rejectEdit();
140 const std::set<DtArtPartType>& partsWithVisualModelDefaults);
143 virtual void closeEvent(QCloseEvent*);
144 virtual void reject();
145 virtual void accept();
149 void validateSelection();
152 void addPart(DtArtPartType partNum);
QAbstractButton * myRemoveButton
Definition: uiArticulatedPartsElement.h:109
std::map< DtArtPartType, DtSimArtPartDescriptor > myComponentDefaultParts
Definition: uiArticulatedPartsElement.h:121
bool myDialogDisplayed
Definition: uiArticulatedPartsElement.h:118
DtDisplayDefinitionWidget::Facades myFacades
Definition: uiArticulatedPartsElement.h:123
std::map< DtArtPartType, DtSimArtPartDescriptor > myModelParts
Definition: uiArticulatedPartsElement.h:120
virtual void createControls(QWidget *parent)
If additional widgets or connections need to be made do it here. The parent is the myWidget member...
virtual void setFromParameters(DtReaderWriter *parentRw)
Calls setFromParameters with std::vector of parameter.
A readable, writable type that holds an articulated part type, attached-to part type, attachment point, and a list of art-part params (DtSimArtPartParamList).
Definition: simArtPartDescriptor.h:28
makVrv::DtSignalConnectionManager myConnections
Definition: uiArticulatedPartsElement.h:124
virtual void processUiEvent(const DtUiElementEvent &)
Process ui event. Default does nothing.
Definition: uiElement.h:223
Dialog for selecting an articulated from the provided list.
Definition: uiArticulatedPartsElement.h:132
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
static QString theEndPointSuffix
Definition: uiArticulatedPartsElement.h:114
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:177
Definition: uiArticulatedPartsElement.h:29
bool myCurrentlyEnabled
Definition: uiArticulatedPartsElement.h:117
virtual void elementChanged()
Ui::DtArticulatedPartSelectionDialogUi myUiImpl
Definition: uiArticulatedPartsElement.h:156
virtual void decorateElement()
Sets element decoration depending on the isModified state of the element.
QAbstractButton * myAddButton
Definition: uiArticulatedPartsElement.h:108
DtComponentSystemDefinition.
Definition: componentSystemDefinition.h:25
QIcon myVisualModelIcon
Definition: uiArticulatedPartsElement.h:128
QTreeWidget * myTree
Definition: uiArticulatedPartsElement.h:107
DtArticulatedPartEditDialogShdPtr myCurrentDialog
Definition: uiArticulatedPartsElement.h:106
QAbstractButton * myWarningButton
Definition: uiArticulatedPartsElement.h:111
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
QAbstractButton * myEditButton
Definition: uiArticulatedPartsElement.h:110
virtual void setEnabled(bool)
If this item is not enabled it cannot be modified.
QString myMarkedPart
Definition: uiArticulatedPartsElement.h:122
Descriptor for a DtComponentSystem.
Definition: componentSystemDescriptor.h:23
static QString theAttachPointSuffix
Definition: uiArticulatedPartsElement.h:113
Dialog which allows the user to view and edit the parameters for an articulated part.
Definition: articulatedPartEditDialog.h:29
std::vector< DtString > myMissingPlatforms
Definition: uiArticulatedPartsElement.h:119
The DtUiElement class is the base for which all UI elements are defined.
Definition: uiElement.h:95
std::set< int > myFacadeParts
Definition: uiArticulatedPartsElement.h:126
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
makVrv::DtDe & myDe
Definition: uiArticulatedPartsElement.h:157
std::map< int, DtEnumInfo > EnumMap
Definition: enumDictionary.h:108
DtBoost::shared_ptr< DtArticulatedPartEditDialog > DtArticulatedPartEditDialogShdPtr
Definition: articulatedPartEditDialog.h:116
virtual void updateLabelTitle()
Updates label title based on valid units.
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:32
Base class of the ui element class chain.
Definition: uiElement.h:172