VR-Forces 4.10 Class Documentation
 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) 2020 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 
37  virtual QString title();
38 
40  virtual const std::string& pageClassName() const;
41 
43  boost::signalslib::signal<void(const QRect*)> signal_resized;
44 
45  protected:
47  friend class DtGotoPanelCreator;
48 
50  DtGotoPanel(DtDe& de, QWidget* parent = 0, Qt::WindowFlags f = 0);
51 
52 
54  virtual void activate();
55 
57  virtual void deactivate();
58 
60  virtual void resizeEvent(QResizeEvent * event);
61 
62  protected:
63  std::string myClassName;
64  QVBoxLayout* myLayout;
67  };
68 
69 
73  {
74  public:
75 
78 
80  virtual ~DtGotoPanelCreator();
81 
85  virtual std::string pageClassName() const;
86 
88  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
89  };
90 }
91 
92 
std::string myClassName
Definition: DtGotoPanel.h:63
Contains makVrv::DtPage class.
Definition: DtGotoLogic.h:30
DtGotoWidget * myWidget
Definition: DtGotoPanel.h:65
The page creator.
Definition: DtPage.h:114
#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:43
Contains DLL export macros.
The creator class needed to be used to create a DtGotoPanel.
Definition: DtGotoPanel.h:72
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:27
DtGotoLogic * myLogic
Definition: DtGotoPanel.h:66
Panel to display the DtGotoWidget.
Definition: DtGotoPanel.h:24
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtGotoWidget declaration.
Definition: DtGotoWidget.h:54
QVBoxLayout * myLayout
Definition: DtGotoPanel.h:64

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)