VR-Forces 4.1.1 Class Documentation
tmObjectsMenu.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: tmObjectsMenu.h,v $ $Revision: 1.17 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DTTMOBJECTSMENU_H
13 #define DTTMOBJECTSMENU_H
14 
15 #include "commonWgt/popupMenu.h"
16 #include "vrfGuiCore/menuItems.h"
17 
18 class DtTMMapArea;
19 class DtModelData;
20 
21 #include "tmqt/tmqtDefines.h"
23 {
24  Q_OBJECT
25 
26 public:
27  DtTMObjectsMenu(QWidget* parent, bool display = true);
28  virtual ~DtTMObjectsMenu();
29 
31 protected:
32  virtual QString menuName();
33 
38  virtual bool initMenuItems();
39 
41  virtual bool initActionGroups();
42 
43 public:
44  static DtPopupMenu* create(QWidget* parent, bool display = true);
45 
46 protected slots:
47  virtual void processEditValid();
48  virtual void processDeleteValid();
49  virtual void processToggleFreehandPointEdit();
50 
51 public slots:
52  virtual void processViewShowAllObjects();
53  virtual void processViewHideAllObjects();
54  virtual void processShowObjects(bool show);
55 
56 protected:
58 
60  virtual DtTMMapArea* mapArea() const;
61  virtual bool createMenuItems();
62 
63  virtual void initConnections();
64 
65 protected:
67 
72 };
73 
74 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)