VR-Forces 4.2 Class Documentation
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>
17 #include <vrvCoreQt/DtWidgetBuilder.h>
18 
21 
22 #include <QtGui/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 
41  class DT_DLL_VRFGUICOREQT DtVrfOverlaySelectionListToolbar : public makVrv::DtToolbar
42  {
43  public:
44 
46  DtVrfOverlaySelectionListToolbar(makVrv::DtDe&);
47 
50 
52  virtual QToolBar* createToolbar(makVrv::DtDe&, QWidget* parent);
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();
70 
71  virtual void addOverlay(const std::string& name);
72 
73  virtual void removeOverlay(const std::string& name);
74 
75  virtual void renameOverlay(const std::string& oldName, const std::string& newName);
76 
77  virtual void selectOverlay(const std::string& name);
78 
79  protected:
81  void setupUi(QWidget* p);
82 
83  protected slots:
84  virtual void onItemSelectionChanged();
85 
86  protected:
87  makVrv::DtDe& myDe;
89 
90  public:
91  QHBoxLayout* myMainLayout;
92  QLabel* myLabel;
94  };
95 
96  class DT_DLL_VRFGUICOREQT DtVrfOverlaySelectionListBuilder : public makVrv::DtWidgetBuilder
97  {
98 
99  public:
100 
102 
104 
105  virtual QWidget* create( makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
106  };
107 }
108 

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)