@@ -338,7 +338,7 void QLegend::appendMarkers(QBarSeries *series) | |||
|
338 | 338 | marker->setName(s->name()); |
|
339 | 339 | marker->setBrush(s->brush()); |
|
340 | 340 | connect(marker,SIGNAL(clicked(QBarSet*,Qt::MouseButton)),this,SIGNAL(clicked(QBarSet*,Qt::MouseButton))); |
|
341 |
connect(s,SIGNAL( |
|
|
341 | connect(s,SIGNAL(valueChanged()),marker,SLOT(changed())); | |
|
342 | 342 | connect(marker,SIGNAL(destroyed()),this,SLOT(handleMarkerDestroyed())); |
|
343 | 343 | mMarkers.append(marker); |
|
344 | 344 | childItems().append(marker); |
@@ -396,7 +396,7 void QLegend::layoutChanged() | |||
|
396 | 396 | |
|
397 | 397 | if (mMarkers.count() > maxHorizontalItems * maxVerticalItems) { |
|
398 | 398 | // TODO: overlapping layout |
|
399 | qDebug() << "Warning. Not enough space to layout all legend items properly."; | |
|
399 | //qDebug() << "Warning. Not enough space to layout all legend items properly."; | |
|
400 | 400 | } |
|
401 | 401 | |
|
402 | 402 | qreal margin = 5; |
General Comments 0
You need to be logged in to leave comments.
Login now