[PATCH] extend KTreeWidgetSearchLine with flash possibility

Aaron J. Seigo aseigo at kde.org
Fri Apr 6 14:39:17 BST 2007


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. 
if so, please consider using KLineEdit::setClearbuttonShown( true ) instead 
of providing your own clear button for things like the URL selector.

in fact, i've just added that to KUrlRequester itself, so it should appear on 
your next kdelibs update as redundant ;)

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.

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& )

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- 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/e7838914/attachment.sig>


More information about the kde-core-devel mailing list