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

Public Slots | |
| virtual void | processDisplayOptions () |
| virtual void | processFrameRateMonitor () |
| virtual void | processEmitterBeamOptions () |
| virtual void | processPuffOptions () |
| virtual void | processTacticalSmokeOptions () |
| virtual void | processTransmitterOptions () |
| virtual void | processToggleFullScreen (bool b) |
| Toggles between full screen and normal mode. | |
| virtual void | processToggleAnim (bool b) |
| Toggle between interaction animations on and off. | |
| virtual void | aboutToQuit () |
| This method will be called right before the application quits. | |
| virtual void | setDefaultPointHeightOffset (double h) |
| Set the default point height offset and emit a signal if different. | |
| virtual void | setDefaultLineHeightOffset (double h) |
| Set the default route height offset and emit a signal if different. | |
| virtual void | processSaveOverlays () |
| virtual void | processLoadOverlays () |
| virtual void | processSaveSelectionGroups () |
| virtual void | processLoadSelectionGroups () |
| virtual void | processFilePrint () |
| Asks the print handler to print the current area to a single page of paper. | |
| virtual void | processFilePrintObjects () |
| Asks the print handler to print the current objects to a single page of paper. | |
| virtual void | processFileSaveMapArea () |
| Asks the save map area handler to save the current area to a file. | |
| virtual void | processLoadOverlayFile (const QString &file) |
| Call down to overlay handler to load specified overlay file. | |
| virtual void | processLoadSelectionGroupsFile (const QString &file) |
| Call down to selection group save handler to load specified overlay file. | |
| virtual void | processToggleFreehandPointEdit (bool b) |
Public Slots inherited from DtEventController | |
| virtual void | clearCurrentEvent () |
| Clear all events.... | |
| virtual void | mouseEvent (QMouseEvent *evnt, const DtPoint &pnt) |
| virtual void | keyboardEvent (QKeyEvent *evnt) |
| virtual void | focusEvent (QEvent *evnt) |
| virtual void | enterEvent (QEvent *evnt) |
| virtual void | leaveEvent (QEvent *evnt) |
| virtual void | dropEvent (QDropEvent *evnt) |
| virtual void | dragEnterEvent (QDragEnterEvent *evnt) |
| virtual void | dragLeaveEvent (QDragLeaveEvent *evnt) |
| virtual void | dragMoveEvent (QDragMoveEvent *evnt) |
| virtual void | symbolsSelected (DtSymbolList *sl) |
| virtual void | selectionUpdated (const QVector< DtModelKey > &) |
| virtual void | selectionInProgress (DtSymbolSelector &) |
| virtual void | selectedModelDataUpdated () |
| virtual void | symbolRemoved (const DtModelKey &) |
| virtual void | aboutToDraw (QPainter *) |
| Called when a map area is about to draw. | |
| virtual void | userDefinedAction (DtUserDefinedType iAction, void *usr) |
| Generic catchall action. | |
| virtual void | mapActivated (DtTMMapArea *) |
| virtual void | initializeEventDlg () |
| Once an event dialog is created, initialize it. | |
| virtual DtEventHandler * | handlerFor (DtEventHandlerType type) |
| This routine will create a handler of a specific type if it does not exist or return the existing type if it does. | |
| virtual void | tick () |
| Tick routine that will allow handlers (or current handler) to do something on a tick. | |
| virtual void | processNotifyCleanup () |
| Sends the DtNotifyCleanup action to the userDefinedAction of the current event handler (if there is one) | |
Signals | |
| void | filenameInUseChanged (const QString &s) |
| Signals. | |
| void | fullScreenModeChanged (bool) |
| void | defaultPointHeightOffsetChanged (double) |
| Sent when the default waypoint height offset has changed. | |
| void | defaultLineHeightOffsetChanged (double) |
| Sent when the default route height offset has changed. | |
Signals inherited from DtEventController | |
| void | activated (DtEventHandler *handler) |
| Emitted when handlers are activated/deactived. | |
| void | deactivated (DtEventHandler *handler) |
Public Member Functions | |
| DtTMAppEventController () | |
| Constructor. | |
| virtual | ~DtTMAppEventController () |
| Destructor. | |
| virtual void | setFullScreenMode (bool b) |
| Emits fullScreenModeChange signal if full screen mode has changed as well as sets internal flag. | |
| virtual double | defaultPointHeightOffset () |
| virtual double | defaultLineHeightOffset () |
| virtual bool | openDatabase (QString db) |
| Current no-op, but, could be used to open and close files. | |
| virtual void | closeDatabase () |
Public Member Functions inherited from DtEventController | |
| DtEventController () | |
| Constructor. | |
| virtual | ~DtEventController () |
| Destructor. | |
| virtual void | connectToMapArea (DtTMMapArea *area) |
| Connect this event handler to a map area. | |
| virtual void | disconnectFromMapArea (DtTMMapArea *area) |
| Disconnect this event handler from a map area. | |
| virtual QList< DtEventHandler * > & | defaultHandlers () |
| The default handler list is a list of events that will be executed in the default state NOTE: ordering of handlers count - they execute. | |
| DtEventHandler * | insertDefaultHandler (DtEventHandlerType iType, int iPos) |
| Inserts a default handler at the specified position. | |
| virtual DtEventHandler * | addDefaultHandler (DtEventHandlerType iType) |
| Adds a new handler of the specified type and returns the newly created handler. | |
| virtual DtEventHandler * | addDefaultHandler (DtEventHandler *) |
| Adds a new handler by handler pointer and returns that pointer. | |
| virtual void | removeDefaultHandler (DtEventHandlerType iType) |
| Remove default handler by type or by the handler pointer itself. | |
| virtual void | removeDefaultHandler (DtEventHandler *) |
| virtual void | setEventHandler (DtEventHandler *) |
| Sets the event handler that will be used instead of default handlers Call clearCurrentEvent() to go back to using default handlers to handle events. | |
| virtual bool | init () |
| Initialize the controller with default handlers. | |
| virtual bool | addDefaultHandlers () |
| Override this routine to install default handlers. | |
| virtual DtEventHandlerFactory * | eventHandlerFactory () |
| Returns the event handler factory so handler creators can be added without having to subclass the factory. | |
| virtual void | setBaseWindow (DtBaseWindow *win) |
| Accessors the owner window of this factory. | |
| virtual DtBaseWindow * | baseWindow () const |
| virtual DtEchelonView * | echelonView () |
| Accessor for echelon view (if exists) | |
| virtual const DtTerrainDatabase * | terrainDatabase () const |
| Stub routine to allow users to return a terrain database more easily from application subclasses. | |
| virtual DtTerrainDatabase * | terrainDatabase () |
| virtual const DtPaperMapDatabase * | paperMapDatabase () const |
| virtual DtPaperMapDatabase * | paperMapDatabase () |
| virtual void | removeHandlerFor (DtEventHandlerType iType) |
| This routine will remove a handler that has already been created, so the next time it is referenced, it will be created anew. | |
| virtual DtEventHandlerType | typeFromHandler (DtEventHandler *) |
| Returns the handler type based on the handler. | |
| DtEventHandler * | currentEvent () |
| Returns the current active event. | |
| virtual bool | passKeyEventToMapArea (QKeyEvent *) const |
| By default returns false. | |
| virtual bool | canExitApplication () |
| Return true if application can be safely closed. | |
Public Member Functions inherited from DtArchivableObject | |
| DtArchivableObject (QString name, DtArchivableObjectCreator fcn) | |
| This constructor will add this object to the archivable object factory. | |
| DtArchivableObject (QString name) | |
| DtArchivableObject () | |
| virtual | ~DtArchivableObject () |
| virtual QString | name () const |
| DtArchiver * | archiver () |
| Returns the archiver of this object. | |
| virtual void | read (QTextStream &s) |
| Reads/writes archiver. | |
| virtual void | write (QTextStream &s) |
| virtual void | setLevel (int i) |
| virtual int | level () const |
| virtual DtArchivableObject * | clone () |
| Allows for cloning of this object. | |
Static Public Member Functions | |
| static DtEventController * | create () |
| Static creator function. | |
Static Public Member Functions inherited from DtEventController | |
| static void | globalAddHandler (DtEventHandlerType type, DtHandlerCreate fcn, void *usr=NULL, bool appLevel=false) |
| If appLevel is true, will only add or replace an existing handle if it is an app level controller. | |
| static void | globalRemoveHandler (DtEventHandlerType type) |
Protected Member Functions | |
| virtual bool | appLevelController () |
| Returns true. | |
Protected Attributes | |
| bool | myFullScreenMode |
| double | myDefaultPointHeightOffset |
| double | myDefaultLineHeightOffset |
Protected Attributes inherited from DtEventController | |
| bool | myUsingEvent |
| QList< DtTMMapArea * > | myMapAreaList |
| QList< DtEventHandler * > | myDefaultHandlerList |
| QHash< int, DtEventHandler * > | myTypedDefaultHandlerList |
| DtEventHandler * | myCurrentHandler |
| DtEventHandlerFactory | myEventHandlerFactory |
| DtBaseWindow * | myBaseWindow |
| QHash< int, DtEventHandler * > | myHandlers |
Protected Attributes inherited from DtArchivableObject | |
| DtArchiver * | myArchiver |
Additional Inherited Members | |
Static Protected Attributes inherited from DtEventController | |
| static QHash< int, DtHandlerCreateInfo > | myGlobalHandlers |
| DtTMAppEventController::DtTMAppEventController | ( | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Emits fullScreenModeChange signal if full screen mode has changed as well as sets internal flag.
NOTE: To change the mode, call processToggleFullScreen not setFullScreenMode.
|
virtual |
|
virtual |
|
virtual |
Current no-op, but, could be used to open and close files.
|
virtual |
Reimplemented in DtTerrainAppEventController.
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
Toggles between full screen and normal mode.
If switching to full screen mode, will make the currently active window the full screen window, and calls down to that window to setup full screen mode. All other windows will be hidden. If already in full screen mode, does nothing. Note that if we are in full screen mode all view items will be disabled
|
virtualslot |
Toggle between interaction animations on and off.
|
virtualslot |
This method will be called right before the application quits.
Connected to the Qt aboutToQuit() signal
Reimplemented in DtTerrainAppEventController.
|
virtualslot |
Set the default point height offset and emit a signal if different.
|
virtualslot |
Set the default route height offset and emit a signal if different.
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
Asks the print handler to print the current area to a single page of paper.
|
virtualslot |
Asks the print handler to print the current objects to a single page of paper.
|
virtualslot |
Asks the save map area handler to save the current area to a file.
|
virtualslot |
Call down to overlay handler to load specified overlay file.
|
virtualslot |
Call down to selection group save handler to load specified overlay file.
|
virtualslot |
|
signal |
Signals.
|
signal |
|
signal |
Sent when the default waypoint height offset has changed.
|
signal |
Sent when the default route height offset has changed.
|
static |
Static creator function.
Reimplemented from DtEventController.
Reimplemented in DtTerrainAppEventController.
|
protectedvirtual |
Returns true.
Reimplemented from DtEventController.
|
protected |
|
protected |
|
protected |