GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
go4plugin.h
Go to the documentation of this file.
1// $Id$
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 fuer 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
21class Go4WidgetPlugins: public QObject, public QDesignerCustomWidgetCollectionInterface
22 {
23 Q_OBJECT
24 Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
25
26 public:
27 Go4WidgetPlugins(QObject *parent = nullptr);
28
29 virtual QList<QDesignerCustomWidgetInterface*> customWidgets() const;
30
31 private:
32 QList<QDesignerCustomWidgetInterface*> widgets;
33 };
34
35
36#endif
37
QList< QDesignerCustomWidgetInterface * > widgets
Definition go4plugin.h:32
Go4WidgetPlugins(QObject *parent=nullptr)
Definition go4plugin.cpp:27
virtual QList< QDesignerCustomWidgetInterface * > customWidgets() const
Definition go4plugin.cpp:42