qchartsplugin.h
45 lines
| 1.4 KiB
| text/x-c
|
CLexer
Marek Rosa
|
r1365 | /**************************************************************************** | ||
** | ||||
Titta Heikkala
|
r2688 | ** Copyright (C) 2014 Digia Plc | ||
Marek Rosa
|
r1365 | ** All rights reserved. | ||
Titta Heikkala
|
r2749 | ** For any questions to Digia, please use contact form at http://qt.io | ||
Marek Rosa
|
r1365 | ** | ||
Titta Heikkala
|
r2749 | ** This file is part of the Qt Charts module. | ||
Marek Rosa
|
r1365 | ** | ||
Titta Heikkala
|
r2749 | ** Licensees holding valid commercial license for Qt may use this file in | ||
** accordance with the Qt License Agreement provided with the Software | ||||
** or, alternatively, in accordance with the terms contained in a written | ||||
** agreement between you and Digia. | ||||
Marek Rosa
|
r1365 | ** | ||
** If you have questions regarding the use of this file, please use | ||||
Titta Heikkala
|
r2749 | ** contact form at http://qt.io | ||
Marek Rosa
|
r1365 | ** | ||
****************************************************************************/ | ||||
Jani Honkonen
|
r1935 | #ifndef QCHARTSPLUGIN_H | ||
#define QCHARTSPLUGIN_H | ||||
Michal Klocek
|
r1201 | |||
Titta Heikkala
|
r2714 | #include <QtDesigner/QDesignerCustomWidgetInterface> | ||
Michal Klocek
|
r1201 | |||
Jani Honkonen
|
r2101 | class QChartsPlugin: public QObject, public QDesignerCustomWidgetInterface | ||
Michal Klocek
|
r1201 | { | ||
Jani Honkonen
|
r2247 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDesignerCustomWidgetInterface") | ||
Marek Rosa
|
r2059 | |||
Michal Klocek
|
r1201 | Q_OBJECT | ||
Q_INTERFACES(QDesignerCustomWidgetInterface) | ||||
public: | ||||
QChartsPlugin(QObject *parent = 0); | ||||
~QChartsPlugin(); | ||||
QString name() const; | ||||
QString includeFile() const; | ||||
QString group() const; | ||||
QIcon icon() const; | ||||
QString toolTip() const; | ||||
QString whatsThis() const; | ||||
bool isContainer() const; | ||||
QWidget *createWidget(QWidget *parent); | ||||
Titta Heikkala
|
r2712 | QString domXml() const; | ||
Michal Klocek
|
r1201 | }; | ||
Jani Honkonen
|
r1935 | #endif /* QCHARTSPLUGIN_H */ | ||