VR-Forces Development_Version 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 {
34  {
35  public:
38 
41 
42  static DtVrfContextMenuManagerSignaler& instance(makVrv::DtDe& de);
43 
44  public:
48  boost::signal<void (makVrv::DtQtMenuAssembler& menuAssembler,
51  int selectionType, makVrv::DtDe&, std::string)> signal_contextMenuAboutToBeCreated;
52 
54  boost::signal<void (QMenu* menu, const makVrv::DtSelectionManager::IdSet& idSet,
55  int selectionType, makVrv::DtDe&, std::string)> signal_contextMenuAboutToBeShown;
56 
57  //Signal sent when a right click happens on a VRF object that does not account for the object type. Connect to this
58  //to create right click context menus for your specialized VRF object types
59  boost::signal<void (makVrv::DtQtMenuAssembler& menuAssembler,
62 
68  boost::signal<void (makVrv::DtUniqueID, int&)> signal_objectToBeDeleted;
69 
70  protected:
72  };
73 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)