![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtQtOsgKeyAdapter.h,v $ $Revision: 1.8 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 00015 #include <vrvOsgQt/vrvOsgQt.h> 00016 00017 #include <vrvCoreQt/DtQtKeyAdapter.h> 00018 00019 namespace makVrv 00020 { 00021 class DtOsgAdapterQtWidget; 00022 00025 class DT_DLL_VRVOSGQT DtQtOsgKeyAdapter : public DtQtKeyAdapter 00026 { 00027 00028 public: 00029 00030 DtQtOsgKeyAdapter( DtOsgAdapterQtWidget* adapterWidget ); 00031 00033 virtual ~DtQtOsgKeyAdapter(); 00034 00035 virtual void processOutOfFocusKeyPressEvent( QKeyEvent* keyEvent ); 00036 virtual void processOutOfFocusKeyReleaseEvent( QKeyEvent* keyEvent ); 00037 00038 protected: 00039 00040 DtOsgAdapterQtWidget* myAdapterWidget; 00041 }; 00042 } 00043