Buttons[i]->setFlat(true);
Buttons[i]->setStyleSheet("QPushButton:hover{background: red;}");
it works well without "Buttons[i]->setFlat(true);".
but how to do with this?
Printable View
Buttons[i]->setFlat(true);
Buttons[i]->setStyleSheet("QPushButton:hover{background: red;}");
it works well without "Buttons[i]->setFlat(true);".
but how to do with this?
You have to addto activate "background" for your button.Code:
border: 0;
Are there more such play docs :cool:Quote:
(Just figured it out some day while "playing" around...)
If there are many such,there should be a wiki section of such findings while playing around ;)