PDA

View Full Version : QTabWidget QSS transparency not working under Windows



il_gatto
26th January 2011, 12:27
Hello, I have a QTabWidget in my test QDialog. I set dialog's background color and I want the QTabWidget to be transparent.
If I use Windows style then the tab is opaque. If I use plastique style it is ok (transparent).
I use Qt style sheets.

m_tabWidget->setStyleSheet("QTabWidget{ background-color: rgba(0, 0, 0, 0)}");
Is it window style's bug? I searched for this bug on Nokia's site but couldn't find it.
I use Qt 4.7 on Windows 7.
Thank you for any help.

hardy
16th February 2011, 12:02
Hello,

i have the same problem with QDialogs on windows xp and ubuntu 10.10 since i switched from qt 4.5.0 (embedded) to qt 4.7.0 (not embedded).

Any ideas?

hardy