hi, how to change QGroupBox's title color,i use QGroupBox's palette to set up it, no response. thanks
hi, how to change QGroupBox's title color,i use QGroupBox's palette to set up it, no response. thanks
I'm not aware of all ways to do this, but you can use this approach too:
Set the styleSheet property of QGroupBox to this:
It'll change the color of groupbox title to red.
Use QColor::name() to generate the compatible color code for the above statement.
ok, thanks your remind, i know what to do.
Bookmarks