QPushButton setForeGroundRole
Unsolved
General and Desktop
-
@Perdrix
The styles don't have to callforegroundRole()
to determine the text color role, sosetForegroundRole
may not always be effective.
From the doc:Note that styles are free to choose any color from the palette. You can modify the palette or set a style sheet if you don't achieve the result you want with setForegroundRole().