VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGotoPanel.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 #include <vrvCoreQt/vrvCoreQt.h>
11 #include <vrvCoreQt/DtPage.h>
12 
13 
14 class QVBoxLayout;
15 
16 namespace makVrv
17 {
18 
19  class DtGotoWidget;
20  class DtGotoLogic;
21 
25  {
26  Q_OBJECT
27 
28  public:
29 
31  virtual ~DtGotoPanel();
32 
34  virtual QIcon icon();
35 
38  virtual DtQIconConfigurations qIconConfigurations() const;
39 
41  virtual QString title();
42 
44  virtual const std::string& pageClassName() const;
45 
47  boost::signalslib::signal<void(const QRect*)> signal_resized;
48 
49  protected:
51  friend class DtGotoPanelCreator;
52 
54  DtGotoPanel(DtDe& de, QWidget* parent = 0, Qt::WindowFlags f = 0);
55 
56 
58  virtual void activate();
59 
61  virtual void deactivate();
62 
64  virtual void resizeEvent(QResizeEvent * event);
65 
66  protected:
67  std::string myClassName;
68  QVBoxLayout* myLayout;
71  };
72 
73 
77  {
78  public:
79 
82 
84  virtual ~DtGotoPanelCreator();
85 
89  virtual std::string pageClassName() const;
90 
92  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
93  };
94 }
95 
96 
std::string myClassName
Definition: DtGotoPanel.h:67
Contains makVrv::DtPage class.
Definition: DtGotoLogic.h:31
DtGotoWidget * myWidget
Definition: DtGotoPanel.h:69
The page creator. This class should be extended by all page classes.
Definition: DtPage.h:121
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
boost::signalslib::signal< void(const QRect *)> signal_resized
Signal emitted when the panel receives a resize event.
Definition: DtGotoPanel.h:47
Contains DLL export macros.
The creator class needed to be used to create a DtGotoPanel.
Definition: DtGotoPanel.h:76
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:30
DtGotoLogic * myLogic
Definition: DtGotoPanel.h:70
Panel to display the DtGotoWidget.
Definition: DtGotoPanel.h:24
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
DtGotoWidget declaration. The DtGotoWidget and DtGotoLogic work together to provide a user interface ...
Definition: DtGotoWidget.h:54
QVBoxLayout * myLayout
Definition: DtGotoPanel.h:68

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)