[Marble-devel] Review Request: New Icon for Photo Plugin

Gabriel Joel Perez gabrieljoel at gmail.com
Fri Apr 9 20:36:20 CEST 2010


On Thu, Apr 8, 2010 at 5:29 PM, Bastian Holst <bastianholst at gmx.de> wrote:

> Hi Gabriel,
>
> Thanks for being interested in Marble Junior Jobs. I think the idea of the
> Junior Job was quite different, but that shouldn't stop you from
> implementing
> your idea.
>

Oh, sorry. Good thing I didn't finish that up before sending a patch. But
yeah, I guess I could do both then.


> We were thinking about the QIcon which is returned by
> WikipediaPlugin::icon()
> to have an icon in the menu. For some reason someone moved this
> initialization
> of the icon outside of the constructor of WikipediaPlugin, so the icon
> dissappeared from the menu. [1] should fix this issue.
>

Ok, got it.

> You seem to be thinking of the icon (Wikipedia or Photo) which is displayed
> on
> the Photo itself or as a substitute to reduce network load, as it's done in
> the Wikipedia code.
>

Yes

>
> About your patch: What you have done seems like a good start, but I don't
> think that it is needed to prerender this image. QIcon could take the svg
> directly and I think (but I'm not sure), QIcon does this optimization
> itself.
> Perhaps you could run some tests or look this up in the Qt documentation to
> find out if I'm right. Additionally the caching of the ScreenGraphicsItem
> should hold the system load down.
> If this is not the case, please change the WikipediaPlugin, too.
> Additionally my old code seems to be a bit easier to read, so this should
> be
> preferred if there are minor or no speed differences.
>

thanks for the tips :)

>
> Again thanks for your work!
>

No problem.

>
> Best regards
> Bastian
>
>
> [1] http://websvn.kde.org/?view=rev&revision=1112698
>
> Am Donnerstag, 8. April 2010 20.09:11 schrieb Gabriel Joel Perez:
> > Hello!
> >
> > I was looking around at the Mable junior jobs to see tasks I could work
> on
> > to help out and get more acquainted with the marble source code. This one
> > looked pretty easy:
> >
> http://techbase.kde.org/Projects/Marble/GoMarble/JJ#Add_more_Plugin_Icons
> > so I decided to start work on it. I still haven't finished it but I just
> > wanted to see if I was going on the right track and if you thought the
> > icon was appropriate. I'm basing this on the Wikipedia plugin which
> > already has an icon.
> >
> > Best Regards,
> > Gabriel
>
>
> --
> 10° 13' 41"O,  54° 24' 38"N
>
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/marble-devel/attachments/20100409/61441002/attachment.htm 


More information about the Marble-devel mailing list