![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: terrainViewOptionsHandler.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef terrainViewOptionsHandler_H_ 00013 #define terrainViewOptionsHandler_H_ 00014 00015 #include "tmqt/eventHandler.h" 00016 00017 class DtTMArea; 00018 class DtTMMapArea; 00019 00020 #include "terrainEventHandler/terrainEventHandlerDefines.h" 00021 class DT_DLL_terrainEventHandler DtTerrainViewOptionsHandler : public DtEventHandler 00022 { 00023 Q_OBJECT 00024 00025 public: 00026 00028 DtTerrainViewOptionsHandler(); 00029 00031 virtual ~DtTerrainViewOptionsHandler(); 00032 00033 public: 00034 virtual QWidget* createDialog(QWidget* parent); 00035 00036 public slots: 00037 virtual void initConnections(DtTMArea* area); 00038 00040 virtual void initNewMapArea(DtTMMapArea* area); 00041 00042 virtual void dlgDestroyed(); 00043 00044 public: 00046 static DtEventHandler* create(DtEventController* owner, void* usr); 00047 00048 protected: 00050 virtual void initDialog(); 00051 00053 virtual void initAppConnections(); 00054 00057 virtual void setBaseWindow(DtBaseWindow* w); 00058 00061 virtual void showDialog(bool b); 00062 00063 protected: 00064 DtTMMapArea* myCurrentMapArea; 00065 }; 00066 00067 #endif //TERRAINVIEWOPTIONSHANDLER_H_ 00068 00069