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 ...
Qt Code:
  1. bbStyle = "color: aqua; background-color: black; "
  2. "border-style: outaet; border-color: green;"
  3. "border-width: 2px";
  4.  
  5. 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.