VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtMenu.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCoreQt/vrvCoreQt.h>
12 
13 class QMenu;
14 class QWidget;
15 
16 namespace makVrv
17 {
24  {
25  public:
26 
28  DtMenu(DtDe& de,const std::string& menuIdName);
29 
31  virtual ~DtMenu();
32 
35  virtual const std::string& menuIdName() const;
36 
38  virtual QMenu* createMenu(DtDe&, QWidget* parent) = 0;
39 
40  protected:
42  std::string myMenuIdName;
43  };
44 }
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
DtDe & myDe
Definition: DtMenu.h:41
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
std::string myMenuIdName
Definition: DtMenu.h:42

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)