Have you tried tried appending it to the current styles? Something like:Reversing this change will require keeping the old value.Qt Code:
myDockWidget->setStyleSheet( myDockWidget->styleSheet() + "\n" + QString::fromUtf8("QDockWidget::title { background: yellowgreen;}") );To copy to clipboard, switch view to plain text mode
Bookmarks