VR-Forces 5.0.1 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();
36 
38  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
39 
40  protected:
41  virtual void on_triggered();
42  virtual void dialogDestroyed();
43 
44  protected:
47  };
48 
51  {
52  public:
53  //CTOR
55 
56  //DTOR
58 
60  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
61 
62  protected:
63  virtual void on_triggered();
64 
65  protected:
67  };
68 
72  {
73  Q_OBJECT
74 
75  public:
76 
79 
81  virtual ~DtSelectLayoutMenu();
82 
84  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
85 
86  protected:
87  virtual void setupMenuFromLayouts();
88 
89  virtual void slot_onLayoutAdded(const DtString&);
90  virtual void slot_onLayoutSelected(const DtString&, const DtString&);
91  virtual void slot_onLayoutDeleted(const DtString&);
92  virtual void slot_onLayoutRenamed(const DtString& oldName, const DtString& newName);
93 
94  virtual void setSelected(const DtString&, bool);
95 
96  protected slots:
97  virtual void changeUILayout();
98 
99  protected:
101  QActionGroup* myActionGroup;
102  std::map<DtString, QAction*> myActions;
103  std::string myMenuPath;
105  };
106 
109  {
110  public:
111 
114 
116  virtual ~DtToolbarViewMenu();
117 
119  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
120  };
121 
124  {
125  public:
126 
129 
131  virtual ~DtPaletteViewMenu();
132 
134  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
135  };
136 }
Builder for menu items.
Definition: DtMenuItem.h:23
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
QMenu * myMenu
Definition: viewMenuItems.h:100
makVrv::DtDe & myDe
Definition: viewMenuItems.h:45
std::string myMenuPath
Definition: viewMenuItems.h:103
QActionGroup * myActionGroup
Definition: viewMenuItems.h:101
Reverts the currently selected layout.
Definition: viewMenuItems.h:50
std::map< DtString, QAction * > myActions
Definition: viewMenuItems.h:102
makVrv::DtDe & myDe
Definition: viewMenuItems.h:66
A builder for the saved layouts that exist in the settings directory. Once a menu item from this is s...
Definition: viewMenuItems.h:71
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:70
makVrv::DtSignalConnectionManager myConnections
Definition: viewMenuItems.h:104
Submenu for toolbar items on view menu.
Definition: viewMenuItems.h:108
Submenu for palette items on view menu.
Definition: viewMenuItems.h:123

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)