VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
iffPage.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 QTabWidget;
18 class QSpacerItem;
19 
20 namespace makVrf
21 {
22  class DtStateComponent;
23 
24  namespace makVrfGuiObjectInformationQt
25  {
27  {
28  Q_OBJECT
29 
30  public:
31 
33  DtIffPage(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::SubWindow);
34 
36  virtual ~DtIffPage() override;
37 
38  public:
39 
41  virtual QIcon icon() override;
42 
45  virtual makVrv::DtQIconConfigurations qIconConfigurations() const override;
46 
48  virtual QString title() override;
49 
51  virtual const std::string& pageClassName() const override;
52 
54  static const std::string& thePageClassName();
55 
56  virtual DtInformationDialogPageLogic* createLogic() override;
57 
59  virtual void addPage();
60 
62  virtual void removePage();
63 
65  virtual void setPageId(int, makVrv::DtElementID);
66 
68  virtual int numPages() const;
69 
71  virtual ShowStatus setupGui(DtSimObjectReference s) override;
72  virtual void signalToAddWhenReady(bool, DtSimObjectReference s) override;
73  virtual const DtIffStateComponent* iffStateComponent(int page) const;
74  virtual const DtIffStateComponent* selectedIffStateComponent() const;
75 
76  protected:
77  virtual QWidget* createPageContents(ShowStatus&) override;
78 
79  virtual void activate() override;
80  virtual void deactivate() override;
81  virtual void slot_onStateComponentAdded(DtStateComponent* c);
82 
83  protected slots:
84  virtual void update();
85 
86  public:
88 
89  protected:
90  boost::signals2::connection myIffComponentAddedConnection;
91  bool myNeedsPageSignal = false;
92  };
93 
96  }
97 }
makVrv::DtPageCreatorTemplate< DtIffPage > DtIffPageCreator
Definition: iffPage.h:95
boost::signals2::connection myIffComponentAddedConnection
Definition: iffPage.h:90
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
Definition: DtPage.h:181
QTabWidget * myTabWidget
Definition: iffPage.h:87
Contains makVrv::DtInformationDialogPage class.
Definition: stateComponent.h:52
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:24
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
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: iffStateComponent.h:83

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)