![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtEnvironmentPage.h,v $ $Revision: 1.9 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 #include <vrvCoreQt/DtPage.h> 00015 00016 class QVBoxLayout; 00017 class QSpacerItem; 00018 00019 namespace makVrv 00020 { 00021 00022 class DtPersistenceToolbarWidget; 00023 class DtEnvironmentWidget; 00024 00027 class DT_DLL_VRVCOREQT DtEnvironmentPage : public DtPage 00028 { 00029 Q_OBJECT 00030 00031 public: 00032 00034 DtEnvironmentPage(DtDe& de,QWidget* parent, Qt::WindowFlags f = 0); 00035 00037 virtual ~DtEnvironmentPage(); 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 00053 void setupGui(); 00054 00056 virtual void activate(); 00057 00059 virtual void deactivate(); 00060 00061 protected: 00062 DtDe& myDe; 00063 DtPersistenceToolbarWidget* myToolbar; 00064 DtEnvironmentWidget* myWidget; 00065 QVBoxLayout* myMainLayout; 00066 QVBoxLayout* myContentsLayout; 00067 }; 00068 00071 typedef DtPageCreatorTemplate<DtEnvironmentPage> DtEnvironmentPageCreator; 00072 }