give it a bit of a curve
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878942
This commit is contained in:
parent
7d5c604245
commit
4b8da2000a
@ -173,6 +173,7 @@ void ToolTip::moveTo(const QPoint &to)
|
||||
if (!d->timeline) {
|
||||
d->timeline = new QTimeLine(250, this);
|
||||
d->timeline->setFrameRange(0, 10);
|
||||
d->timeline->setCurveShape(QTimeLine::EaseInCurve);
|
||||
connect(d->timeline, SIGNAL(valueChanged(qreal)), this, SLOT(animateMove(qreal)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user