| 400 | } |
| 401 | |
| 402 | void ScrollIndicator::setHoverActive(){ |
| 403 | QPropertyAnimation* widen = new QPropertyAnimation(this, "geometry"); |
| 404 | widen->setDuration(300); |
| 405 | widen->setStartValue(QRect(this->x(), this->y(), this->width(), this->height())); |
| 406 | widen->setEndValue(QRect(this->parentWidget()->width() - margin - defaultWidthAtFocus, this->y(), defaultWidthAtFocus, this->height())); |
| 407 | widen->setEasingCurve(QEasingCurve::InOutQuad); |
| 408 | widen->start(QAbstractAnimation::DeleteWhenStopped); |
| 409 | aniPause->start(300); |
| 410 | } |
nothing calls this directly
no outgoing calls
no test coverage detected