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.
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.