report element: label update when the linked folio report position change

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2682 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2013-12-29 22:47:31 +00:00
parent 72ef8a20f2
commit d1e11ead59
6 changed files with 69 additions and 10 deletions

View File

@@ -54,6 +54,7 @@ void QetGraphicsItem::setPos(const QPointF &p) {
// arrondit l'ordonnee a 10 px pres
int p_y = qRound(p.y() / (Diagram::yGrid * 1.0)) * Diagram::yGrid;
QGraphicsItem::setPos(p_x, p_y);
emit positionChange(pos());
} else QGraphicsItem::setPos(p);
}