[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    stylesheets on embedded widgets e.g inside [K|Q]ComboBox
From:       Thorsten_Röder <thorsten.roeder () weihenstephan ! org>
Date:       2007-05-13 10:27:50
Message-ID: C8A66A16-D9B4-4256-95D7-0705E9FFFFEC () weihenstephan ! org
[Download RAW message or body]

Hi,

I noticed, that if you type many characters inside the location bar
of konqueror the text will go behind the clear Button.

The clearButton is done inside KLineEdit. There to prevent the
text going behind the button a "padding-right" stylesheet is set to
the underlying QLineEdit, which works fine with KLineEdit.

Konqueror uses a inheritance of KComboBox where KLineEdit is
explicitly set as the embedded lineEdit widget. As far as I can see
from qt-copy/src/gui/styles/qstylesheetstyle.cpp:2402,2598ff
QT in general doesn't honor stylesheets set on embedded widgets
(because QRenderRule is only taken from the surrounding
QComboBox widget)

That's where I'm stuck with this atm. :-)

So the question I'm asking is what to do with this issue.
Is it a QT bug then? Should I report this to QT?
Could we do anything about this if QT won't support this feature
in the future?

Best regards
Thorsten
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic