VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
selectionEnabledMenu.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>
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:
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  virtual void slot_selectionChanged();
70 
71  protected:
72  virtual void validateMenuItems(int terrainPatchOffset) = 0;
73  virtual bool terrainLoaded(int terrainCountOffset) const;
74  };
75 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)