[PyKDE] QColorGroup

Phil Thompson phil at river-bank.demon.co.uk
Sun Jan 16 22:42:42 GMT 2000


Pete Ware wrote:
>
> Here is what I think is going wrong:
> 
>             0xffaabbcc
> color_group:|--------|
>      fg_col |        |
>             |        |
>             |        |
>             |--------|
>      bg_col |        |
>             |        |
>             |        |
>             _________|
> 
> The color_group is layed out in memory.  "fg_col" is the first element
> (and it is not a pointer).  Then &color_group.fg_col == &color_group
> 
> --pete

If you explain it to me often enough I get it in the end :).

In http://www.river-bank.demon.co.uk/software/private is new version of
SIP (0.10.1pre1) and also a patch to 0.10. You shouldn't need to
re-compile PyQt or PyKDE.

I'd like people to try this out as it makes (small) changes at the heart
of SIP.

Phil




More information about the PyQt mailing list