2 Feb 10:44
PATCH: New listview type to support saving column sizes and order
Robin Hill <robin <at> robinhill.me.uk>
2005-02-02 09:44:58 GMT
2005-02-02 09:44:58 GMT
Attached is the final version of this patch.
Simple description:
This adds functionality to save the layout and column order for the user
list and transfer window.
Detailed description:
I've created a custom type (VListView) based on the standard QListView.
Added to the standard functions are functions to load & save the column
order and widths. This VListView type is then used throughout Valknut,
replacing all QListView objects. I've only put implemented
loading/saving on the User list and the Transfer list, though it's only
a handful of lines to add the functionality in for any list pane.
This patch is against current CVS and has been tested on QT3.0.3 and
3.3.3 - it should work on any QT version above 3.0.3 (plugin
implementation was redone in QT3.0.3 which is why it won't work on
earlier versions).
Cheers,
Robin
--
--
___
( ' } | Robin Hill <robin <at> robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
diff -urN valknut/Makefile.am valknut-patched/Makefile.am --- valknut/Makefile.am 2004-10-14 14:47:52.000000000 +0100(Continue reading)
" in the end...)
if you, for some reason, want to see the output of the ./configure, it is
here:
RSS Feed