VR-Forces 4.0.4 Class Documentation
include/tmEventHandler/tmAppEventController.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: tmAppEventController.h,v $ $Revision: 1.26 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef TMAPPEVENTCONTROLLER_H_
00013 #define TMAPPEVENTCONTROLLER_H_
00014 
00015 #include "tmqt/eventController.h"
00016 
00017 #include <vlutil/vlFilename.h>
00018 
00019 class DtBaseWindow;
00020 
00021 #include "tmEventHandler/tmEventHandlerDefines.h"
00022 class DT_DLL_tmEventHandler DtTMAppEventController : public DtEventController
00023 {
00024    Q_OBJECT
00025    
00026 public:   
00027 
00029    DtTMAppEventController();
00030    
00032    virtual ~DtTMAppEventController();
00033 
00038    virtual void setFullScreenMode(bool b);
00039 
00040    virtual double defaultPointHeightOffset();
00041    virtual double defaultLineHeightOffset();
00042 
00044    virtual bool openDatabase(QString db);
00045    virtual void closeDatabase();
00046 
00047 public slots:
00048    virtual void processDisplayOptions();
00049    virtual void processFrameRateMonitor();
00050    virtual void processEmitterBeamOptions();
00051    virtual void processPuffOptions();
00052    virtual void processTacticalSmokeOptions();
00053    virtual void processTransmitterOptions();
00054 
00061    virtual void processToggleFullScreen(bool b);
00062 
00064    virtual void processToggleAnim(bool b);
00065 
00068    virtual void aboutToQuit();
00069 
00071    virtual void setDefaultPointHeightOffset(double h);
00072 
00074    virtual void setDefaultLineHeightOffset(double h);
00075 
00076    virtual void processSaveOverlays();
00077    virtual void processLoadOverlays();
00078 
00079    virtual void processSaveSelectionGroups();
00080    virtual void processLoadSelectionGroups();
00081 
00084    virtual void processFilePrint();
00085 
00088    virtual void processFilePrintObjects();
00089 
00091    virtual void processFileSaveMapArea();
00092 
00094    virtual void processLoadOverlayFile(const QString& file);
00095 
00097    virtual void processLoadSelectionGroupsFile(const QString& file);
00098 
00099    virtual void processToggleFreehandPointEdit(bool b);
00100 
00101 signals:
00103 
00104    void filenameInUseChanged(const QString& s);
00105    void fullScreenModeChanged(bool);
00106 
00108    void defaultPointHeightOffsetChanged(double);
00109 
00111    void defaultLineHeightOffsetChanged(double);
00112 
00113 public:
00114    static DtEventController* create();
00115 
00116 protected:
00118    virtual bool appLevelController();
00119 
00120 protected:
00121    bool myFullScreenMode;
00122    double myDefaultPointHeightOffset;
00123    double myDefaultLineHeightOffset;
00124 };
00125 
00126 #endif //TMAPPEVENTCONTROLLER_H_
00127 

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)