Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, May 2008
Stylesheets and parent widgets


Message 1 in thread

I am using Qt 4.3.3 under Linux, I try to have an application where some 
windows may have different stylesheets. Some of them may be docked or 
added to a QStackedWidget so I need to set their parent to a 
QDockWidget. Doing this the windows loose their stylesheet properties 
and take the parent stylesheet. It happens always if I rewrite the 
stylesheets after showing the windows.
Is there any trick to solve this annoing problem?
begin:vcard
begin:vcard
fn:Massimo Manca
n:Manca;Massimo
org:Micron Engineering di Massimo Manca
adr:;;via della Ferriera, 48;Pordenone;PN;33170;ITALIA
email;internet:massimo.manca@xxxxxxxxxxxxxxxxxxxx
tel;work:+39 0434 1856131
tel;fax:+39 0434 1851032 / 178 273 3543
tel;cell:+39 349 4504979
url:http://www.micronengineering.it
version:2.1
end:vcard