[PATCH] extend KTreeWidgetSearchLine with flash possibility
Paulo Moura Guedes
moura at kdewebdev.org
Fri Apr 6 15:34:33 BST 2007
On Friday 06 April 2007 14:39, Aaron J. Seigo wrote:
> On Thursday 05 April 2007, Paulo Moura Guedes wrote:
> > http://85.139.163.83/tmp/search_highlighted.png
>
> off-topic: this looks like a kde4 screenshot, judging from the oxygen
> icons.
Yes, it is.
> if so, please consider using KLineEdit::setClearbuttonShown( true )
> instead of providing your own clear button for things like the URL
> selector.
I will.
> in fact, i've just added that to KUrlRequester itself, so it should appear
> on your next kdelibs update as redundant ;)
I'm not using a KUrlRequester. It's an history combo plus a regular button :)
The reason is that KUrlRequester doesn't have history and that's more
important here that path completion.
> of course, i can understand why you have an external clear button on the
> filter line as that clears multiple items that belong to that group.
Yes, in this case it has to be external.
> btw, you may want to consider making the background change more subtle by,
> e.g. adding a highlight around the lineedit or combobox itself. this can be
> done either by adjust the palette of the widget or by adding some sort of
> decoration using QWidget::setStyleSheet( const QString& )
Sure! When I started I tried to search the API in order to change the border.
The best I could find was this and completely forgoten about the stylesheets.
Thanks
Paulo
More information about the kde-core-devel
mailing list