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

Public Slots | |
| virtual void | processCenterSelection () |
| View handlers. | |
| virtual void | processTrackSelection () |
| virtual void | processCenterSelection (const DtModelData &) |
| virtual void | processTrackSelection (const DtModelData &) |
| virtual void | processClearTracking () |
| virtual void | processTerrainViewOptions () |
| Terrain options dialog. | |
| virtual void | processPaperMaps () |
| Paper maps dialog. | |
| virtual void | processFeatures () |
| Features dialog. | |
| virtual void | processSelectObjectsAction (bool bOn) |
| Swap between different selection modes. | |
| virtual void | processSelectTerrainAction (bool bOn) |
| virtual void | processSelectSegmentsAction (bool bOn) |
| virtual void | processInformation () |
| Cycles through all selected information and calls processInformation(const DtModelData&) on each selected item. | |
| virtual void | processInformation (const DtModelData &data) |
| virtual void | processSetSelectionFilterMode (const DtFilter *) |
| If filter is NULL, calls processSelectObjectsAction(true) | |
Signals | |
| void | changedTrackingFor (DtTMMapArea *area, bool tracking) |
| Sent whenever tracking has changed for a particular map area. | |
Public Member Functions | |
| DtTerrainEventController () | |
| Constructor. | |
| virtual | ~DtTerrainEventController () |
| Destructor. | |
| virtual bool | tracking (DtTMMapArea *area) const |
| Returns true if tracking is valid. Asks the event handler. | |
| virtual DtEventHandler * | informationHandlerFor (const DtModelData &data) |
| virtual QWidget * | informationWidgetFor (const DtModelData &data, QWidget *parent=NULL) |
Static Public Member Functions | |
| static DtEventController * | create () |
| Static creator function. | |
Protected Member Functions | |
| virtual bool | addDefaultHandlers () |
| Override this routine to install default handlers. | |
Constructor.
| virtual DtTerrainEventController::~DtTerrainEventController | ( | ) | [virtual] |
Destructor.
| static DtEventController* DtTerrainEventController::create | ( | ) | [static] |
Static creator function.
Reimplemented from DtTMEventController.
| virtual bool DtTerrainEventController::tracking | ( | DtTMMapArea * | area | ) | const [virtual] |
Returns true if tracking is valid. Asks the event handler.
| virtual DtEventHandler* DtTerrainEventController::informationHandlerFor | ( | const DtModelData & | data | ) | [virtual] |
| virtual QWidget* DtTerrainEventController::informationWidgetFor | ( | const DtModelData & | data, |
| QWidget * | parent = NULL |
||
| ) | [virtual] |
| virtual void DtTerrainEventController::processCenterSelection | ( | ) | [virtual, slot] |
View handlers.
| virtual void DtTerrainEventController::processTrackSelection | ( | ) | [virtual, slot] |
| virtual void DtTerrainEventController::processCenterSelection | ( | const DtModelData & | ) | [virtual, slot] |
| virtual void DtTerrainEventController::processTrackSelection | ( | const DtModelData & | ) | [virtual, slot] |
| virtual void DtTerrainEventController::processClearTracking | ( | ) | [virtual, slot] |
| virtual void DtTerrainEventController::processTerrainViewOptions | ( | ) | [virtual, slot] |
Terrain options dialog.
| virtual void DtTerrainEventController::processPaperMaps | ( | ) | [virtual, slot] |
Paper maps dialog.
| virtual void DtTerrainEventController::processFeatures | ( | ) | [virtual, slot] |
Features dialog.
| virtual void DtTerrainEventController::processSelectObjectsAction | ( | bool | bOn | ) | [virtual, slot] |
Swap between different selection modes.
| virtual void DtTerrainEventController::processSelectTerrainAction | ( | bool | bOn | ) | [virtual, slot] |
| virtual void DtTerrainEventController::processSelectSegmentsAction | ( | bool | bOn | ) | [virtual, slot] |
| virtual void DtTerrainEventController::processInformation | ( | ) | [virtual, slot] |
Cycles through all selected information and calls processInformation(const DtModelData&) on each selected item.
| virtual void DtTerrainEventController::processInformation | ( | const DtModelData & | data | ) | [virtual, slot] |
| virtual void DtTerrainEventController::processSetSelectionFilterMode | ( | const DtFilter * | ) | [virtual, slot] |
If filter is NULL, calls processSelectObjectsAction(true)
| void DtTerrainEventController::changedTrackingFor | ( | DtTMMapArea * | area, |
| bool | tracking | ||
| ) | [signal] |
Sent whenever tracking has changed for a particular map area.
Emitted by the terrain version of the navigation handler. If the navigation handler is attached to this controller and is not a subclass of DtTerrainNavigationHandler, a Qt warning will be issued about not being able to connect to the changedTrackingFor signal of the specific navigation handler assigned (unless implemented by that handler)
| virtual bool DtTerrainEventController::addDefaultHandlers | ( | ) | [protected, virtual] |
Override this routine to install default handlers.
Called after initialize handlers. Default handlers installed in this class are: DtDragDropHandler DtNavigationHandler DtDeleteHandler DtEchelonViewHandler If you want to install your owner version of the these handlers, make sure to override the creation of that type in your constructor of your subclass as follows:
myEventHandlerFactory.addHandlerCreate(DtEchelonViewHandlerType, MyEchelonViewHandler::create);
Reimplemented from DtTMEventController.