VR-Forces 4.1.1 Class Documentation
tmAppEventController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: tmAppEventController.h,v $ $Revision: 1.26 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef TMAPPEVENTCONTROLLER_H_
13 #define TMAPPEVENTCONTROLLER_H_
14 
15 #include "tmqt/eventController.h"
16 
17 #include <vlutil/vlFilename.h>
18 
19 class DtBaseWindow;
20 
23 {
24  Q_OBJECT
25 
26 public:
27 
30 
32  virtual ~DtTMAppEventController();
33 
38  virtual void setFullScreenMode(bool b);
39 
40  virtual double defaultPointHeightOffset();
41  virtual double defaultLineHeightOffset();
42 
44  virtual bool openDatabase(QString db);
45  virtual void closeDatabase();
46 
47 public slots:
48  virtual void processDisplayOptions();
49  virtual void processFrameRateMonitor();
50  virtual void processEmitterBeamOptions();
51  virtual void processPuffOptions();
52  virtual void processTacticalSmokeOptions();
53  virtual void processTransmitterOptions();
54 
61  virtual void processToggleFullScreen(bool b);
62 
64  virtual void processToggleAnim(bool b);
65 
68  virtual void aboutToQuit();
69 
71  virtual void setDefaultPointHeightOffset(double h);
72 
74  virtual void setDefaultLineHeightOffset(double h);
75 
76  virtual void processSaveOverlays();
77  virtual void processLoadOverlays();
78 
79  virtual void processSaveSelectionGroups();
80  virtual void processLoadSelectionGroups();
81 
84  virtual void processFilePrint();
85 
88  virtual void processFilePrintObjects();
89 
91  virtual void processFileSaveMapArea();
92 
94  virtual void processLoadOverlayFile(const QString& file);
95 
97  virtual void processLoadSelectionGroupsFile(const QString& file);
98 
99  virtual void processToggleFreehandPointEdit(bool b);
100 
101 signals:
103 
104  void filenameInUseChanged(const QString& s);
105  void fullScreenModeChanged(bool);
106 
108  void defaultPointHeightOffsetChanged(double);
109 
111  void defaultLineHeightOffsetChanged(double);
112 
113 public:
114  static DtEventController* create();
115 
116 protected:
118  virtual bool appLevelController();
119 
120 protected:
124 };
125 
126 #endif //TMAPPEVENTCONTROLLER_H_
127 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)