| 114 | d->_handleScrollBarGeometry(); |
| 115 | } |
| 116 | update(); |
| 117 | Q_EMIT pScrollBarWidthChanged(); |
| 118 | } |
| 119 | |
| 120 | int ElaScrollBar::getScrollBarWidth() const |
| 121 | { |
| 122 | Q_D(const ElaScrollBar); |
| 123 | return d->_pScrollBarWidth; |
| 124 | } |
| 125 | |
| 126 | void ElaScrollBar::setIsSmoothScroll(bool isSmoothScroll) |
| 127 | { |
| 128 | Q_D(ElaScrollBar); |
| 129 | d->_isSmoothScroll = isSmoothScroll; |
| 130 | if (!isSmoothScroll) |
| 131 | { |
| 132 | stopSmoothScroll(); |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | bool ElaScrollBar::getIsSmoothScroll() const |
| 137 | { |
nothing calls this directly
no test coverage detected