stylesheet for Messagebox
How do we apply style sheets for the default Message box. Somehow the background color as well as the text color of the QMessagebox has become white. As the result, i cannot read the text, can only see the blue ok and cancel buttons.
the docs said
“The messagebox-text-interaction-flags property can be used to alter the interaction with text in the message box.”
I found an example which said
how do i change the background and the text color. ?
This is my code.
- QMessageBox::StandardButton msgBox;
If any one can give suggestions or the previously answered links,
Could you please post the contents of your stylesheet?
The example yourQtDir\examples\widgets\stylesheet may be helpful, too.