VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtToolbarItem.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCoreQt/vrvCoreQt.h>
12 #include <vrvCoreQt/DtMenuItem.h>
13 
14 namespace makVrv
15 {
16  class DtToolbar;
17 
23  {
24  Q_OBJECT
25 
26  public:
28  DtToolbarItem(const std::string& dockName, DtToolbar* dockable);
29 
31  virtual ~DtToolbarItem();
32 
34  virtual QAction* createAction(DtDe&, QWidget* parent);
35 
36  protected:
37 
39  virtual void on_triggered();
40 
42  virtual void on_checkStateChanged(bool);
43 
45  virtual bool eventFilter(QObject *obj, QEvent *event);
46 
49  virtual void slot_toolbarSet();
50 
51  protected slots:
53  virtual void on_actionDestoryed(QObject* object);
54 
55  protected:
58  };
59 }
Builder for menu items.
Definition: DtMenuItem.h:23
The base class for VR-Vantage toolbars.
Definition: DtToolbar.h:26
DtToolbar * myToolbar
Definition: DtToolbarItem.h:56
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
QAction * myAction
Definition: DtToolbarItem.h:57
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
An menu item for controlling toolbars. This allows toolbars to be shown and hidden via a menu item...
Definition: DtToolbarItem.h:22

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)