![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: pluginDisplayHandler.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef PLUGINDISPLAYHANDLER_H_ 00013 #define PLUGINDISPLAYHANDLER_H_ 00014 00015 #include "tmqt/eventHandler.h" 00016 #include "tmqt/pluginExtension.h" 00017 00018 class DtTMPlugin; 00019 00021 #include "tmEventHandler/tmEventHandlerDefines.h" 00022 class DT_DLL_tmEventHandler DtPluginDisplayHandler : public DtEventHandler 00023 { 00024 Q_OBJECT 00025 00026 public: 00028 DtPluginDisplayHandler(); 00029 00031 virtual ~DtPluginDisplayHandler(); 00032 00033 public: 00035 static DtEventHandler* create(DtEventController* owner, void* usr); 00036 00037 protected slots: 00038 virtual void addPlugin(const DtTMPlugin*); 00039 00040 public: 00041 virtual QWidget* createDialog(QWidget* parent); 00042 virtual void init(); 00043 00044 protected: 00045 virtual QString pluginSource(const DtPluginInformation& info); 00046 }; 00047 00048 #endif //PLUGINDISPLAYHANDLER_H_ 00049