KListViewSearchLine
Scott Wheeler
wheeler at kde.org
Wed Feb 18 00:03:02 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
...and since it's so much fun talking to myself -- here's a new thingie that I
added tonight -- this makes it possible (there's a slot to turn this on and
off) to show the parent items above matched items in a tree like search:
http://ktown.kde.org/~wheeler/images/kmail-search-threads.png
I've also update the API a little bit for this stuff and am attaching a new
version. There's been a reasonable amount of interest in this, though such
hasn't shown up here; there are certainly at least the standard two places
where this would be applicable in KDE that's normally a requirement for a new
class.
In the above screenshot I've also discovered a Qt bug that I haven't come up
with a good test-case for yet, but sometimes it shows items that where
setVisible(false) has been called, but only in a tree view with multiple
siblings on a given node (or at least from what I've observed). Note the
visible mail from Russel in the above. I'll see if I can come up with a
testcase and Qt patch in the next few days.
So is this ok to check in? (Just the libs part; I'll deal with the
application patches later.)
- -Scott
- --
The three chief virtues of a programmer are: laziness, impatience and hubris.
- --Larry Wall
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQFAMqu2Qu0ByfY5QTkRArV6AJ9yVLg0+dbJ/oJIo5MqhUuSs7lavACgk9b6
S45o2eadKv/K9Jhk8Dbj2Y8=
=BLGL
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: klistviewsearchline.cpp
Type: text/x-c++src
Size: 5125 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040218/0002cc60/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: klistviewsearchline.h
Type: text/x-chdr
Size: 3025 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040218/0002cc60/attachment.h>
More information about the kde-core-devel
mailing list