![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtAddPropsPage.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtAddPropsPage_H_ 00014 #define DtAddPropsPage_H_ 00015 00016 #include <vrvCoreQt/vrvCoreQt.h> 00017 #include <vrvCoreQt/DtFeatureLayerDialogPage.h> 00018 00019 namespace makVrv 00020 { 00021 00022 class DtDe; 00023 class DtAddPropsLogic; 00024 class DtAddPropsWidget; 00025 class DtPersistenceToolbarWidget; 00026 00029 class DT_DLL_VRVCOREQT DtAddPropsPage : public DtFeatureLayerDialogPage 00030 { 00031 00032 Q_OBJECT 00033 00034 public: 00035 00037 DtAddPropsPage(DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::SubWindow); 00038 00040 virtual ~DtAddPropsPage(); 00041 00043 virtual QIcon icon(); 00044 00046 virtual QString title(); 00047 00049 virtual const std::string& pageClassName() const; 00050 00052 static const std::string& thePageClassName(); 00053 00054 virtual void onCurrentInstanceChanged(QString featureLayerFilename); 00055 00056 protected: 00057 00059 void setupGui(); 00060 00061 virtual void activate(); 00062 00063 virtual void deactivate(); 00064 00066 void updateWidget(); 00067 00068 protected: 00069 DtAddPropsLogic* myLogic; 00070 00071 public: 00072 DtPersistenceToolbarWidget* myTitle; 00073 DtAddPropsWidget* myWidget; 00074 }; 00075 00078 typedef DtPageCreatorTemplate<DtAddPropsPage> DtAddPropsPageCreator; 00079 } 00080 00081 #endif 00082