![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: fullScreenHandler.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef FULLSCREENHANDLER_H_ 00013 #define FULLSCREENHANDLER_H_ 00014 00015 #include "tmqt/eventHandler.h" 00016 00017 class DtBaseWindow; 00018 00020 #include "tmEventHandler/tmEventHandlerDefines.h" 00021 class DT_DLL_tmEventHandler DtFullScreenHandler : public DtEventHandler 00022 { 00023 Q_OBJECT 00024 00025 public: 00027 DtFullScreenHandler(); 00028 00030 virtual ~DtFullScreenHandler(); 00031 00033 virtual void toggleFullScreen(bool b); 00034 00035 public: 00037 static DtEventHandler* create(DtEventController* owner, void* usr); 00038 00039 public slots: 00040 00041 virtual bool keyboardEvent(DtTMMapArea* area, QKeyEvent* evnt); 00042 00043 protected: 00045 virtual bool eventFilter(QObject* o, QEvent* e); 00046 00047 protected: 00048 00049 DtBaseWindow* myFullScreenWindow; 00050 }; 00051 00052 #endif //DISPLACEHANDLER_H_ 00053