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 QTabBar;
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 int numPages() const;
66 
68  virtual ShowStatus setupGui(DtSimObjectReference s) override;
69  virtual void signalToAddWhenReady(bool, DtSimObjectReference s) override;
70  virtual const DtIffStateComponent* iffStateComponent(int page) const;
71  virtual const DtIffStateComponent* selectedIffStateComponent() const;
72 
73  protected:
74  virtual QWidget* createPageContents(ShowStatus&) override;
75 
76  virtual void activate() override;
77  virtual void deactivate() override;
78  virtual void slot_onStateComponentAdded(DtStateComponent* c);
79 
80  protected slots:
81  virtual void update();
82 
83  public:
85  QWidget* myCanvas = nullptr;
86 
87  protected:
88  boost::signals2::connection myIffComponentAddedConnection;
89  bool myNeedsPageSignal = false;
90  };
91 
94  }
95 }
makVrv::DtPageCreatorTemplate< DtIffPage > DtIffPageCreator
Definition: iffPage.h:93
boost::signals2::connection myIffComponentAddedConnection
Definition: iffPage.h:88
Definition: DtPage.h:181
Contains makVrv::DtInformationDialogPage class.
QTabBar * myTabBar
Definition: iffPage.h:84
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:102

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)