VR-Forces 4.8 Class Documentation
 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) 2012 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 
63  virtual QString title();
64 
67  virtual const std::string& pageClassName() const;
68 
71  static const std::string& thePageClassName();
72 
73 protected:
74 
78  virtual void activate();
79 
84  virtual void deactivate();
85 
86 protected:
87 
91 };
92 
98 
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:89
virtual void deactivate()
Called by the pager when this page is deactivated and hidden.
Contains makVrv::DtPage class.
Contains DLL export macros.
static const std::string & thePageClassName()
Get the class name of the page.
virtual QString title()
Get the title of the page.
Definition: DtPage.h:146
virtual QIcon icon()
Get the icon of the page.
The logic for the widget.
Definition: DerivedDialogLogic.h:35
makVrv::DtPersistenceToolbarWidget * myToolbar
Definition: ReplacementDialogPage.h:88
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:30
DerivedDialogLogic * myLogic
Definition: ReplacementDialogPage.h:90
The example dialog-page that will be inserted into the dialog.
Definition: ReplacementDialogPage.h:38
virtual void activate()
Called by the pager when this page is activated and shown.
virtual ~ReplacementDialogPage()
DTOR.
makVrv::DtPageCreatorTemplate< ReplacementDialogPage > ReplacementDialogPageCreator
A creator class for ReplacementDialogPage.
Definition: ReplacementDialogPage.h:97
The main widget for the dialog-page.
Definition: DerivedDialogWidget.h:31
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
virtual const std::string & pageClassName() const
Get the class name of the page.
ReplacementDialogPage(makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
CTOR.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)