![]() |
VR-Forces 4.0.4 Class Documentation
|

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 |
| DtFormationGridLineDrawer * | myGridLineDrawer |
| 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.
| void DtFormationDragDropHandler::setSnapToGrid | ( | bool | b | ) | [inline] |
References mySnapToGrid.
| bool DtFormationDragDropHandler::snapToGrid | ( | ) | const [inline] |
References mySnapToGrid.
Referenced by DtFormationEditor::snapToGrid().
| void DtFormationDragDropHandler::setGridLineDrawer | ( | DtFormationGridLineDrawer * | d | ) | [inline] |
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.
bool DtFormationDragDropHandler::mySnapToGrid [protected] |
Referenced by setSnapToGrid(), and snapToGrid().
Referenced by setGridLineDrawer().