Datasource editor has been added to chart item

This commit is contained in:
Arin Alex 2017-07-14 18:36:31 +03:00
parent e5e873eb40
commit 3b1d6bfbbe
2 changed files with 3 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 500 B

View File

@ -54,6 +54,9 @@ namespace{
bool VARIABLE_IS_NOT_USED registredImageFieldProp = LimeReport::ObjectPropFactory::instance().registerCreator( bool VARIABLE_IS_NOT_USED registredImageFieldProp = LimeReport::ObjectPropFactory::instance().registerCreator(
LimeReport::APropIdent("field","LimeReport::ImageItem"),QObject::tr("field"),createFieldPropItem LimeReport::APropIdent("field","LimeReport::ImageItem"),QObject::tr("field"),createFieldPropItem
); );
bool VARIABLE_IS_NOT_USED registredChartDatasouceProp = LimeReport::ObjectPropFactory::instance().registerCreator(
LimeReport::APropIdent("datasource","LimeReport::ChartItem"),QObject::tr("datasource"),createDatasourcePropItem
);
} }
QWidget* LimeReport::DatasourcePropItem::createProperyEditor(QWidget *parent) const{ QWidget* LimeReport::DatasourcePropItem::createProperyEditor(QWidget *parent) const{