VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HumbleDialogPage.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2021 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 #include <vrvCoreQt/DtPage.h>
15 
16 class HumbleDialogWidget;
17 class HumbleDialogLogic;
18 
30 {
31  Q_OBJECT;
32 
33 public:
34 
39  makVrv::DtDe& de,
40  QWidget* parent = 0,
41  Qt::WindowFlags f = Qt::Widget);
42 
44  virtual ~HumbleDialogPage();
45 
48  virtual QIcon icon();
49 
53 
56  virtual QString title();
57 
60  virtual const std::string& pageClassName() const;
61 
64  static const std::string& thePageClassName();
65 
66 protected:
67 
72  virtual void activate();
73 
78  virtual void deactivate();
79 
80 private:
81 
84 };
85 
91 
The main widget for the HumbleDialogPage. This class does not contain any application logic...
Definition: HumbleDialogWidget.h:31
virtual void activate()
Called by the Pager when this page becomes active. Called when the HumbleDialogPage is shown...
virtual ~HumbleDialogPage()
Virtual DTOR.
Contains makVrv::DtPage class declaration.
virtual QString title()
Get the title of the page. DtPage requires this function to be implemented.
Definition: DtPage.h:181
virtual const std::string & pageClassName() const
Get the class name of the page. DtPage requires this function to be implemented.
makVrv::DtPageCreatorTemplate< HumbleDialogPage > HumbleDialogPageCreator
A creator class for makVrv::HumbleDialogPage.
Definition: HumbleDialogPage.h:90
HumbleDialogPage(makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
CTOR. This constructor creates the main widget of the HumbleDialogPage. The logic is created at a lat...
Contains the plug-in export macro.
HumbleDialogLogic * myLogic
Definition: HumbleDialogPage.h:83
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:51
virtual void deactivate()
Called by the Pager when this page becomes active. Called when the HumbleDialogPage is hidden...
static const std::string & thePageClassName()
Get the class name of the page. DtPageCreatorTemplate requires this function to be implemented...
virtual makVrv::DtQIconConfigurations qIconConfigurations() const
Get the icon configurations for the page. This is used to style the page&#39;s icon based on application ...
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 QIcon icon()
Get the icon of the page. DtPage requires this function to be implemented.
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:131
The example page that will be inserted into the example dialog. This page contains a widget and logic...
Definition: HumbleDialogPage.h:29
HumbleDialogWidget * myWidget
Definition: HumbleDialogPage.h:82
The logic for the HumbleDialogWidget. This class does not have knowledge about how the widget was imp...
Definition: HumbleDialogLogic.h:27

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)