On Monday 08 December 2008 21:33:21 David Baron wrote:
> On Monday 08 December 2008 19:04:17 Aaron J. Seigo wrote:
> > > > > Big outstanding issue is getting icons into the UI.
> >  > >
> >  > > use KIcon.
> >  >
> >  > Get the same crashes. KIcon will give me more flexibility and less
> >  > restrictions tied to resource folders, but it has to work first :-)
> >
> > what are the crashes? you need to give us backtraces and example code
> > otherwise it's really hard to know what's going on ...
>
> The code is a simple pushButtonX->setIcon( KIcon( "nice-oxygen-icon");
>
> No useable backtraces. The example I posted was not from this crash.

and of course, one better make sure that the set_ui (generated by the qt 
designer) is called BEFORE trying to use any of those widgets, huh :-)

So I can use icons by name rather than by file-path/resource-path.
How might I do the same thing with the applet::svg images?
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to