![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: vrfPluginsLoadedWidget.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #pragma once 00013 00014 #include <vrvUtil/signalslib.h> 00015 00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h> 00017 #include <vrfGuiCoreQt/vrfPluginsLoadedWidgetInterface.h> 00018 00019 #include <QtGui/QWidget> 00020 00024 00025 namespace makVrv 00026 { 00027 class DtDe; 00028 } 00029 00030 class QTreeWidget; 00031 class QTextBrowser; 00032 class QLabel; 00033 00034 namespace makVrf 00035 { 00036 class DtVrfPluginsLoadedWidgetLogic; 00037 00038 class DT_DLL_VRFGUICOREQT DtVrfPluginsLoadedWidget : public QWidget, 00039 public DtVrfPluginsLoadedWidgetInterface 00040 { 00041 Q_OBJECT 00042 00043 public: 00044 00046 DtVrfPluginsLoadedWidget(makVrv::DtDe&, QWidget* parent = NULL, const Qt::WindowFlags& flags = 0); 00047 00049 virtual ~DtVrfPluginsLoadedWidget(); 00050 00051 void setupGui(); 00052 00053 protected: 00055 virtual void addPlugin(const QString& name, const QString& version, int key, const std::string& server); 00056 00058 virtual void removePlugin(const QString& name, int key); 00059 00061 virtual void setPluginInformation(const QString&); 00062 00063 protected slots: 00065 virtual void onItemSelectionChanged(); 00066 00067 public: 00068 QTreeWidget* myPlugins; 00069 00070 QLabel* myInformationLabel; 00071 QTextBrowser* myInformation; 00072 00073 protected: 00074 makVrv::DtDe& myDe; 00075 DtVrfPluginsLoadedWidgetLogic* myLogic; 00076 }; 00077 }