VR-Forces 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() override;
38 
39  virtual void setFromSystemParameterData(
40  const DtSystemParameterData* data, const DtComponentSystemDefinition*) override;
41 
43 
44 protected:
45  virtual void createControls(QWidget*) override;
46  virtual void intializeListBox(const DtString& type);
47  virtual int findIndexFromString(const QString & name);
48 
49  protected slots:
50  virtual void setDiGuyString(int index);
51 
52 protected:
53  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw) override;
54  virtual void updateDiguyBox();
55 
56 protected:
64  QGridLayout* myMainLayout;
65 };
DtDiGuyDescriptionComboBox * myDiGuyBox
Definition: uiDiGuyElement.h:59
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:63
DtUiStringElement * myDiGuySelection
Whatever user selects from the combo box goes here.
Definition: uiDiGuyElement.h:58
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:190
std::vector< AlternateNamesPair > AlternateNamesList
Definition: diGuyCharacterData.h:29
DtComponentSystemDefinition.
Definition: componentSystemDefinition.h:27
QGridLayout * myMainLayout
Definition: uiDiGuyElement.h:64
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:61
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:76
AlternateNamesList myDiGuyList
Definition: uiDiGuyElement.h:62
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:185
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 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)