MCPcopy Create free account
hub / github.com/Linloir/GraphBuilder / setHoverActive

Method setHoverActive

customScrollContainer.cpp:402–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402void 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected