Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Get current theme highligth colour
scrum_halfling last edited by
Is there anyway to get the current theme colour for the
highlightproperty on a
ListViewitem? What I want to do is to set the colour to match to current theme's instead of hardcoding this value, since it looks like there is no way to fix the highlight on the selected item. Every solution I've seen so far creates a
Rectangleor changes the text colour with a custom value. Using the one from current theme would avoid having to change it on every theme available for the application.
Thank you in advance!