/***************************************************************************
- * Copyright (C) 2005-2012 by the Quassel Project *
+ * Copyright (C) 2005-2018 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
_opacity(0),
_animation(new QPropertyAnimation(this, "opacity", this))
{
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
setZValue(10);
setCursor(QCursor(Qt::OpenHandCursor));
_animation->setDirection(QPropertyAnimation::Forward);
_animation->setDuration(350);
_animation->setEasingCurve(QEasingCurve::InOutSine);
-
- //connect(&_timeLine, SIGNAL(valueChanged(qreal)), this, SLOT(hoverChanged(qreal)));
}
QRectF sceneBRect = _boundingRect.translated(x(), 0);
_sceneLeft = sceneBRect.left();
_sceneRight = sceneBRect.right();
+ emit positionChanged(xpos);
}