GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
go4plugin.h
Go to the documentation of this file.
1 // $Id: go4plugin.h 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 #ifndef GO4PLUGIN_H
15 #define GO4PLUGIN_H
16 
17 
18 #include <QtDesigner/QtDesigner>
19 #include <QtCore/qplugin.h>
20 
21 class Go4WidgetPlugins: public QObject, public QDesignerCustomWidgetCollectionInterface
22  {
23  Q_OBJECT
24  Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
25 
26  public:
27  Go4WidgetPlugins(QObject *parent = 0);
28 
29  virtual QList<QDesignerCustomWidgetInterface*> customWidgets() const;
30 
31  private:
32  QList<QDesignerCustomWidgetInterface*> widgets;
33  };
34 
35 
36 #endif
37 
virtual QList< QDesignerCustomWidgetInterface * > customWidgets() const
Definition: go4plugin.cpp:42
QList< QDesignerCustomWidgetInterface * > widgets
Definition: go4plugin.h:32
Go4WidgetPlugins(QObject *parent=0)
Definition: go4plugin.cpp:27