VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
selectionGroupActions.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <vrvCoreQt/DtMenu.h>
15 #include <vrvCoreQt/DtMenuItem.h>
16 
17 #include <QObject>
18 
19 namespace makVrf
20 {
23  {
24  public:
25  //CTOR
27 
28  //DTOR
29  virtual ~DtVrfSelectionGroupMenu();
30 
32  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
33  };
34 
39  {
40  Q_OBJECT
41  public:
42  //CTOR
44 
45  //DTOR
47 
49  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
50 
51  protected slots:
52  virtual void onAboutToShow();
53 
55  virtual void onSelectSelectionGroup();
56  };
57 
61  {
62  Q_OBJECT
63  public:
64  //CTOR
66 
67  //DTOR
69 
71  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
72 
73  protected slots:
74  virtual void onAboutToShow();
75 
77  virtual void addItemsToSelectionGroup();
78  };
79 
83  {
84  Q_OBJECT
85  public:
86  //CTOR
88 
89  //DTOR
91 
93  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
94 
95  protected slots:
96  virtual void onAboutToShow();
97 
99  virtual void removeItemsFromSelectionGroup();
100  };
101 
104  {
105  Q_OBJECT
106 
107  public:
108  //CTOR
110 
111  //DTOR
113 
115  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
116 
117  protected:
119  virtual void on_aboutToShow();
120 
121  virtual void on_triggered();
122 
123  protected:
126  };
127 
130  {
131  public:
132  //CTOR
134 
135  //DTOR
136  virtual ~DtZoomToExtentsAction();
137 
139  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
140 
141  protected:
142  virtual void on_triggered();
143 
144  protected:
147  };
148 }
makVrv::DtDe & myDe
Definition: selectionGroupActions.h:124
Self configuring menu, that, when shown, will show all the current selection groups in the scenario t...
Definition: selectionGroupActions.h:60
Builder for menu items.
Definition: DtMenuItem.h:23
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
Self configuring menu that will show all the selection grups this item belongs to.
Definition: selectionGroupActions.h:82
QAction * myAction
Definition: selectionGroupActions.h:125
Zooms to extents of selected entities.
Definition: selectionGroupActions.h:129
Root menu for selection group menu items.
Definition: selectionGroupActions.h:22
Self configuring menu, that, when shown, will show all the current selection groups in the scenario t...
Definition: selectionGroupActions.h:38
Shows a dialog to create a new selection group to add the current selection to.
Definition: selectionGroupActions.h:103
The abstract base menu class.
Definition: DtMenu.h:23
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
makVrv::DtDe & myDe
Definition: selectionGroupActions.h:145
QAction * myAction
Definition: selectionGroupActions.h:146

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)