[PATCH] extend KTreeWidgetSearchLine with flash possibility

Paulo Moura Guedes moura at kdewebdev.org
Fri Apr 6 01:42:10 BST 2007


On Thursday 05 April 2007 20:17, Tom Albers wrote:
> Hi,
>
> For Mailody I wanted to make clear that a quick search was active when
> switching folders[1]. This is done by flashing the lineedit for a certain
> time[2].

What I did in KLinkStatus was to setBackgroundRole to QPalette::Highlight if 
there is text inserted. This is permanent, as long as there is any text. It 
has the advantage of keeping the user reminded.

http://85.139.163.83/tmp/search_highlighted.png

Paulo

> I extracted the patch and it could be applied to kdelibs. I think it's
> usefull, but I can understand it if people feel this is a Mailody specific
> thing and should stay there.
>
> gr.
>
> Toma
> [1] http://www.omat.nl/drupal/node/130
> [2] screenie: http://www.omat.nl/drupal/node/129




More information about the kde-core-devel mailing list