VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAggregateMenuItems.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 #pragma once
9 
10 #include <vrvVrlQt/vrvVrlQt.h>
11 
12 #include <vrvCoreQt/DtMenuItem.h>
13 #include <vrvCoreQt/DtMenu.h>
14 
15 #include <QtWidgets/QMenu>
16 
17 namespace makVrv
18 {
19  class DtDe;
20 
25  {
26  public:
29 
31  virtual ~DtExpandAggregateMenuItem();
32 
34  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
35 
36  protected:
38  virtual void on_aboutToShow();
39 
41  virtual void on_triggered();
42 
43  protected:
46  };
47 
48 
53  {
54  public:
57 
60 
62  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
63 
64  protected:
66  virtual void on_aboutToShow();
67 
69  virtual void on_triggered();
70 
71  protected:
74  };
75 
76 
81  {
82  public:
85 
87  virtual ~DtCollapseAggregateMenuItem();
88 
90  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
91 
92  protected:
94  virtual void on_aboutToShow();
95 
97  virtual void on_triggered();
98 
99  protected:
102  };
103 
104 
108  {
109  public:
112 
115 
117  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
118 
119  protected:
121  virtual void on_aboutToShow();
122 
124  virtual void on_triggered();
125 
126  protected:
129  };
130 
131 
136  {
137  public:
140 
142  virtual ~DtResetToAutomaticMenuItem();
143 
145  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
146 
147  protected:
149  virtual void on_aboutToShow();
150 
152  virtual void on_triggered();
153 
154  protected:
157  };
158 
159 
164  {
165  public:
168 
171 
173  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
174 
175  protected:
177  virtual void on_aboutToShow();
178 
180  virtual void on_triggered();
181 
182  protected:
185  };
186 
191  {
192  public:
193 
195  DtUnitMenu(DtDe& de);
196 
198  virtual ~DtUnitMenu();
199 
201  virtual QMenu* createMenu(DtDe&, QWidget* parent);
202 
203  };
204 
205  }
makVrv::DtDe & myDe
Definition: DtAggregateMenuItems.h:155
Builder for menu items.
Definition: DtMenuItem.h:23
&quot;Unit&quot; Menu builder for the right click context menu. The menu string is &quot;DtUnitMenu&quot; ...
Definition: DtAggregateMenuItems.h:190
A menu item to reset selected aggregates to automatic expansion/collapse control. ...
Definition: DtAggregateMenuItems.h:135
makVrv::DtDe & myDe
Definition: DtAggregateMenuItems.h:183
QAction * myAction
Definition: DtAggregateMenuItems.h:128
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
QAction * myAction
Definition: DtAggregateMenuItems.h:101
makVrv::DtDe & myDe
Definition: DtAggregateMenuItems.h:100
Contains DLL export macros.
QAction * myAction
Definition: DtAggregateMenuItems.h:156
QAction * myAction
Definition: DtAggregateMenuItems.h:73
QAction * myAction
Definition: DtAggregateMenuItems.h:45
A menu item to collapse all hierarchy up to the top level parent.
Definition: DtAggregateMenuItems.h:107
makVrv::DtDe & myDe
Definition: DtAggregateMenuItems.h:72
A menu item to expand the currently selected aggregate all the way down to leaf nodes.
Definition: DtAggregateMenuItems.h:52
The abstract base menu class.
Definition: DtMenu.h:23
QAction * myAction
Definition: DtAggregateMenuItems.h:184
A menu item to collapse the selected aggregate to its immediate superior.
Definition: DtAggregateMenuItems.h:80
A menu item to reset all aggregates to automatic expansion/collapse control.
Definition: DtAggregateMenuItems.h:163
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
A menu item to expand the currently selected aggregate to display immediate subordinates.
Definition: DtAggregateMenuItems.h:24
makVrv::DtDe & myDe
Definition: DtAggregateMenuItems.h:44
makVrv::DtDe & myDe
Definition: DtAggregateMenuItems.h:127

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)