VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
switchNodesStatesWidget.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2018 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 #pragma once
6 
11 
12 #include <QtWidgets/QDialog>
13 
14 namespace makVrv
15 {
16  class DtDe;
17 }
18 
19 class QTreeWidget;
20 class QVBoxLayout;
21 class QTreeWidgetItem;
22 class QPushButton;
23 
26 {
27  Q_OBJECT
28 
29 public:
32 
33  virtual ~DtSwitchNodesStatesWidget() override;
34 
35  virtual void activateSwitchNodeState(int);
36 
37 protected:
38  virtual void addAdditionalEntitySwitches();
39  virtual void addAirLightGroups();
40  virtual void addSurfaceLightGroups();
41  virtual void addSpinBox(const QString& title, const std::string& value);
42 
43  virtual void slot_facadesCreated(const DtDisplayDefinitionWidget::Facades&);
44  virtual void changeModelState(QComboBox*, int index);
45 
46 protected slots:
47  virtual void modelStateChanged(QTreeWidgetItem*, int);
48  virtual void changeModelState(int);
49  virtual void changeLightGroup(int);
50 
51 public:
53  QVBoxLayout* myMainLayout;
56 
57 protected:
62 };
63 
66 {
67 public:
70 
72  virtual ~DtSwitchNodesStatesWidgetCreator() override;
73 
76 
78  static void registerInstance(makVrv::DtDe&, DtSwitchNodesStatesWidgetCreator*);
79 
81  virtual DtSwitchNodesStatesWidget* create(QWidget* parent);
82 
83 protected:
85 };
This class will allow the user to select various switch node and articulated parts effects for entiti...
Definition: switchNodesStatesWidget.h:25
makVrv::DtDe & myDe
Definition: switchNodesStatesWidget.h:58
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Creator for the canvas.
Definition: switchNodesStatesWidget.h:65
QVBoxLayout * myMainLayout
Definition: switchNodesStatesWidget.h:53
QTreeWidget * mySwitchNodeStates
Definition: switchNodesStatesWidget.h:52
DtDisplayDefinitionWidget::Facades myFacades
Definition: switchNodesStatesWidget.h:61
makVrv::DtSignalConnectionManager myConnections
Definition: switchNodesStatesWidget.h:59
QPushButton * myCloseButton
Definition: switchNodesStatesWidget.h:55
Contains makVrv::DtVirtualBaseClass class.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
bool myAddingStates
Definition: switchNodesStatesWidget.h:60
std::vector< makVrf::DtVrfObjectFacadeInterface * > Facades
Definition: displayDefinitionWidget.h:189
makVrv::DtDe & myDe
Definition: switchNodesStatesWidget.h:84
Base class to provide boost signal/slot management.
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
QLabel * myLabel
Definition: switchNodesStatesWidget.h:54
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33

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)