C++ (Qt)button->setStyleSheet("QPushButton { background-color: red; }");
C++ (Qt)button->setEnabled(false);// либоbutton->setDisabled(true);
C++ (Qt)button->setDisabled(!someEnabledFlag);