![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtCockpitSettingsPage.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 00015 #include <vrvGlStudioQt/DtGlStudioQt.h> 00016 #include <vrvCoreQt/DtPage.h> 00017 #include <QtCore/QString> 00018 #include <QtGui/QIcon> 00019 00020 class QWidget; 00021 class QLayout; 00022 00023 namespace makVrv 00024 { 00025 class DtCockpitSettingsLogic; 00026 class DtCockpitSettingsWidget; 00027 class DtPersistenceToolbarWidget; 00028 class DtDe; 00029 00031 class DT_DLL_VRVGLSTUDIO_QT DtCockpitSettingsPage : public DtPage 00032 { 00033 Q_OBJECT; 00034 public: 00036 DtCockpitSettingsPage(DtDe& de, QWidget* parent, Qt::WindowFlags f = 0); 00037 00039 virtual ~DtCockpitSettingsPage(); 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 DtCockpitSettingsLogic* myLogic; 00066 DtCockpitSettingsWidget* myWidget; 00067 DtPersistenceToolbarWidget* myToolbar; 00068 DtDe& myDe; 00069 00070 QLayout* myMainLayout; 00071 }; 00072 00075 typedef DtPageCreatorTemplate<DtCockpitSettingsPage> 00076 DtCockpitSettingsPageCreator; 00077 }