![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: DtRemoteGraphicsPanel.h,v $ $Revision: 1.22 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #pragma once 00013 #include <vrvVrlQt/vrvVrlQt.h> 00014 00015 #include <vrvCoreQt/DtPage.h> 00016 #include <QtGui/QWidget> 00017 #include <vrvCoreQt/DtDockable.h> 00018 00019 class QTabWidget; 00020 00021 namespace makVrv 00022 { 00023 class DtRemoteGraphicSetWidget; 00024 class DtAttributeGroupTemplateWidget; 00025 class DtDe; 00026 00030 class DT_DLL_VRVVRLQT DtRemoteGraphicsPanel : public DtPage 00031 { 00032 Q_OBJECT 00033 00034 public: 00035 00037 virtual ~DtRemoteGraphicsPanel(); 00038 00040 virtual QIcon icon(); 00041 00043 virtual QString title(); 00044 00046 virtual const std::string& pageClassName() const; 00047 00048 protected: 00049 00050 void setupGui(); 00051 00052 friend class DtRemoteGraphicsPanelCreator; 00053 00055 DtRemoteGraphicsPanel(DtDe& de, QWidget* parent = 0, Qt::WindowFlags f = 0); 00056 00058 virtual void activate(); 00059 00061 virtual void deactivate(); 00062 00063 private: 00064 00066 DtRemoteGraphicsPanel(const DtRemoteGraphicsPanel& orig); 00067 00069 DtRemoteGraphicsPanel& operator=(const DtRemoteGraphicsPanel& orig); 00070 00071 protected: 00072 std::string myClassName; 00073 QTabWidget* myTabWidget; 00074 DtRemoteGraphicSetWidget* myRemoteGraphicsWidget; 00075 DtAttributeGroupTemplateWidget* myAttributeGroupTemplateWidget; 00076 }; 00077 00080 class DT_DLL_VRVVRLQT DtRemoteGraphicsPanelCreator : public DtPageCreator 00081 { 00082 public: 00083 00085 DtRemoteGraphicsPanelCreator(DtDe& de); 00086 00088 virtual ~DtRemoteGraphicsPanelCreator(); 00089 00093 virtual std::string pageClassName() const; 00094 00096 virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0); 00097 }; 00098 00099 }