itom
Loading...
Searching...
No Matches
dataObjectTableFactory.h
1/* ********************************************************************
2 itom measurement system
3 URL: http://www.uni-stuttgart.de/ito
4 Copyright (C) 2021, Institut für Technische Optik (ITO),
5 Universität Stuttgart, Germany
6
7 This file is part of itom.
8
9 itom is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 itom is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with itom. If not, see <http://www.gnu.org/licenses/>.
21
22 In addition, as a special exception, the Institut für Technische
23 Optik (ITO) gives you certain additional rights.
24 These rights are described in the ITO LGPL Exception version 1.0,
25 which can be found in the file LGPL_EXCEPTION.txt in this package.
26*********************************************************************** */
27
28#ifndef DATAOBJECTTABLEFACTORY_H
29#define DATAOBJECTTABLEFACTORY_H
30
31#include "qglobal.h"
32#include <QtUiPlugin/QDesignerCustomWidgetInterface>
33
34class DataObjectTableFactory : public QObject, public QDesignerCustomWidgetInterface
35{
36 Q_OBJECT
37 // Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetInterface" FILE
38 // "pluginMetaData.json")
39 Q_INTERFACES(QDesignerCustomWidgetInterface)
40
41public:
42 DataObjectTableFactory(QObject* parent = 0);
43
44 bool isContainer() const;
45 bool isInitialized() const;
46 QIcon icon() const;
47 QString domXml() const;
48 QString group() const;
49 QString includeFile() const;
50 QString name() const;
51 QString toolTip() const;
52 QString whatsThis() const;
53 QWidget* createWidget(QWidget* parent);
54 void initialize(QDesignerFormEditorInterface* core);
55
56private:
57 bool initialized;
58};
59
60#endif // DATAOBJECTTABLEFACTORY_H
Definition dataObjectTableFactory.h:35