From 3b1d6bfbbe7a959abc0132373b769f5dcd188dd8 Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Fri, 14 Jul 2017 18:36:31 +0300 Subject: [PATCH] Datasource editor has been added to chart item --- limereport/items/images/pie_chart2.png | Bin 2237 -> 500 bytes .../propertyItems/lrdatasourcepropitem.cpp | 3 +++ 2 files changed, 3 insertions(+) diff --git a/limereport/items/images/pie_chart2.png b/limereport/items/images/pie_chart2.png index f4f788d26c970938c4d4f5bf500e7837197a7a08..9973e5747ff41f67ea9d6bf9892e8e6243e92da4 100644 GIT binary patch delta 484 zcmVmzTe+uvb z01EH{Laa2H00007bV*G`2jK?}4 zyXtsFArV@LlMtoPV22j^0PW^vr)=HY7brUDJJed7R9aA>C2_NkDMV<8fFPvPwSV&G z#?+R7EE zKESkxo|^N_nGAct2aK(5EOP*u_{4euY!tUO2Y~t8Q?w?BnQto(Ad||6W?t`?13}qz zfe$E>Dz_{_5XC3f1E7)$;d2KD*4z)0lS+I*LQJAY8{CHegw$xmcQ5&_3Yln-i56G+L_t(o!=;y9Y#dh=$A9aY!A1e`MBcduKmp?gtM$c5Eww1g`YgIlI!_|2h9N_s%(j z8(2?I3`;-)BEiOG0CQw~+Fb9R;yOqLkOBsQF)7?V0$D*YAl5u?t(~`+s51VqunWW^u1p{B(}N>Lzfvsuqq*Mfh?`B71VAeaY`rz5e}ZtbSqmp? zVP|$qna=BAj{;|pj8AuND1b!jA>fOy%zUNjkM6x?;K80Pz4wShW|*|MiIn5x2oC^l zV+5i?IembI9`d7ik zM$s_~Ox51x-Kk%+YvJUp#_I0@XVxm=ZV+HdAfG7umBagYd?&ZPfAj#Z%%YUy(#d0Z ze|v#V;WSpq2(7R>1`}hof{#zYU!SAlZ>GNg8x%kFc{1sKc9tI^<>WJOfAr(SL8H2C zG2aEIR|uUAFWh5=^w8Ju-SO?d(SdPXnWeE*r~bQV=sRy73Z&ifbT)_MA z56sjSaYjBt%FEH0e;*<3_P8@kr#45rF+cuz;neYGmo>?m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yv7 z{EFY38*wsTp8#mb3%1@oZ-TJe48m#5bP1iiV(7N zrKL1jYXXa@TFdF=lKKCK)2jp`lA|lH@~mAM&jI`2h*#FX0p6d~5hRTojA;M>002ov JPDHLkV1oFuO27aB diff --git a/limereport/objectinspector/propertyItems/lrdatasourcepropitem.cpp b/limereport/objectinspector/propertyItems/lrdatasourcepropitem.cpp index 4463051..b6d4456 100644 --- a/limereport/objectinspector/propertyItems/lrdatasourcepropitem.cpp +++ b/limereport/objectinspector/propertyItems/lrdatasourcepropitem.cpp @@ -54,6 +54,9 @@ namespace{ bool VARIABLE_IS_NOT_USED registredImageFieldProp = LimeReport::ObjectPropFactory::instance().registerCreator( 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{