VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
emitterInformationPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #if !defined(Q_MOC_RUN)
15 #endif
16 
17 class QHBoxLayout;
18 class QLabel;
19 class QComboBox;
20 class QGridLayout;
21 
22 namespace makVrf
23 {
24  class DtEmitterSystemStateComponent;
25  class DtStateComponent;
26 
27  namespace makVrfGuiObjectInformationQt
28  {
30  {
31  Q_OBJECT
32 
33  public:
34 
36  DtEmitterInformationPage(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::SubWindow);
37 
39  virtual ~DtEmitterInformationPage() override;
40 
42  virtual QIcon icon() override;
43 
46  virtual makVrv::DtQIconConfigurations qIconConfigurations() const override;
47 
49  virtual QString title() override;
50 
52  virtual const std::string& pageClassName() const override;
53 
55  static const std::string& thePageClassName();
56 
57  virtual DtInformationDialogPageLogic* createLogic() override;
58 
59  public:
61  virtual void clearEmitters();
62 
64  virtual void addEmitterSystem(makVrv::DtUniqueID, const QString& name);
65 
67  virtual void removeEmitterSystem(makVrv::DtUniqueID);
68 
70  virtual makVrv::DtUniqueID selectedEmitterSystem() const;
71 
73  virtual int numberOfBeams() const;
74 
76  virtual void setNumberOfBeams(int);
77 
79  virtual void setLocationLabel(const QString&);
80  virtual void setLocation(const QString&);
81  virtual void setEmissionType(const QString&);
82  virtual void signalToAddWhenReady(bool, DtSimObjectReference s) override;
83  virtual const DtEmitterSystemStateComponent* selectedEmitterSystemStateComponent() const;
84 
85  protected:
86  virtual ShowStatus setupGui(DtSimObjectReference) override;
87  virtual void activate() override;
88  virtual void slot_onStateComponentAdded(DtStateComponent*);
89 
90  protected slots:
91  virtual void onSelectedEmitter();
92 
93  public:
94  QHBoxLayout* mySystemsLayout;
97 
98  QGridLayout* myGridLayout;
99 
102 
105 
106  protected:
107  boost::signals2::connection myEmitterSystemComponentAddedConnection;
108  bool myNeedsPageSignal = false;
109  };
110 
113  }
114 }
boost::signals2::connection myEmitterSystemComponentAddedConnection
Definition: emitterInformationPage.h:107
QLabel * myEmissionTypeLabel
Definition: emitterInformationPage.h:103
QLabel * mySystemsLabel
Definition: emitterInformationPage.h:95
QGridLayout * myGridLayout
Definition: emitterInformationPage.h:98
QLabel * myEmissionType
Definition: emitterInformationPage.h:104
Definition: DtPage.h:181
Contains makVrv::DtInformationDialogPage class.
makVrv::DtPageCreatorTemplate< DtEmitterInformationPage > DtEmitterInformationPageCreator
Definition: emitterInformationPage.h:112
QHBoxLayout * mySystemsLayout
Definition: emitterInformationPage.h:94
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
QLabel * myLocationLabel
Definition: emitterInformationPage.h:100
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: emitterSystemStateComponent.h:466
Definition: stateComponent.h:52
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:24
QLabel * myLocation
Definition: emitterInformationPage.h:101
ShowStatus
Definition: informationDialogPage.h:264
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
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:131
QComboBox * mySystems
Definition: emitterInformationPage.h:96

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)