| 49 | } |
| 50 | |
| 51 | bool 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 | |
| 57 | void ElaScrollArea::setIsAnimation(Qt::Orientation orientation, bool isAnimation) |
| 58 | { |
nothing calls this directly
no outgoing calls
no test coverage detected