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();
138 const std::set<DtArtPartType>& partsWithVisualModelDefaults);
141 virtual void closeEvent(QCloseEvent*);
142 virtual void reject();
143 virtual void accept();
147 void validateSelection();
150 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). The read/write name is not used for anything in particular, and therefore may be used for file readability.
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:231
Dialog for selecting an articulated from the provided list.
Definition: uiArticulatedPartsElement.h:130
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:185
Definition: uiArticulatedPartsElement.h:29
bool myCurrentlyEnabled
Definition: uiArticulatedPartsElement.h:117
virtual void elementChanged()
Ui::DtArticulatedPartSelectionDialogUi myUiImpl
Definition: uiArticulatedPartsElement.h:154
virtual void decorateElement()
Sets element decoration depending on the isModified state of the element. This version changes myLabe...
QAbstractButton * myAddButton
Definition: uiArticulatedPartsElement.h:108
DtComponentSystemDefinition.
Definition: componentSystemDefinition.h:25
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. Specified a system being added to an entity. This does not actual...
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. If you wish to create a new ...
Definition: uiElement.h:97
std::set< int > myFacadeParts
Definition: uiArticulatedPartsElement.h:126
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
makVrv::DtDe & myDe
Definition: uiArticulatedPartsElement.h:155
std::map< int, DtEnumInfo > EnumMap
Definition: enumDictionary.h:116
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:33
Base class of the ui element class chain. Properties available through designer for all ui elements a...
Definition: uiElement.h:180