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

List of all members.

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)

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.

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 ()

Static Public Member Functions

static DtEventControllercreate ()
 Static creator function.

Protected Member Functions

virtual bool appLevelController ()
 Returns true.

Protected Attributes

bool myFullScreenMode
double myDefaultPointHeightOffset
double myDefaultLineHeightOffset

Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

virtual void DtTMAppEventController::setFullScreenMode ( bool  b) [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 bool DtTMAppEventController::openDatabase ( QString  db) [virtual]

Current no-op, but, could be used to open and close files.

Reimplemented in DtTerrainAppEventController.

virtual void DtTMAppEventController::closeDatabase ( ) [virtual]

Reimplemented in DtTerrainAppEventController.

virtual void DtTMAppEventController::processDisplayOptions ( ) [virtual, slot]
virtual void DtTMAppEventController::processFrameRateMonitor ( ) [virtual, slot]
virtual void DtTMAppEventController::processEmitterBeamOptions ( ) [virtual, slot]
virtual void DtTMAppEventController::processPuffOptions ( ) [virtual, slot]
virtual void DtTMAppEventController::processTacticalSmokeOptions ( ) [virtual, slot]
virtual void DtTMAppEventController::processTransmitterOptions ( ) [virtual, slot]
virtual void DtTMAppEventController::processToggleFullScreen ( bool  b) [virtual, slot]

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

virtual void DtTMAppEventController::processToggleAnim ( bool  b) [virtual, slot]

Toggle between interaction animations on and off.

virtual void DtTMAppEventController::aboutToQuit ( ) [virtual, slot]

This method will be called right before the application quits.

Connected to the Qt aboutToQuit() signal

Reimplemented in DtTerrainAppEventController.

virtual void DtTMAppEventController::setDefaultPointHeightOffset ( double  h) [virtual, slot]

Set the default point height offset and emit a signal if different.

virtual void DtTMAppEventController::setDefaultLineHeightOffset ( double  h) [virtual, slot]

Set the default route height offset and emit a signal if different.

virtual void DtTMAppEventController::processSaveOverlays ( ) [virtual, slot]
virtual void DtTMAppEventController::processLoadOverlays ( ) [virtual, slot]
virtual void DtTMAppEventController::processSaveSelectionGroups ( ) [virtual, slot]
virtual void DtTMAppEventController::processLoadSelectionGroups ( ) [virtual, slot]
virtual void DtTMAppEventController::processFilePrint ( ) [virtual, slot]

Asks the print handler to print the current area to a single page of paper.

virtual void DtTMAppEventController::processFilePrintObjects ( ) [virtual, slot]

Asks the print handler to print the current objects to a single page of paper.

virtual void DtTMAppEventController::processFileSaveMapArea ( ) [virtual, slot]

Asks the save map area handler to save the current area to a file.

virtual void DtTMAppEventController::processLoadOverlayFile ( const QString &  file) [virtual, slot]

Call down to overlay handler to load specified overlay file.

virtual void DtTMAppEventController::processLoadSelectionGroupsFile ( const QString &  file) [virtual, slot]

Call down to selection group save handler to load specified overlay file.

virtual void DtTMAppEventController::processToggleFreehandPointEdit ( bool  b) [virtual, slot]
void DtTMAppEventController::filenameInUseChanged ( const QString &  s) [signal]

Signals.

Sent when the default waypoint height offset has changed.

Sent when the default route height offset has changed.

Static creator function.

Reimplemented from DtEventController.

Reimplemented in DtTerrainAppEventController, and DtEntityEditorAppController.

virtual bool DtTMAppEventController::appLevelController ( ) [protected, virtual]

Returns true.

Reimplemented from DtEventController.


Member Data Documentation


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)