MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / getIsOverShoot

Method getIsOverShoot

ElaWidgetTools/ElaScrollArea.cpp:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51bool ElaScrollArea::getIsOverShoot(Qt::Orientation orientation) const
52{
53 QScrollerProperties properties = QScroller::scroller(this->viewport())->scrollerProperties();
54 return properties.scrollMetric(orientation == Qt::Horizontal ? QScrollerProperties::HorizontalOvershootPolicy : QScrollerProperties::VerticalOvershootPolicy).toBool();
55}
56
57void ElaScrollArea::setIsAnimation(Qt::Orientation orientation, bool isAnimation)
58{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected