again on widgets

Aaron J. Seigo aseigo at kde.org
Mon Jul 21 20:22:11 CEST 2008


On Monday 21 July 2008, Marco Martin wrote:
> 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)

true... 

and it's still waaaaay better than reinventing the whole widget =) i'm fine 
with this approach for simple widgets like buttons that we want to blend in 
better.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080721/2d703dbe/attachment.pgp 


More information about the Panel-devel mailing list