VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiHitZoneIdElement.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
14 #include <vrfutil/hitZoneId.h>
15 
16 class DtRwHitZoneList;
17 
19 {
20 public:
23 
25  virtual ~DtUiHitZoneIdElement() override;
26 
27  virtual void setFromSystemParameterData(
28  const DtSystemParameterData* data, const DtComponentSystemDefinition*) override;
29 
30  virtual void processUiEvent(const DtUiElementEvent&) override;
31 
33  virtual void aboutToShow() override;
34 
36 
38  DtRwHitZoneList* retrieveHitZoneListModifiedVariableFromLdr() const;
39 
40  protected slots:
41 
42  virtual void onValueChanged(int);
43 
44 
45 protected:
46  virtual void createControls(QWidget*) override;
47 
48  virtual void setWidgetValue(int val);
49 
50  virtual void setWidgetConflicted(bool conflicted);
51 
53  virtual void populateComboBox();
54 
55 protected:
56  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw) override;
57 
58 protected:
62 
64 
67 };
const DtComponentSystemDefinition * myLastDef
Definition: uiHitZoneIdElement.h:66
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.
virtual void processUiEvent(const DtUiElementEvent &)
Process ui event. Default does nothing.
Definition: uiElement.h:244
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:198
DtString mySystemName
Definition: uiHitZoneIdElement.h:61
DtString myArtPartCategory
Definition: uiHitZoneIdElement.h:59
const DtSystemParameterData * myLastParamData
Definition: uiHitZoneIdElement.h:65
Reader/Writer class which specifies the contents of a DtComponentSystem. This lists the sensors...
Definition: componentSystemDefinition.h:31
ID value for a hit zone. Consists of a zone function (weapon, sensor, movement, etc.) and a zone number. Includes functions for packing/unpacking into an int.
Definition: hitZoneId.h:21
bool myArtPartNumConflicted
Definition: uiHitZoneIdElement.h:60
virtual void aboutToShow()
Called when about to show as part of a properties dialog. Default is no-op.
Definition: uiHitZoneIdElement.h:18
Base class for RW objects that describe a system parameter. This data is used by the entity editor to...
Definition: systemParameterData.h:30
The DtUiElement class is the base for which all UI elements are defined. If you wish to create a new ...
Definition: uiElement.h:97
DtHitZoneId myHitZoneId
Definition: uiHitZoneIdElement.h:63
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:76
Definition: rwHitZoneList.h:11
#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:193
virtual void setFromSystemParameterData(const DtSystemParameterData *data, const DtComponentSystemDefinition *)
Sets data of this UiElement from the specified system parameter data. Sets things like sourceUnits...

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)