[PATCH] extend KTreeWidgetSearchLine with flash possibility

jos poortvliet jos at mijnkamer.nl
Fri Apr 6 12:15:32 BST 2007


Op Friday 06 April 2007, schreef David Faure:
> On Friday 06 April 2007, Boyd Stephen Smith Jr. wrote:
> >  I find some blinking to be quite useful.  For example,
> > blinking a window or taskbar element that requested focus but hasn't
> > received it.
>
> Exactly, flashing something is ok when it requires attention (it even
> strongly suggests an action to the user: click me).
>
> Whereas a filter that is still active doesn't require immediate action, it
> only needs to make it clear enough that it's still active.

Paulo Moura Guedes' suggestion was/is beautiful, imho, and the way to go here:

> 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


-- 
Disclaimer:

Alles wat ik doe denk en zeg is gebaseerd op het wereldbeeld wat ik nu heb. 
Ik ben niet verantwoordelijk voor wijzigingen van de wereld, of het beeld wat 
ik daarvan heb, noch voor de daaruit voortvloeiende gedragingen van mezelf. 
Alles wat ik zeg is aardig bedoeld, tenzij expliciet vermeld.

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070406/cbff1947/attachment.sig>


More information about the kde-core-devel mailing list