VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiDiGuyElement.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 
15 
16 
17 class QLabel;
18 class QGridLayout;
20 class DtUiStringElement;
21 
22 
26 
28 {
29  Q_OBJECT
30 
31 public:
32 
35 
37  virtual ~DtUiDiGuyElement();
38 
40 
42 
43 protected:
44  virtual void createControls(QWidget*);
45  virtual void intializeListBox(const DtString& type);
46  virtual int findIndexFromString(const QString & name);
47 
48  protected slots:
49  virtual void setDiGuyString(int index);
50 
51 protected:
52  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw);
53  virtual void updateDiguyBox();
54 
55 protected:
63  QGridLayout* myMainLayout;
64 };
DtDiGuyDescriptionComboBox * myDiGuyBox
Definition: uiDiGuyElement.h:58
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.
QLabel * myBoxLabel
Definition: uiDiGuyElement.h:62
DtUiStringElement * myDiGuySelection
Whatever user selects from the combo box goes here.
Definition: uiDiGuyElement.h:57
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:185
std::vector< AlternateNamesPair > AlternateNamesList
Definition: diGuyCharacterData.h:29
DtComponentSystemDefinition.
Definition: componentSystemDefinition.h:25
QGridLayout * myMainLayout
Definition: uiDiGuyElement.h:63
Base class for RW objects that describe a system parameter. This data is used by the entity editor to...
Definition: systemParameterData.h:30
Definition: uiStringElement.h:15
DtDiGuyInformation myDiGuyinfo
Populate the comboBox with appropriate diguy info.
Definition: uiDiGuyElement.h:60
Contains the DtDiGuyInformation class declaration.
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
AlternateNamesList myDiGuyList
Definition: uiDiGuyElement.h:61
Contains information about the current DI-Guy character instance and some of its available options...
Definition: diGuyInformation.h:22
Element for managing an Articulated Part number variable. It hooks to the DtArtPartManager to auto-as...
Definition: uiDiGuyElement.h:27
Definition: diGuyDescriptionComboBox.h:16
#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
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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)