VR-Forces 4.8 Class Documentation
 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  public:
24  //CTOR
26 
27  //DTOR
28  virtual ~DtLoadOverlayMenuItem();
29 
31  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
32 
33  protected:
34  virtual void on_triggered();
35 
36  protected:
38  };
39 
42  {
43  public:
44  //CTOR
46 
47  //DTOR
48  virtual ~DtSaveOverlayMenuItem();
49 
51  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
52 
53  protected:
54  virtual void on_triggered();
55  virtual void on_aboutToShow();
56 
57  protected:
60  };
61 
64  {
65  Q_OBJECT
66 
67  public:
69 
70  virtual ~DtShowOverlayBarMenuItem();
71 
73  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
74 
75  protected:
76  //Set the value due to being triggered.
77  virtual void setValue(bool value);
78 
79  //Get the current value.
80  virtual bool getValue() const;
81 
82  virtual void on_aboutToShow();
83 
84  protected:
85  mutable bool myShowingOverlayBar;
87  };
88 
91  {
92  public:
93 
96 
98  virtual ~DtOverlayFileMenu();
99 
101  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
102  };
103 }
Show/hide overlay bar.
Definition: overlayMenuItems.h:63
bool myShowingOverlayBar
Definition: overlayMenuItems.h:85
Builder for menu items.
Definition: DtMenuItem.h:26
QAction * myAction
Definition: overlayMenuItems.h:59
#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:41
Base class item builder for settings toggle items The menu id string is &quot;DtViewSettingsItem&quot;.
Definition: DtCheckedItem.h:24
Submenu for overlay items on file menu.
Definition: overlayMenuItems.h:90
makVrv::DtDe & myDe
Definition: overlayMenuItems.h:58
makVrv::DtDe & myDe
Definition: overlayMenuItems.h:37
Contains makVrv::DtCheckedItem class.
The abstract base menu class.
Definition: DtMenu.h:26
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
bool myInitializedFromSettings
Definition: overlayMenuItems.h:86

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)