![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtCigiEntityMappingPage.h,v $ $Revision: 1.8 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00013 00014 #pragma once 00015 #include <vrvCigiQt/vrvCigiQt.h> 00016 #include <vrvCoreQt/DtPage.h> 00017 #include <vrvUtil/templateUtil.h> 00018 00019 namespace makVrv 00020 { 00021 class DtCigiEntityMappingWidget; 00022 00025 class DT_DLL_VRVCIGIQT DtCigiEntityMappingPage : public DtPage 00026 { 00027 Q_OBJECT; 00028 public: 00030 DtCigiEntityMappingPage(DtDe& de,QWidget* parent, Qt::WindowFlags f = 0); 00031 00033 virtual ~DtCigiEntityMappingPage(); 00034 00036 virtual QIcon icon(); 00037 00039 virtual QString title(); 00040 00042 virtual const std::string& pageClassName() const; 00043 00045 static const std::string& thePageClassName(); 00046 00047 protected: 00048 00050 void setupGui(); 00051 00053 virtual void activate(); 00054 00056 virtual void deactivate(); 00057 00059 virtual void onCurrentInstanceChanged(QString definition); 00060 00061 protected: 00062 DtCigiEntityMappingWidget* myMapWidget; 00063 DtDe& myDe; 00064 }; 00065 00068 EXPORT_TEMPLATE_TYPEDEF(DtPageCreatorTemplate<DtCigiEntityMappingPage>, 00069 DtCigiEntityMappingPageCreator) 00070 }