VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
overlayMenuItems.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 
16 #include <vrvCoreQt/DtMenu.h>
17 
18 namespace makVrf
19 {
22  {
23  Q_OBJECT
24  public:
25  //CTOR
27 
28  //DTOR
29  virtual ~DtLoadOverlayMenuItem();
30 
32  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
33 
34  protected:
35  virtual void on_triggered();
36 
37  protected:
39  };
40 
43  {
44  public:
45  //CTOR
47 
48  //DTOR
49  virtual ~DtSaveOverlayMenuItem();
50 
52  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
53 
54  protected:
55  virtual void on_triggered();
56  virtual void on_aboutToShow();
57 
58  protected:
61  };
62 
65  {
66  Q_OBJECT
67 
68  public:
70 
71  virtual ~DtShowOverlayBarMenuItem();
72 
74  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
75 
76  protected:
77  //Set the value due to being triggered.
78  virtual void setValue(bool value);
79 
80  //Get the current value.
81  virtual bool getValue() const;
82 
83  virtual void on_aboutToShow();
84 
85  protected:
86  mutable bool myShowingOverlayBar;
88  };
89 
92  {
93  public:
94 
97 
99  virtual ~DtOverlayFileMenu();
100 
102  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
103  };
104 }
Show/hide overlay bar.
Definition: overlayMenuItems.h:64
bool myShowingOverlayBar
Definition: overlayMenuItems.h:86
Builder for menu items.
Definition: DtMenuItem.h:23
QAction * myAction
Definition: overlayMenuItems.h:60
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
A menu item to load an overlay file into the system.
Definition: overlayMenuItems.h:21
A menu item to save an overlay file from local objects in the system.
Definition: overlayMenuItems.h:42
Base class item builder for settings toggle items The menu id string is &quot;DtViewSettingsItem&quot;.
Definition: DtCheckedItem.h:22
Submenu for overlay items on file menu.
Definition: overlayMenuItems.h:91
makVrv::DtDe & myDe
Definition: overlayMenuItems.h:59
makVrv::DtDe & myDe
Definition: overlayMenuItems.h:38
Contains makVrv::DtCheckedItem class.
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:72
bool myInitializedFromSettings
Definition: overlayMenuItems.h:87

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)