![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtSchemaEditorPage.h,v $ $Revision: 1.8 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 #include <vrvCoreQt/DtPage.h> 00015 00016 class QSplitter; 00017 class QLabel; 00018 00019 namespace makVrv 00020 { 00021 class DtDe; 00022 class DtInstanceEditorWidget; 00023 class DtMapEditorWidget; 00024 class DtSchemaEditorLogic; 00025 class DtPersistenceToolbarWidget; 00026 00029 class DT_DLL_VRVCOREQT DtSchemaEditorPage : public DtPage 00030 { 00031 Q_OBJECT 00032 00033 public: 00034 00036 DtSchemaEditorPage(DtDe& de, QWidget* parent, Qt::WindowFlags f = 0); 00037 00039 virtual ~DtSchemaEditorPage(); 00040 00042 virtual QIcon icon(); 00043 00045 virtual QString title(); 00046 00048 virtual const std::string& pageClassName() const; 00049 00051 static const std::string& thePageClassName(); 00052 00053 protected: 00054 00056 void setupGui(); 00057 00059 virtual void activate(); 00060 00062 virtual void deactivate(); 00063 00064 protected: 00065 00066 DtDe& myDe; 00067 DtInstanceEditorWidget* myInstanceWidget; 00068 DtMapEditorWidget* myMapWidget; 00069 DtSchemaEditorLogic* myLogic; 00070 DtPersistenceToolbarWidget* myToolbar; 00071 00072 QSplitter* mySplitter; 00073 }; 00074 00077 typedef DtPageCreatorTemplate<DtSchemaEditorPage> DtSchemaEditorPageCreator; 00078 }