![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtDateAndTimePage.h,v $ $Revision: 1.7 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 #include <vrvCoreQt/DtPage.h> 00015 00016 class QVBoxLayout; 00017 00018 namespace makVrv 00019 { 00020 class DtDateAndTimeWidget; 00021 class DtPersistenceToolbarWidget; 00022 00025 class DT_DLL_VRVCOREQT DtDateAndTimePage : public DtPage 00026 { 00027 Q_OBJECT 00028 00029 public: 00030 00032 DtDateAndTimePage(DtDe& de, QWidget* parent, Qt::WindowFlags f = 0); 00033 00035 virtual ~DtDateAndTimePage(); 00036 00038 virtual QIcon icon(); 00039 00041 virtual QString title(); 00042 00044 virtual const std::string& pageClassName() const; 00045 00047 static const std::string& thePageClassName(); 00048 00049 protected: 00050 00052 void setupGui(); 00053 00055 virtual void activate(); 00056 00058 virtual void deactivate(); 00059 00060 protected: 00061 00062 DtDe& myDe; 00063 DtPersistenceToolbarWidget* myTitle; 00064 QVBoxLayout* myMainLayout; 00065 DtDateAndTimeWidget* myWidget; 00066 }; 00067 00070 typedef DtPageCreatorTemplate<DtDateAndTimePage> DtDateAndTimePageCreator; 00071 }