00001 // $Id: go4plugin.cpp 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #include "go4plugin.h" 00015 00016 #include "QGo4WidgetPlugin.h" 00017 #include "QGo4LineEditPlugin.h" 00018 #include "QGo4CommandsHistoryPlugin.h" 00019 #include "QGo4BrowserTreeWidgetPlugin.h" 00020 #include "QFitWidgetPlugin.h" 00021 #include "QFitNamedWidgetPlugin.h" 00022 #include "QFitModelWidgetPlugin.h" 00023 #include "QRootCanvasPlugin.h" 00024 #include "QRootWindowPlugin.h" 00025 00026 00027 Go4WidgetPlugins::Go4WidgetPlugins(QObject *parent) 00028 : QObject(parent) 00029 { 00030 Q_INIT_RESOURCE(go4plugin); 00031 widgets.append(new QGo4WidgetPlugin(this)); 00032 widgets.append(new QGo4LineEditPlugin(this)); 00033 widgets.append(new QGo4CommandsHistoryPlugin(this)); 00034 widgets.append(new QGo4BrowserTreeWidgetPlugin(this)); 00035 widgets.append(new QFitWidgetPlugin(this)); 00036 widgets.append(new QFitNamedWidgetPlugin(this)); 00037 widgets.append(new QFitModelWidgetPlugin(this)); 00038 widgets.append(new QRootCanvasPlugin(this)); 00039 widgets.append(new QRootWindowPlugin(this)); 00040 } 00041 00042 QList<QDesignerCustomWidgetInterface*> Go4WidgetPlugins::customWidgets() const 00043 { 00044 return widgets; 00045 } 00046 00047 Q_EXPORT_PLUGIN2(go4plugin, Go4WidgetPlugins) 00048 00049 00050