![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 * Copyright (c) 2011 MAK Technologies, Inc. 00003 * All rights reserved. 00004 *****************************************************************************/ 00005 /****************************************************************************** 00006 * $RCSfile: DtConnectionListPage.h,v $ $Revision: 1.9 $ $State: Exp $ 00007 *****************************************************************************/ 00008 00012 00013 #pragma once 00014 00015 #include <vrvVrlQt/vrvVrlQt.h> 00016 #include <vrvCoreQt/DtPage.h> 00017 00018 class QVBoxLayout; 00019 00020 namespace makVrv 00021 { 00022 00023 class DtConnectionListWidget; 00024 class DtPersistenceToolbarWidget; 00025 00029 class DT_DLL_VRVVRLQT DtConnectionListPage : public DtPage 00030 { 00031 public: 00032 00034 DtConnectionListPage( DtDe& de, QWidget* parent = 0, Qt::WindowFlags f = 0 ); 00035 00037 virtual ~DtConnectionListPage(); 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 00055 void setupGui(); 00056 00058 virtual void activate(); 00059 00061 virtual void deactivate(); 00062 00063 protected: 00064 00065 DtDe& myDe; 00066 QVBoxLayout* myMainLayout; 00067 QVBoxLayout* myContentsLayout; 00068 DtPersistenceToolbarWidget* myTitle; 00069 DtConnectionListWidget* myConnectionListWidget; 00070 00071 }; 00072 00075 typedef DtPageCreatorTemplate<DtConnectionListPage> DtConnectionListPageCreator; 00076 00077 }