VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiGuiSystemSpecificInformation.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2018 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
9 
10 class QTreeWidget;
11 class QHBoxLayout;
12 class QToolButton;
13 class QListWidget;
14 
17 
20 {
21  Q_OBJECT
22 
23 public:
24 
27 
29  virtual ~DtUiSystemTags();
30 
32 
33 protected:
34  virtual void setFromParameters(const std::vector<DtComponentSystemDefinition*>& rws);
35 
36  virtual bool isModified() const;
37 
38  virtual QWidget* createAndInitCategories(QWidget*);
39 };
40 
43 {
44  Q_OBJECT
45 
46 public:
47 
50 
53 
55 
56  virtual void setEnabled(bool);
57 
58 protected:
59  virtual void setFromParameters(const std::vector<DtComponentSystemDefinition*>& rws);
60 
62  virtual void createControls(QWidget* widget);
63 
64  virtual bool isModified() const;
65  virtual void processUiEvent(const DtUiElementEvent& e);
66 
67  virtual void removeParameter(const DtString&);
68  virtual void parameterUpdated(const DtString&);
69 
70  virtual void setupAvailableParameters();
71 
72 public:
74 };
75 
78 {
79  Q_OBJECT
80 
81 public:
82 
85 
88 
90 
91 protected:
92  virtual void setFromParameters(const std::vector<DtComponentSystemDefinition*>& rws);
93 
95  virtual void createControls(QWidget* widget);
96 
97  virtual bool isModified() const;
98 
99  protected slots:
100  virtual void itemSelectionChanged();
101  virtual void addParameterType();
102  virtual void removeParameterType();
103 
104 public:
106  QListWidget* myAvailableKinds;
107  QHBoxLayout* myButtonLayout;
110 };
111 
114 {
115  Q_OBJECT
116 
117 public:
118 
121 
124 
126 
127  virtual void setEnabled(bool);
128 
129 protected:
130  virtual void setFromParameters(const std::vector<DtComponentSystemDefinition*>& rws) override;
131  virtual void processUiEvent(const DtUiElementEvent& e) override;
132 
134  virtual void createControls(QWidget* widget);
135 
136  virtual bool isModified() const;
137 
138 protected slots:
139  virtual void itemDoubleClicked();
140 
141 public:
143 };
144 
148 {
149  Q_OBJECT
150 
151 public:
152 
155 
157  virtual ~DtUiSystemFilename();
158 
160 
161 protected:
162  virtual void setFromParameters(const std::vector<DtComponentSystemDefinition*>& rws);
163 
165  virtual void createControls(QWidget* widget);
166  virtual bool isModified() const { return false; };
167 
168 public:
169  QLineEdit* myFilename;
170 };
171 
175 {
176  Q_OBJECT
177 
178 public:
179 
182 
184  virtual ~DtUiSystemTemplateName();
185 
187 
188 protected:
189  virtual void setFromParameters(const std::vector<DtComponentSystemDefinition*>& rws);
190 
192  virtual void createControls(QWidget* widget);
193  virtual bool isModified() const { return false; };
194 
195 public:
196  QLineEdit* myTemplateName;
197 };
DtGuiObjectsThatUseThisSystem.
Definition: uiGuiSystemSpecificInformation.h:113
QHBoxLayout * myButtonLayout
Definition: uiGuiSystemSpecificInformation.h:107
QToolButton * myRemoveButton
Definition: uiGuiSystemSpecificInformation.h:109
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:234
virtual bool isModified() const
DtGuiSystemSupportsEntityKinds.
Definition: uiGuiSystemSpecificInformation.h:77
QTreeWidget * myAvailableParameters
Definition: uiGuiSystemSpecificInformation.h:73
QListWidget * myAvailableKinds
Definition: uiGuiSystemSpecificInformation.h:106
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:188
QLabel * mySupportsEntityKindsLabel
Definition: uiGuiSystemSpecificInformation.h:105
static DtUiElement * CreatorFunction(makVrv::DtDe &)
This file will contain multiple classes which are responsible for changing elements of the system ent...
Definition: uiGuiSystemSpecificInformation.h:19
DtUiSystemTemplateName The template that is used by this system.
Definition: uiGuiSystemSpecificInformation.h:174
virtual bool isModified() const
QToolButton * myAddButton
Definition: uiGuiSystemSpecificInformation.h:108
virtual void setEnabled(bool)
If this item is not enabled it cannot be modified.
DtUiSystemFilename The filename for this system.
Definition: uiGuiSystemSpecificInformation.h:147
DtUiSimulationObjectTags The tags that are assigned to this simulation object.
Definition: uiGuiSpecificInformation.h:307
The DtUiElement class is the base for which all UI elements are defined. If you wish to create a new ...
Definition: uiElement.h:97
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
QTreeWidget * myObjectsThatUseSystem
Definition: uiGuiSystemSpecificInformation.h:142
virtual QWidget * createAndInitCategories(QWidget *)
DtUiGuiSystemAvailableParameters.
Definition: uiGuiSystemSpecificInformation.h:42
virtual void setFromParameters(const std::vector< DtReaderWriter * > &parentRw)
#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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)