Meaning of eventFilter return value
-

If the return value of eventFilter is set to true, the scroll bar turns black.
If you set it to false, it comes out normally.
What is the difference between the return values?@IknowQT It's explained in the documentation: https://doc.qt.io/qt-5/qobject.html#installEventFilter
"The eventFilter() function must return true if the event should be filtered, (i.e. stopped); otherwise it must return false."
So, if you return true it means the event is droped and the object (on which you set the event filter) will not handle it.