Hi,
I'm looking for a way to change tick colors for a QSlider which uses TicksBothSides.
Can anyone tell me how to do this (hopefully without having to reimplement the paintEvent()).
Best,
asc
Hi,
I'm looking for a way to change tick colors for a QSlider which uses TicksBothSides.
Can anyone tell me how to do this (hopefully without having to reimplement the paintEvent()).
Best,
asc
Did you try to use QPalette? (with QPalette::WindowText)
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Hi, you can also try style sheets: example
Ginsengelf
edit: it seems like you cannot change the tick color using style sheets.
Last edited by Ginsengelf; 20th January 2014 at 13:39. Reason: updated contents
Bookmarks