PDA

View Full Version : QSS Problem with tabbed QDockWidgets



JCarpenter
6th March 2014, 12:37
Hi and thanks for reading!

I'm currently trying to get some color in my stylesheet - especially for borders. Everything works fine as long as there are QTabWidgets and not tabbed QDockWidgets. As you can see in the attachment, i changed the border-color on the QTabWidgets to orange. I'd like to be able to do the same for the tabs from the DockWidgets (the horizontal grey line just above the tabs that stretches to the right) but i can't find out how to do that.

10107

For the QTabWidget, everything i needed was:


QTabWidget::pane {
border: 1px solid #ff9933;
margin-left: 1px;
margin-right: 1px;
border-bottom-right-radius: 4px;
}

I tested that with the Qt Design 4.8.2 and i feel like i'm going crazy because of that single line...
heeeeelp :confused:


Thanks for any advice / idea