Qtabwidget colors
-
Hi all!
I need change color with a tabwidget. this is no problem if background color of parent control is de same color for tabwidget. But if color is different the effect is ugly. I need that the background surrounding tabs are black as parent control backcolor
here a sample picture
!http://ompldr.org/tZTVkdg(Sample picture)!
[url=http://ompldr.org/vZTVkdg][img]http://ompldr.org/vZTVkdg[/img][/url]Please there any way to make the color surrounding the tabs is the same as that of the background parent control?
Thanks for all
-
[quote author="rschaub" date="1339078126"]I'm not sure if this'll work, but you could try
@
QTabBar* pTabBar = pMyTabWidget->tabBar();
pTabBar->setAutoFillBackground(false);
@This will tell the tab bar not to fill its background area automatically.[/quote]
Thanks for you answer. My question is about space between tabs.
If I put setAutoFillBackground(false) the rest of tab bar is transparent but not space between tabs.
Any other idea?
Thanks