[PATCH] Span frame names in debugging watch window

Hamish Rodda rodda at kde.org
Thu Dec 4 06:49:04 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I got annoyed with the watch window, having to give the first column more 
space than it really needs just so I could see the frame name, so I wrote a 
patch to span the first column for the frame name across the remaining 
columns.  I've attached a screenshot and the patch.

It's a bit of a hack, and really should be done within qt.  However I can't 
forsee a better version of this functionality getting into qt before 4.0.   
This patch produces an ok result.  It can be cleaned up significantly: I 
think I can eliminate the lag in redrawing when resizing columns by directly 
calling the paint function myself, and instead of switching to QObjects I can 
have an internal QObject just for the items that require it.  I'm posting it 
now to see if I should bother continuing with it (ie. whether it is likely to 
be accepted or not).

Comments?

Cheers,
Hamish.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/zsq0H8BtnSmIlUYRAjLqAJwMFFO3U4lanfKRrwPFNjnXg+3ndwCgkz9G
IN7Rmh3TKwQAOOySePP/udc=
=+Hw7
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelop-20031204.patch
Type: text/x-diff
Size: 4500 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20031204/39dbe37b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelop-span2.png
Type: image/png
Size: 13124 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20031204/39dbe37b/attachment.png>


More information about the KDevelop-devel mailing list