![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtInterfaceLayoutEditorPage.h,v $ $Revision: 1.10 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 00015 #include <vrvCoreQt/vrvCoreQt.h> 00016 #include <vrvCoreQt/DtPage.h> 00017 00018 namespace makVrv 00019 { 00020 class DtVirtualBaseClass; 00021 class DtInterfaceLayoutEditorWidget; 00022 class DtPersistenceToolbarWidget; 00023 class DtInterfaceLayoutEditorLogic; 00024 00027 class DT_DLL_VRVCOREQT DtInterfaceLayoutEditorPage : public DtPage 00028 { 00029 Q_OBJECT 00030 00031 public: 00032 00034 DtInterfaceLayoutEditorPage(DtDe& de, QWidget* parent, Qt::WindowFlags f = 0); 00035 00037 virtual ~DtInterfaceLayoutEditorPage(); 00038 00040 virtual QIcon icon(); 00041 00043 virtual QString title(); 00044 00046 virtual const std::string& pageClassName() const; 00047 00049 static const std::string& thePageClassName(); 00050 00051 protected: 00052 00054 void setupGui(); 00055 00057 virtual void activate(); 00058 00060 virtual void deactivate(); 00061 00062 protected: 00063 00064 DtDe& myDe; 00065 DtInterfaceLayoutEditorLogic* myLogic; 00066 DtInterfaceLayoutEditorWidget* myEditor; 00067 DtPersistenceToolbarWidget* myToolbar; 00068 QLayout* myMainLayout; 00069 }; 00070 00073 typedef DtPageCreatorTemplate<DtInterfaceLayoutEditorPage> 00074 DtInterfaceLayoutEditorPageCreator; 00075 } 00076