radio_button->setStyleSheet("QRadioButton { color: red; }");
ui->radioButton->setStyleSheet("QRadioButton{background: yellow; color: green;}");QString str = ui->radioButton->styleSheet();ui->radioButton->setStyleSheet(str + "QRadioButton{color: red;}");
C++ (Qt) QPalette p = radioButton->palette(); p.setColor(QPalette::WindowText, Qt::red); radioButton->setPalette(p);