VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
viewMenuItems.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <vrvCoreQt/DtMenuItem.h>
15 #include <vrvCoreQt/DtMenu.h>
18 
19 #include <map>
20 
21 class QActionGroup;
22 
23 namespace makVrf
24 {
25  class DtLayoutManagerWidget;
26 
29  {
30  public:
31  //CTOR
33 
34  //DTOR
35  virtual ~DtLayoutSettingsDialogItem() override;
36 
38  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent) override;
39 
40  protected:
41  virtual void on_triggered() override;
42  virtual void dialogDestroyed();
43 
44  protected:
47  };
48 
51  {
52  public:
53  //CTOR
55 
56  //DTOR
57  virtual ~DtNewChatMessageWindowMenuItem() override;
58 
60  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent) override;
61 
62  protected:
63  virtual void on_triggered() override;
64 
65  protected:
67  };
68 
71  {
72  public:
73  //CTOR
75 
76  //DTOR
77  virtual ~DtRevertCurrentLayoutMenuItem() override;
78 
80  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent) override;
81 
82  protected:
83  virtual void on_triggered() override;
84 
85  protected:
87  };
88 
92  {
93  Q_OBJECT
94 
95  public:
96 
99 
101  virtual ~DtSelectLayoutMenu() override;
102 
104  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent) override;
105 
106  protected:
107  virtual void setupMenuFromLayouts();
108 
109  virtual void slot_onLayoutAdded(const DtString&);
110  virtual void slot_onLayoutSelected(const DtString&, const DtString&);
111  virtual void slot_onLayoutDeleted(const DtString&);
112  virtual void slot_onLayoutRenamed(const DtString& oldName, const DtString& newName);
113 
114  virtual void setSelected(const DtString&, bool);
115 
116  protected slots:
117  virtual void changeUILayout();
118 
119  protected:
121  QActionGroup* myActionGroup;
122  std::map<DtString, QAction*> myActions;
123  std::string myMenuPath;
125  };
126 
129  {
130  public:
131 
134 
136  virtual ~DtToolbarViewMenu() override;
137 
139  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent) override;
140  };
141 
144  {
145  public:
146 
149 
151  virtual ~DtPaletteViewMenu() override;
152 
154  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent) override;
155  };
156 }
Builder for menu items.
Definition: DtMenuItem.h:23
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
QMenu * myMenu
Definition: viewMenuItems.h:120
Opens a new chat window dialog.
Definition: viewMenuItems.h:50
makVrv::DtDe & myDe
Definition: viewMenuItems.h:45
std::string myMenuPath
Definition: viewMenuItems.h:123
QActionGroup * myActionGroup
Definition: viewMenuItems.h:121
Reverts the currently selected layout.
Definition: viewMenuItems.h:70
makVrv::DtDe & myDe
Definition: viewMenuItems.h:66
std::map< DtString, QAction * > myActions
Definition: viewMenuItems.h:122
makVrv::DtDe & myDe
Definition: viewMenuItems.h:86
A builder for the saved layouts that exist in the settings directory. Once a menu item from this is s...
Definition: viewMenuItems.h:91
The DtLayoutManagerWidget class allows for the managing (adding, setting and deleting) of UI Layout c...
Definition: layoutManagerWidget.h:28
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Brings up the dialog to allow the user to manage saved UI layputs.
Definition: viewMenuItems.h:28
DtLayoutManagerWidget * myLayoutManager
Definition: viewMenuItems.h:46
The abstract base menu class.
Definition: DtMenu.h:23
Base class to provide boost signal/slot management.
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
makVrv::DtSignalConnectionManager myConnections
Definition: viewMenuItems.h:124
Submenu for toolbar items on view menu.
Definition: viewMenuItems.h:128
Submenu for palette items on view menu.
Definition: viewMenuItems.h:143

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)