Alundra
20th June 2014, 17:35
Hi all,
Since Qt has problem with QScrollbar and stylesheet (My bug report : https://bugreports.qt-project.org/browse/QTBUG-39513), the only way who stays is to use QStyle.
I want to have a scrollbar like that : http://www.qtcentre.org/threads/27908-Styling-background-of-QScrollBar.
As you can see it's a line and the handle on it, but stylesheet doesn't allow background-image so it's impossible.
What is the good way to use QStyle to have a scrollbar like that ?
Maybe it's just not possible using Qt ?
Thanks for the help
Since Qt has problem with QScrollbar and stylesheet (My bug report : https://bugreports.qt-project.org/browse/QTBUG-39513), the only way who stays is to use QStyle.
I want to have a scrollbar like that : http://www.qtcentre.org/threads/27908-Styling-background-of-QScrollBar.
As you can see it's a line and the handle on it, but stylesheet doesn't allow background-image so it's impossible.
What is the good way to use QStyle to have a scrollbar like that ?
Maybe it's just not possible using Qt ?
Thanks for the help