VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiArtPartElement.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 
15 class DtArtPartManager;
17 
22 {
23 public:
24 
27 
29  virtual ~DtUiArtPartElement();
30 
31  virtual DtString artPartCategory() const;
32  virtual void setArtPartCategory(const DtString& cat);
33 
34  virtual int artPartNumber() const;
35  virtual void setArtPartNumber(int num);
36 
37  virtual bool artPartNumberConflicted() const;
38  virtual void setArtPartNumberConflicted(bool confl);
39 
41 
42  virtual void processUiEvent(const DtUiElementEvent&);
43 
45  virtual void aboutToShow();
46 
48 
49  static DtArtPartManager* artPartManager();
50 
51 protected:
52  virtual void createControls(QWidget*);
53 
54  virtual void setWidgetValue(int val);
55 
56  virtual void setWidgetConflicted(bool conflicted);
57 
58 protected:
59  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw);
60 
61 protected:
65  std::vector<DtArtPartType> myOrigArtPartTypes;
66 
68 
71 
73 
74  static const int theMixedVal;
75 };
const DtSystemParameterData * myLastParamData
Definition: uiArtPartElement.h:69
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.
Element for managing an Articulated Part number variable. It hooks to the DtArtPartManager to auto-as...
Definition: uiArtPartElement.h:21
virtual void processUiEvent(const DtUiElementEvent &)
Process ui event. Default does nothing.
Definition: uiElement.h:231
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:185
Instances of DtSimArtPartDescriptorList are lists of DtSimArtPartDescriptors. This is an optional par...
Definition: simArtPartDescriptorList.h:16
static DtArtPartManager * theArtPartManager
Definition: uiArtPartElement.h:72
DtComponentSystemDefinition.
Definition: componentSystemDefinition.h:25
static const int theMixedVal
Definition: uiArtPartElement.h:74
virtual void aboutToShow()
Called when about to show as part of a properties dialog. Default is no-op.
DtString mySystemName
Definition: uiArtPartElement.h:64
std::vector< DtArtPartType > myOrigArtPartTypes
Definition: uiArtPartElement.h:65
DtString myArtPartCategory
Definition: uiArtPartElement.h:62
Base class for RW objects that describe a system parameter. This data is used by the entity editor to...
Definition: systemParameterData.h:30
Definition: artPartManager.h:23
The DtUiElement class is the base for which all UI elements are defined. If you wish to create a new ...
Definition: uiElement.h:97
DtSimArtPartDescriptorList * myArtPartDescriptors
Definition: uiArtPartElement.h:67
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
bool myArtPartNumConflicted
Definition: uiArtPartElement.h:63
#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
const DtComponentSystemDefinition * myLastDef
Definition: uiArtPartElement.h:70
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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)