GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
go4plugin.cpp
Go to the documentation of this file.
1 // $Id: go4plugin.cpp 478 2009-10-29 12:26:09Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #include "go4plugin.h"
15 
16 #include "QGo4WidgetPlugin.h"
17 #include "QGo4LineEditPlugin.h"
20 #include "QFitWidgetPlugin.h"
21 #include "QFitNamedWidgetPlugin.h"
22 #include "QFitModelWidgetPlugin.h"
23 #include "QRootCanvasPlugin.h"
24 #include "QRootWindowPlugin.h"
25 
26 
28  : QObject(parent)
29 {
30  Q_INIT_RESOURCE(go4plugin);
31  widgets.append(new QGo4WidgetPlugin(this));
32  widgets.append(new QGo4LineEditPlugin(this));
33  widgets.append(new QGo4CommandsHistoryPlugin(this));
34  widgets.append(new QGo4BrowserTreeWidgetPlugin(this));
35  widgets.append(new QFitWidgetPlugin(this));
36  widgets.append(new QFitNamedWidgetPlugin(this));
37  widgets.append(new QFitModelWidgetPlugin(this));
38  widgets.append(new QRootCanvasPlugin(this));
39  widgets.append(new QRootWindowPlugin(this));
40 }
41 
42  QList<QDesignerCustomWidgetInterface*> Go4WidgetPlugins::customWidgets() const
43  {
44  return widgets;
45  }
46 
47 Q_EXPORT_PLUGIN2(go4plugin, Go4WidgetPlugins)
48 
49 
50 
virtual QList< QDesignerCustomWidgetInterface * > customWidgets() const
Definition: go4plugin.cpp:42
QList< QDesignerCustomWidgetInterface * > widgets
Definition: go4plugin.h:32
Go4WidgetPlugins(QObject *parent=0)
Definition: go4plugin.cpp:27