Hi Natham,

Thanks for the tip.
It is obviously more pythonic! Although, I liked the fact that the signal was a string, so it was easily found in lines of code...

I'll ask Tim for the blog.

Cheers,

Denis

On 02/14/2013 12:16 PM, Nathan Woodrow wrote:

Looks good. Just ask Tim he will add it for you.

A tip for your plugin code you can use the new PyQt signal slot style

Canvas.mapToolSet.connect(your method)

And

yoursignal = pyqtSignal(str)

self,yoursignal.emit("hello world")

- sent from a tablet device that isn't an iPad

On 14 Feb 2013 21:53, "Denis Rouzaud" <[email protected] <mailto:[email protected]>> wrote:

    Hi all,

    I wanted to start a blog on wordpress for giving a few plugin
    development tips.

    What is the policy about publishing them into the qgis planet?

    I wrote a first draft here
    http://3nids.wordpress.com/2013/02/14/identify-feature-on-map/

    Please let me know what you think.

    Greetings,

    Denis




    _______________________________________________
    Qgis-developer mailing list
    [email protected] <mailto:[email protected]>
    http://lists.osgeo.org/mailman/listinfo/qgis-developer


_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to