Well, fair enough, but I have been all over the documentation and, maybe it's just me, but I can't locate one place where all the properties/styles, and what they do, are listed for the various features and how they map to the different widgets, that is, what applies to one widget but not on another.
You were also correct about my fumble-finger typo, and I did see the features expressed when I fixed that, but not as I would have hoped. I lost the background and foreground colors, and I don't think it's a typo, this time.

bbStyle[0] = "color: aqua; background-color: black"
"border-style: outset; border-color: green;"
"border-width: 2px";
bbStyle[1] = "color: black; background-color: aqua"
"border-style: outset; border-color: green;"
"border-width: 2px";
:
:
void BitButton::setState(int state)
{
bbState = state;
this
->setText
(QString::number(state
));
this->setStyleSheet(bbStyle[state]);
}
bbStyle[0] = "color: aqua; background-color: black"
"border-style: outset; border-color: green;"
"border-width: 2px";
bbStyle[1] = "color: black; background-color: aqua"
"border-style: outset; border-color: green;"
"border-width: 2px";
:
:
void BitButton::setState(int state)
{
bbState = state;
this->setText(QString::number(state));
this->setStyleSheet(bbStyle[state]);
}
To copy to clipboard, switch view to plain text mode
As you can see, what I'm looking for is a pushbutton that toggles its color every time it's pressed. I subclassed QBitbutton to do this. When I get the button to change color, the asthetics are lacking. When I add some dimension, I lose the color. I remember reading in the docs that some of these properties conflict, but it wasn't clear to me which ones, which is why I'm looking for a table or list that explains these things.
Bookmarks