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?
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 add to activate "background" for your button.
Are there more such play docs(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![]()
Bookmarks