VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtExamplePage.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 namespace makVrv
17 {
18 
19  class DtDe;
20  class DtExampleWidget;
21  class DtExampleLogic;
22  class DtPersistenceToolbarWidget;
23 
27  { Q_OBJECT;
28  public:
29 
31  DtExamplePage( DtDe& de, QWidget* parent = 0,
32  Qt::WindowFlags f = Qt::Widget );
33 
35  virtual ~DtExamplePage();
36 
38  virtual QIcon icon();
39 
42  virtual DtQIconConfigurations qIconConfigurations() const;
43 
45  virtual QString title();
46 
48  virtual const std::string& pageClassName() const;
49 
51  static const std::string& thePageClassName();
52 
53  protected:
54 
56  void setupGui();
57 
59  virtual void activate();
60 
62  virtual void deactivate();
63 
64  protected:
65 
69 
70  };
71 
75 }
A widget that displays a persistence GUI in some way Operations presented are import, export, save, and restore.
Definition: DtPersistenceToolbarWidget.h:26
#define DT_DLL_EXAMPLEDIALOGPAGE
Definition: exampleDialogPagePlugin.h:19
Contains makVrv::DtPage class.
Example Page that goes into the example dialog.
Definition: DtExamplePage.h:26
DtExampleLogic * myLogic
Definition: DtExamplePage.h:68
Example Logic (based on humble dialog pattern).
Definition: DtExampleLogic.h:25
DtPageCreatorTemplate< DtExamplePage > DtExamplePageCreator
A creator class for makVrv::DtExamplePage.
Definition: DtExamplePage.h:74
Contains DLL export macros.
Definition: DtPage.h:150
DtPersistenceToolbarWidget * myToolbar
Definition: DtExamplePage.h:67
DtExampleWidget * myWidget
Definition: DtExamplePage.h:66
Example Widget that is part of the example page. Based on the humble dialog pattern.
Definition: DtExampleWidget.h:25
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:30
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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)