again on widgets

Marco Martin notmart at gmail.com
Mon Jul 21 10:00:53 CEST 2008


On Monday 21 July 2008, Aaron J. Seigo wrote:
> On Sunday 20 July 2008, Marco Martin wrote:
> > http://reviewboard.vidsolbach.de/r/90/
> > this is a first version of a proxywidget themed with svg, more or less
> > porting of the painting of the button widget i did
> > is still very early and there is some code that is still not used..
> > would like to know if i'm on the right track.
>
> hm.. well, that's certainly one way of doing it =) i was thinking of
> subclassing QPushButton itself and doing the painting there (and not adding
> anything to the Plasm::PushButton class) but this works as well...

would have the advantage to be usable also in places outside the canvas but 
would have the ugly limitations of the qwidgets painting, like the integer 
coordintates and sizes (so crappy rendering when rotated) and clipping, so 
the halo like this has for instance won't be possible (oxygen style had to 
make a lot of compromises for that)

Cheers,
Marco Martin


More information about the Panel-devel mailing list