_opacity(0),
_animation(new QPropertyAnimation(this, "opacity", this))
{
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
setZValue(10);
setCursor(QCursor(Qt::OpenHandCursor));
QRectF sceneBRect = _boundingRect.translated(x(), 0);
_sceneLeft = sceneBRect.left();
_sceneRight = sceneBRect.right();
+ emit positionChanged(xpos);
}