VR-Forces 4.1.1 Class Documentation
formationDragDropHandler.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: formationDragDropHandler.h,v $ $Revision: 1.2 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DTFORMATIONDRAGDROPHANDLER_H_
13 #define DTFORMATIONDRAGDROPHANDLER_H_
14 
17 
19 
21 {
22 public:
24 
25  virtual bool isValidForDrag(DtTMMapArea* map, DtModelKey &key);
26 
27  void setSnapToGrid(bool);
28  bool snapToGrid() const;
29 
30  void setGridLineDrawer(DtFormationGridLineDrawer*);
31 
32 protected:
33  virtual void dropSymbol(DtTMMapArea* area, const QPoint& dropPoint, DtModelData* symData,
34  double heightChange);
35 
36 protected:
39 };
40 
42 {
43  myGridLineDrawer = d;
44 }
45 
47 {
48  mySnapToGrid = b;
49 }
50 
52 {
53  return mySnapToGrid;
54 }
55 
56 #endif
57 

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)