##// END OF EJS Templates
Commented out problematic pie model mapper in declarative impl
Tero Ahola -
r1212:c66ff10c81c9
parent child
Show More
@@ -33,12 +33,12 DeclarativePieSeries::DeclarativePieSeries(QObject *parent) :
33 // setModel(new DeclarativeTableModel());
33 // setModel(new DeclarativeTableModel());
34
34
35 // TODO: Set default mapper parameters to allow easy to use PieSeries api?
35 // TODO: Set default mapper parameters to allow easy to use PieSeries api?
36 QPieModelMapper *mapper = modelMapper();//new QPieModelMapper();
36 // QPieModelMapper *mapper = modelMapper();//new QPieModelMapper();
37 mapper->setMapLabels(0);
37 // mapper->setMapLabels(0);
38 mapper->setMapValues(1);
38 // mapper->setMapValues(1);
39 mapper->setOrientation(Qt::Vertical);
39 // mapper->setOrientation(Qt::Vertical);
40 mapper->setFirst(0);
40 // mapper->setFirst(0);
41 mapper->setCount(-1);
41 // mapper->setCount(-1);
42 // setModelMapper(mapper);
42 // setModelMapper(mapper);
43 }
43 }
44
44
General Comments 0
You need to be logged in to leave comments. Login now