VR-Forces 4.1.1 Class Documentation
formationRightClickMenu.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: formationRightClickMenu.h,v $ $Revision: 1.5 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DTFORMATIONRIGHTCLICKMENU_H_
13 #define DTFORMATIONRIGHTCLICKMENU_H_
14 
15 #include "tmqt/contextMenu.h"
17 
18 class DtFormationEditor;
19 
21 {
22  Q_OBJECT
23 
24 public:
26 
27  virtual void addMenuItems();
28 
29  void setFormationEditor(DtFormationEditor* f) { myFormationEditor = f; };
30 
31 signals:
32  void edit();
33  void collapse();
34  void expand();
35  void setFormation();
36 
37 protected slots:
38  virtual void editCurrentItem();
39  virtual void collapseCurrentItem();
40  virtual void expandCurrentItem();
41  virtual void setNewFormation();
42 
43 protected:
44  virtual void addedMenuItem(QObject*, const DtContextItems&);
45 
46  virtual void validateEditAction(QAction*);
47  virtual void validateCollapseAction(QAction*);
48  virtual void validateExpandAction(QAction*);
49  virtual void validateSetFormationAction(QAction*);
50 
51 protected:
55 };
56 
57 #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)