VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfOverlaySelectionList.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: vrfOverlaySelectionList.h,v $ $Revision: 1.1 $ $State: Exp $
7 ******************************************************************************/
8 
11 
13 
14 #pragma once
15 
16 #include <vrvCoreQt/DtToolbar.h>
18 
21 
22 #include <QtWidgets/QWidget>
23 
24 class QComboBox;
25 class QVBoxLayout;
26 class QHBoxLayout;
27 class QLabel;
28 
29 namespace makVrv
30 {
31  class DtDe;
32 }
33 
34 namespace makVrf
35 {
36  class DtVrfOverlaySelectionListLogic;
37 
42  {
43  public:
44 
47 
49  virtual ~DtVrfOverlaySelectionListToolbar() override;
50 
52  virtual QToolBar* createToolbar(makVrv::DtDe&, QWidget* parent) override;
53 
54  };
55 
56 
59  : public QWidget
61  {
62  Q_OBJECT
63 
64  public:
66  DtVrfOverlaySelectionCombo( makVrv::DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
67 
69  virtual ~DtVrfOverlaySelectionCombo() override;
70 
71  virtual void addOverlay(const std::string& name) override;
72 
73  virtual void removeOverlay(const std::string& name) override;
74 
75  virtual void renameOverlay(const std::string& oldName, const std::string& newName) override;
76 
77  virtual void selectOverlay(const std::string& name) override;
78 
79  protected:
81  void setupUi(QWidget* p);
82 
83  protected slots:
84  virtual void onItemSelectionChanged();
85 
86  protected:
89 
90  public:
91  QHBoxLayout* myMainLayout;
94  };
95 
97  {
98 
99  public:
100 
102 
103  virtual ~DtVrfOverlaySelectionListBuilder() override;
104 
105  virtual QWidget* create(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags) override;
106  };
107 }
108 
Contains makVrv::DtWidgetBuilder class.
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
The base class for VR-Vantage toolbars.
Definition: DtToolbar.h:26
QComboBox * myOverlays
Definition: vrfOverlaySelectionList.h:93
QHBoxLayout * myMainLayout
Definition: vrfOverlaySelectionList.h:91
QLabel * myLabel
Definition: vrfOverlaySelectionList.h:92
Abstract interface for the overlay selection toolbar list widget.
Definition: vrfOverlaySelectionListInterface.h:24
A widget class for managing overlays.
Definition: vrfOverlaySelectionList.h:58
A builder for the overlay selection list toolbar. The menu string is &quot;DtVrfOverlaySelectionListToolba...
Definition: vrfOverlaySelectionList.h:41
DtVrfOverlaySelectionListLogic * myLogic
Definition: vrfOverlaySelectionList.h:88
makVrv::DtDe & myDe
Definition: vrfOverlaySelectionList.h:87
Contains makVrv::DtToolbar class declaration.
Definition: vrfOverlaySelectionListLogic.h:28
Definition: vrfOverlaySelectionList.h:96
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:76
This class is the generic builder base class for building a widget.
Definition: DtWidgetBuilder.h:22

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)