##// END OF EJS Templates
scatterchart: get rid of a warning...
scatterchart: get rid of a warning This was the warning: scatterchart/scatterchartitem_p.h:68: Warning: Class ScatterChartItem implements the interface QGraphicsItem but does not list it in Q_INTERFACES. qobject_cast to QGraphicsItem will not work!

File last commit:

r1201:f0af86b6db21
r1232:8d7d8cb763e0
Show More
qchartsplugin.h
24 lines | 581 B | text/x-c | CLexer
#ifndef QCHARTSPLUGIN_H_
#define QCHARTSPLUGIN_H_
#include <QDesignerCustomWidgetInterface>
class QChartsPlugin: public QObject,public QDesignerCustomWidgetInterface
{
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);
};
#endif /* QCHARTSPLUGIN_H_ */