64 _text =
new QGraphicsTextItem(
this);
65 _text->setVisible(
false);
76 iter.
value().sensorData().uncompressDataConst(&image, 0, 0);
80 QPixmap scaled = QPixmap::fromImage(
img).scaledToWidth(128);
81 _img =
new QGraphicsPixmapItem(scaled,
this);
82 _img->setVisible(
false);
88 _text->setPos(this->mapFromScene(4+150,0));
90 _text->setPos(this->mapFromScene(4,0));
99 _text->setVisible(
true);
102 _img->setPos(this->mapFromScene(4,0));
103 _img->setVisible(
true);
108 _text->setVisible(
false);
110 _img->setVisible(
false);
121 _signaturesMapRef(signaturesMapRef)
138 ULOGGER_DEBUG(
"dataMap=%d, weightsMap=%d", dataMap.size(), weightsMap.size());
139 if(dataMap.size() > 0)
142 int margin =
int((
_items.size()+1)/2) - dataMap.size();
161 QList<QGraphicsItem*>::iterator
iter =
_items.begin();
162 for(QMap<int, float>::const_iterator
i=dataMap.begin();
i!=dataMap.end(); ++
i)
164 ((
PdfPlotItem*)*
iter)->setLikelihood(
i.key(),
i.value(), weightsMap.value(
i.key(), -1));