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

Method eventFilter

ElaWidgetTools/ElaScrollBar.cpp:116–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected