VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfContextMenuManagerSignaler.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrvUtil/signalslib.h>
14 
15 #include <vrfGuiCore/vrfGuiCore.h>
16 
19 
20 namespace makVrv
21 {
22  class DtDe;
23  class DtMenuConfiguration;
24  class DtQtMenuAssembler;
25 }
26 
27 class QMenu;
28 
29 namespace makVrf
30 {
32  {
33  public:
36 
39 
40  static DtVrfContextMenuManagerSignaler& instance(makVrv::DtDe& de);
41 
42  public:
43  boost::signal<void (makVrv::DtQtMenuAssembler& menuAssembler,
46  int selectionType, makVrv::DtDe&, std::string)> signal_contextMenuAboutToBeCreated;
47 
48  boost::signal<void (QMenu* menu, const makVrv::DtSelectionManager::IdSet& idSet,
49  int selectionType, makVrv::DtDe&, std::string)> signal_contextMenuAboutToBeShown;
50 
51  //Signal sent when a right click happens on a VRF object that does not account for the object type. Connect to this
52  //to create right click context menus for your specialized VRF object types
53  boost::signal<void (makVrv::DtQtMenuAssembler& menuAssembler,
56 
57  protected:
59  };
60 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)