Hi,
now I want to customize the TabBars when QDockWidgets are tabbed. I can change the tabs, but I can't access the tab-bar and the pane. See the desired result in attached image. I want to add a background color gradient and a border around the pane and I want to move the tabs by 3 px to the right.
/* Tab */
QTabWidget::pane /* this does not work with tabbed QDockWidgets! */ {
margin-top:-26Px;
background-color:red;
border:1px solid #959595;
padding-top:2px;
border-radius: 2px;
}
QTabWidget::tab-bar
/* this does not work with tabbed QDockWidgets! */ {
border:none;
left:3px;
}
/* Tab */
QTabWidget::pane /* this does not work with tabbed QDockWidgets! */
{
margin-top:-26Px;
background-color:red;
border:1px solid #959595;
padding-top:2px;
border-radius: 2px;
}
QTabWidget::tab-bar /* this does not work with tabbed QDockWidgets! */
{
border:none;
left:3px;
}
To copy to clipboard, switch view to plain text mode
is there any special way to access tabbars/pane of tabbed qdockwidgets?
thanks!
Felix
Bookmarks