VR-Forces 4.2 Class Documentation
DtSelectionEnabledMenu.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>
15 #include <vrvUtil/DtSignalConnectionManager.h>
17 
18 #include <QtGui/QMenu>
19 
20 namespace makVrv
21 {
22  class DtDe;
23 };
24 
25 namespace makVrf
26 {
29  {
30  public:
31 
33  DtAssembledMenu(const QString& title, QWidget* parent, makVrv::DtDe&);
34 
36  virtual ~DtAssembledMenu();
37 
38  const DtConfigurableMenuAssembler& assembler() const
39  {
40  return myAssembler;
41  }
42 
43  boost::signal<void (DtAssembledMenu*)> signal_preAssembleMenu;
44  boost::signal<void (DtAssembledMenu*)> signal_postAssembleMenu;
45 
46  protected:
47  makVrv::DtDe& myDe;
48  makVrv::DtSignalConnectionManager myConnectionManager;
49 
51  };
52 
55  {
56  public:
57 
59  DtSelectionEnabledMenu(const QString& title, QWidget* parent, makVrv::DtDe&);
60 
62  virtual ~DtSelectionEnabledMenu();
63 
64  virtual void slot_validateMenuItems();
65 
66  protected:
67  virtual void slot_terrainPatchToBeDeleted();
68 
69  protected:
70  virtual void validateMenuItems(int terrainPatchOffset) = 0;
71  virtual bool terrainLoaded(int terrainCountOffset) const;
72  };
73 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)