Ui->tabWidget change tab title color
-
Dear All,
I can't get sample code and discussion about the ui->tabWidget to configure the title color in net. May i know from your experience is it possible to do it using ui->tabWidget method?
Thank you..
-
this is possible with "stylesheets":http://qt-project.org/doc/qt-4.8/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
-
Dear Raven-worx
Thanks for your hint. The code as bellow:
@
ui->tabWidget->setStyleSheet("QTabBar::tab::selected { color : red; font-weight : bold; }");@