VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtPageWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
8 #pragma once
9 
13 
14 #include <QtWidgets/QWidget>
15 
16 class QHBoxLayout;
17 class QLabel;
18 
19 namespace makVrv
20 {
21  class DtDe;
22 }
23 
24 namespace makVrf
25 {
28  {
29  Q_OBJECT
30 
31  public:
32 
33  DtQtPageWidget(makVrv::DtDe& de, const std::string& name, QWidget* parent);
34 
35  virtual ~DtQtPageWidget() override;
36 
37  protected:
38  virtual void changeVisibility(bool) override;
39 
40  virtual void finalizeSetup();
41  virtual void slot_mainWidgetSet(QWidget* mw);
42  virtual void slot_changingMainWidget(QWidget* old, QWidget* aboutToBe);
43 
46 
48  virtual void changeFloatingGeometry(int px, int py, int width, int height) override {};
49 
52 
54  virtual void changeDockedGeometry(int px, int py, int width, int height) override {};
55 
58 
60  virtual void selectPage(const std::string& pageClassName) override {};
61 
63  virtual void addPageToGui(makVrv::DtPage*) override;
64 
66  virtual void removePageFromGui(makVrv::DtPage*) override;
67 
69  virtual void selectPageInGui(makVrv::DtPage* page) override {};
70 
71  protected:
73  boost::signals2::connection mySetupConnection;
74  };
75 }
The DtQtPageCollection is an abstract class which implements the page collection interface, and can be used extended by specific Qt implementations such as a tabbed panel or dialog.
Definition: DtQtPageCollection.h:23
virtual void selectPage(const std::string &pageClassName) override
Implement selecting a page by name.
Definition: qtPageWidget.h:60
Contains makVrv::DtQtPageCollection class.
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
PageCollectionLocation
Definition: DtPageConfiguration.h:42
boost::signals2::connection mySetupConnection
Definition: qtPageWidget.h:73
Definition: DtPageConfiguration.h:56
virtual void changeDockedGeometry(int px, int py, int width, int height) override
Implement changing the docked geometry of the collection.
Definition: qtPageWidget.h:54
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The page widget class is a simple class that is a widget that has a horizontal layout that will add w...
Definition: qtPageWidget.h:27
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:51
virtual void changeFloatingGeometry(const makVrv::DtPageConfiguration::PageCollectionGeometry &geometry) override
Implement changing the floating geometry of the collection.
Definition: qtPageWidget.h:51
virtual void selectPageInGui(makVrv::DtPage *page) override
Implement selecting a page in the GUI.
Definition: qtPageWidget.h:69
virtual void changeLocation(makVrv::DtPageConfiguration::PageCollectionLocation) override
Implement changing the location of the collection.
Definition: qtPageWidget.h:45
Base class to provide boost signal/slot management.
virtual void changeDockedGeometry(const makVrv::DtPageConfiguration::PageCollectionGeometry &geometry) override
Implement changing the docked geometry of the collection.
Definition: qtPageWidget.h:57
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
virtual void changeFloatingGeometry(int px, int py, int width, int height) override
Implement changing the floating geometry of the collection.
Definition: qtPageWidget.h:48

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)