15 #include "ui_articulatedPartSelectionDialogUi.h"
22 class QAbstractButton;
31 class DtBaseConnection;
50 virtual DtVector attachPointFor(
int part)
const;
59 virtual void updateEnableState();
69 virtual QString uniqueDisplayName(
const QString& baseName,
const DtRwString* system = 0);
76 virtual void addPartToGui(
const DtSimArtPartDescriptor* partDesc,
const QString& partName,
const std::list<QString>& sources);
79 virtual void refreshGui();
85 virtual void addPartLocationMark();
88 virtual void removePartLocationMark();
94 void disableAllPartAnimations();
98 virtual bool getPartPosition(
int partNum,
DtVector& bodyPosition, DtTaitBryan& hpr,
bool includeEntityRotation,
bool& endPoint,
bool transformWithOrigin =
true)
const;
100 virtual DtEntityType munitionForArtPart(
int partNum)
const;
106 virtual void fireTheWeapon();
107 virtual void choosePartToAdd();
108 virtual void addPart(DtArtPartType partNum);
109 virtual void removePart();
110 virtual void onSelectionChanged();
111 virtual void openEditWindow();
113 virtual void doneWithAdd(
bool);
114 virtual void acceptEdit();
115 virtual void rejectEdit();
151 const std::set<DtArtPartType>& partsWithVisualModelDefaults);
154 virtual void closeEvent(QCloseEvent*);
155 virtual void reject();
156 virtual void accept();
160 void validateSelection();
163 void addPart(DtArtPartType partNum);
QAbstractButton * myRemoveButton
Definition: uiArticulatedPartsElement.h:121
std::map< DtArtPartType, DtSimArtPartDescriptor > myComponentDefaultParts
Definition: uiArticulatedPartsElement.h:133
bool myDialogDisplayed
Definition: uiArticulatedPartsElement.h:130
DtDisplayDefinitionWidget::Facades myFacades
Definition: uiArticulatedPartsElement.h:135
std::map< DtArtPartType, DtSimArtPartDescriptor > myModelParts
Definition: uiArticulatedPartsElement.h:132
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.
makVrv::DtBaseConnection * myBaseConnection
Definition: uiArticulatedPartsElement.h:137
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:136
virtual void processUiEvent(const DtUiElementEvent &)
Process ui event. Default does nothing.
Definition: uiElement.h:234
Dialog for selecting an articulated from the provided list.
Definition: uiArticulatedPartsElement.h:143
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:126
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:188
Definition: uiArticulatedPartsElement.h:34
bool myCurrentlyEnabled
Definition: uiArticulatedPartsElement.h:129
virtual void elementChanged()
std::map< const DtComponentSystemDefinition *, std::pair< const DtTargetingControlTable *, const DtRangeProbabilityTable * > > TargetingControlAndRangeTables
Returns the targeting control and range tables.
Definition: simulationModelSetLoader.h:944
Ui::DtArticulatedPartSelectionDialogUi myUiImpl
Definition: uiArticulatedPartsElement.h:167
virtual void decorateElement()
Sets element decoration depending on the isModified state of the element. This version changes myLabe...
QAbstractButton * myAddButton
Definition: uiArticulatedPartsElement.h:120
DtComponentSystemDefinition.
Definition: componentSystemDefinition.h:25
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:35
QTreeWidget * myTree
Definition: uiArticulatedPartsElement.h:119
DtArticulatedPartEditDialogShdPtr myCurrentDialog
Definition: uiArticulatedPartsElement.h:118
QAbstractButton * myWarningButton
Definition: uiArticulatedPartsElement.h:123
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
QAbstractButton * myEditButton
Definition: uiArticulatedPartsElement.h:122
virtual void setEnabled(bool)
If this item is not enabled it cannot be modified.
QString myMarkedPart
Definition: uiArticulatedPartsElement.h:134
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:125
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:131
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:139
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:72
makVrv::DtDe & myDe
Definition: uiArticulatedPartsElement.h:168
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:183