I have had very limited success with widget->setStyleSheet.
I'm certain that it's "user error", but part of the problem is I just don't know where to go to get a list of valid properties for any given widget.
For example, what are all the valid properties for QPushButton?
How do I set a QPlainTextEdit box to have a sunken look?
I have tried things like this ...
bbStyle = "color: aqua; background-color: black; "
"border-style: outaet; border-color: green;"
"border-width: 2px";
this
->setStyleSheet
(QString(bbStyle
));
bbStyle = "color: aqua; background-color: black; "
"border-style: outaet; border-color: green;"
"border-width: 2px";
this->setStyleSheet(QString(bbStyle));
To copy to clipboard, switch view to plain text mode
... but the only thing that works in that example is the background and foreground colors.
Bookmarks