![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtCockpitMappingPage.h,v $ $Revision: 1.3 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 #include <vrvGlStudioQt/DtGlStudioQt.h> 00015 #include <vrvCoreQt/DtPage.h> 00016 00017 namespace makVrv 00018 { 00019 class DtCockpitMappingEditorWidget; 00020 00023 class DT_DLL_VRVGLSTUDIO_QT DtCockpitMappingPage : public DtPage 00024 { 00025 Q_OBJECT; 00026 public: 00028 DtCockpitMappingPage(DtDe& de,QWidget* parent, Qt::WindowFlags f = 0); 00029 00031 virtual ~DtCockpitMappingPage(); 00032 00034 virtual QIcon icon(); 00035 00037 virtual QString title(); 00038 00040 virtual const std::string& pageClassName() const; 00041 00043 static const std::string& thePageClassName(); 00044 00045 protected: 00046 00047 void setupGui(); 00048 00050 virtual void activate(); 00051 00053 virtual void deactivate(); 00054 00056 virtual void onCurrentInstanceChanged(QString definition); 00057 00058 protected: 00059 00060 DtDe& myDe; 00061 DtCockpitMappingEditorWidget* myMapWidget; 00062 }; 00063 00066 typedef DtPageCreatorTemplate<DtCockpitMappingPage> 00067 DtCockpitMappingPageCreator; 00068 }