ui->TH_2->setStyleSheet("background-color: rgb(170, 0, 255);");. 这样一条命令就OK了。 而对于windows下其他的控件,两种方法都可以。
確定! 回上一頁