[PyKDE] context menu in QHeader

John J. Lee jjl at pobox.com
Wed Apr 17 23:43:07 BST 2002


On Wed, 17 Apr 2002, Andrew Dalke wrote:
[...]
> In a related question, I want the column headers to provide some
> feedback during mouseover (eg, by having the background become a
> lighter shade of grey).  I tried setting the options that seemed
> even vaguely relevant, but none worked.
>
> It seems I should be able to implement my own paint method to do
> that, but it again requires that I be able to tell the QTable to use
> my derived QHeader and not the default one.
[...]

Can't you just respond to the appropriate event by setting the widget
background colour?  Or is that the method that you're complaining doesn't
exist?


John





More information about the PyQt mailing list