Qt 6.11 is out! See what's new in the release
blog
RGB Value for the background color on QWidgets
-
Hello all,
I have been looking everywhere for this. What is the RGB values for the default background color of widgets in Qt?
Best
-
Every QWidget paints according to the palette set to it. So take a the palette and retrieve the color role you want (in your case ColorRole::Background)