[PyKDE] QHeader customization...

John J. Lee jjl at pobox.com
Tue Aug 6 15:45:01 BST 2002


On Mon, 5 Aug 2002, Thierry JOUVE wrote:

> I want to customize the header contained in a QTable or in a
> QListView... :
>    - change the background of a section
>    - change the font of a section's label...
>
> But, I can't reimplement the QHeader class....because I can't replace
> the QHeader objects in the QTable or QListVIew... But if I could
> redefine the "paintSection" method, everything will be ok...
>
> Any idea ??

This was discussed either here or on the Qt mailing list (qt-interest) a
few months ago, I think (relating to QTable, IIRC).  I think it was
probably the Qt list.

Sorry, I don't remember what the solution was, but try searching the
archives.


John




More information about the PyQt mailing list