[Qt-creator] Problem with stylesheets, QLineEdit and gradient background
Patric
userqt at gmail.com
Thu Jul 2 01:59:00 CEST 2009
Hello guys,
I have some problem with the stylesheets for my widgets.
For my Main Window I have gradient background, similar to the background from the examples.
In this main window I have Stacked widget and in that stacked widget - promoted custom widget, and in it I have QLineEdit. The problem is that the QLineEdit is taking the gradient, even if I set it's own stylesheet to background:white for example. I tried also with rgb(255, 255, 255); , but still no efect.
Also I tried to set it for the whole widget and even for the stacked widget.
But when I use another color, yellow for example, there's no such problem. Black is also no problem. But the white is. And every color whiter than the background in that position.
Maybe the problem comes from the stacked widget, because I have other promoted widget and QLineEdit inside QTabWidget, but anyway the QTabWidget is also in QStackedWidget.
I hope you understand my question.
Any ideas ?
Thank you
Patric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090702/fb040bfa/attachment.html
More information about the Qt-creator-old
mailing list