[Panel-devel] [PATCH] Extend setSvg to display a specific elementID

Shawn Starr shawn.starr at rogers.com
Fri Dec 21 07:00:58 CET 2007


And to reply to myself again, fixed elementid to elementId (capital I). 

On Friday 21 December 2007 12:59:21 am Shawn Starr wrote:
> One extra thing:
>
> Icon::Private::Private()
>
>     : svg("widgets/iconbutton"),
>
>       iconSvg(0),
>       iconSvgElement(0), <---------
>
> Initialize the QString as empty.
>
> On Friday 21 December 2007 12:57:32 am Shawn Starr wrote:
> > Hi Aaron,
> >
> > After looking at the code, I found that if we try to render ALL the
> > elements inside the Svg it renders the whole SVG document. After adding a
> > specific element to paint, it now shows the svg properly but within the
> > size of the icon itself right now (which is ok until we can do resizing
> > as with that other patch)
> >
> > OK to to commit this?
> >
> > Thanks,
> > Shawn.




More information about the Panel-devel mailing list