VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ReplacementDialogPage.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 
12 #include <vrvCoreQt/vrvCoreQt.h>
13 #include <vrvCoreQt/DtPage.h>
14 
15 #include <QtCore/QString>
16 #include <QtGui/QIcon>
17 
18 namespace makVrv
19 {
20  class DtPersistenceToolbarWidget;
21 }
22 
24 class DerivedDialogLogic;
25 
26 
39 {
40  Q_OBJECT;
41 
42 public:
43 
48  makVrv::DtDe& de,
49  QWidget* parent = 0,
50  Qt::WindowFlags f = Qt::Widget);
51 
55  virtual ~ReplacementDialogPage();
56 
59  virtual QIcon icon();
60 
65 
68  virtual QString title();
69 
72  virtual const std::string& pageClassName() const;
73 
76  static const std::string& thePageClassName();
77 
78 protected:
79 
83  virtual void activate();
84 
89  virtual void deactivate();
90 
91 protected:
92 
96 };
97 
103 
A widget that displays a persistence GUI in some way Operations presented are import, export, save, and restore.
Definition: DtPersistenceToolbarWidget.h:26
DerivedDialogWidget * myWidget
Definition: ReplacementDialogPage.h:94
virtual void deactivate()
Called by the pager when this page is deactivated and hidden. This function disconnects the logic for...
Contains makVrv::DtPage class.
Contains DLL export macros.
static const std::string & thePageClassName()
Get the class name of the page. makVrv::DtPageCreatorTemplate requires this function to be implemente...
virtual QString title()
Get the title of the page. makVrv::DtPage requires this function to be implemented.
Definition: DtPage.h:150
virtual QIcon icon()
Get the icon of the page. makVrv::DtPage requires this function to be implemented.
The logic for the widget. This class does not have knowledge about how the widget was implemented...
Definition: DerivedDialogLogic.h:35
makVrv::DtPersistenceToolbarWidget * myToolbar
Definition: ReplacementDialogPage.h:93
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:30
DerivedDialogLogic * myLogic
Definition: ReplacementDialogPage.h:95
The example dialog-page that will be inserted into the dialog. This page contains a widget and logic ...
Definition: ReplacementDialogPage.h:38
virtual void activate()
Called by the pager when this page is activated and shown. This function creates the logic and connec...
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 ...
virtual ~ReplacementDialogPage()
DTOR. This destructor destroys both the main widget and the logic for the ReplacementDialogPage.
makVrv::DtPageCreatorTemplate< ReplacementDialogPage > ReplacementDialogPageCreator
A creator class for ReplacementDialogPage.
Definition: ReplacementDialogPage.h:102
The main widget for the dialog-page. This class does not contain any application logic, but instead delegates the logic to another object (a logic-object) through signals emitted via the interface of this class. The interface allows the widget or logic to be independently re-factored without affecting the other. This widget extends the existing makVrv::DtLoaderSettingsWidget by adding a new checkbox which (when checked/unchecked) enables/disables the Flip DDS checkbox already existing in the base class.
Definition: DerivedDialogWidget.h:31
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:70
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:75
virtual const std::string & pageClassName() const
Get the class name of the page. makVrv::DtPage requires this function to be implemented.
ReplacementDialogPage(makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
CTOR. This constructor creates the main widget of the ReplacementDialogPage. The logic is created at ...

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)