VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtFormationDragDropHandler Class Reference
Inheritance diagram for DtFormationDragDropHandler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtFormationDragDropHandler ()
virtual bool isValidForDrag (DtTMMapArea *map, DtModelKey &key)
 Override to return true/false to determine if the selected object is valid for dragging.
void setSnapToGrid (bool)
bool snapToGrid () const
void setGridLineDrawer (DtFormationGridLineDrawer *)

Protected Member Functions

virtual void dropSymbol (DtTMMapArea *area, const QPoint &dropPoint, DtModelData *symData, double heightChange)
 Drop the specified symbol into the map area.

Protected Attributes

bool mySnapToGrid
DtFormationGridLineDrawermyGridLineDrawer

Constructor & Destructor Documentation


Member Function Documentation

virtual bool DtFormationDragDropHandler::isValidForDrag ( DtTMMapArea map,
DtModelKey key 
) [virtual]

Override to return true/false to determine if the selected object is valid for dragging.

The map is the map area that is scheduled for the drag operation to being in

Reimplemented from DtDragDropHandler.

References mySnapToGrid.

References mySnapToGrid.

Referenced by DtFormationEditor::snapToGrid().

References myGridLineDrawer.

virtual void DtFormationDragDropHandler::dropSymbol ( DtTMMapArea area,
const QPoint &  dropPoint,
DtModelData symData,
double  heightChange 
) [protected, virtual]

Drop the specified symbol into the map area.

Reimplemented from DtDragDropHandler.


Member Data Documentation

Referenced by setSnapToGrid(), and snapToGrid().

Referenced by setGridLineDrawer().


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)