[Marble-devel] Question about Python bindings for Marble
Torsten Rahn
tackat at t-online.de
Mon Jul 13 21:38:35 CEST 2009
Hi Eric,
There is a plan that the MeasureTool will refactored into a plugin in Marble
0.9/KDE 4.4.
Within which time frame do you need this functionality? Would it be ok if it
would become part of the public API only for Marble 0.9, or does it really
need to be 0.8?
Regards,
Torsten
Am Montag 13 Juli 2009 20:29:03 schrieb Andrew Manson:
> Hi Eric,
>
> I too know very little about python bindings but I would suggest that you
> create a bug on the bugs.kde.org website. In your case I believe that it
> should be a wishlist bug.
>
> I'm sure that someone will reply to you soon about this, either here or on
> the bug tracking site.
>
> - Andrew
>
> On Monday 13 July 2009 15:06:23 Eric Parent wrote:
> > Hi,
> >
> > I am running Kubuntu 9.04 and downloaded the latest source code from
> > the subversion repository (procedure on Marble website).
> >
> > I noticed some methods of the MarbleMaps class are disabled in the
> > Python bindings (SIP files).
> >
> > For example, the following line:
> >
> > ***
> > //mt MeasureTool* measureTool ();
> > ***
> >
> > found in "marble/src/bindings/python/sip/MarbleMaps.sip".
> >
> > Since I need this functionnality, I was wondering if it was due to a bad
> > behaviour of the function?
> >
> > Will this be available soon through Python?
> >
> > Sorry, I am not an expert in creating Python bindings... My idea of
> > solving this issue (an issue to me at least!) was to
> >
> > 1) create a wrapper class in C++ which could allow the use of
> > "measureTool()";
> > 2) get it accessible to Python by binding it;
> > 3) create a Python class which inherits from this intermediate, C++
> > class (since it derives from QWidget, I might be able to put it on a GUI
> > in Python/Qt);
> > 4) use it !
> >
> > Any suggestion? Any easy patch?
> >
> >
> > Thanks,
> >
> > - Eric
> >
> > _______________________________________________
> > Marble-devel mailing list
> > Marble-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/marble-devel
More information about the Marble-devel
mailing list