[Qt-interest] QFrame::setFrameStyle() and QApplication::setStyleSheet working together?

Markus Franke markus.franke at informatik.tu-chemnitz.de
Mon Feb 16 12:26:46 CET 2009


Dear Qt Developers/Users,

in my Qt application I am setting an application wide stylesheet via  
QApplication::setStyleSheet(). Lateron I try to use QLabels which are  
surrounded by a frame. I am using QFrame::setFrameStyle() to achieve  
this. However, it turned out that the frames will only appear if I  
don't set any stylesheet in my application. Otherwise simply no frame  
is drawn. Am I missunderstanding something with Qt Stylesheets? I am  
on Qt 4.4.3.

Thanks for helps and with best regards,
Markus




More information about the Qt-interest-old mailing list