[Qgis-user] Python binding for QgsMessageViewer

Martin Dobias wonder.sk at gmail.com
Thu Nov 20 14:22:28 PST 2008


Hi again,

On Thu, Nov 20, 2008 at 4:59 PM, Möri Cedric <Cedric.Moeri at bd.so.ch> wrote:
> Hi!
>
> In my current phyton plugin, I'd like to use QgsMessageViewer. It works well except for the setCheckBoxQSettingLabel which gives a attriubte error.
> Am I right, that this method is good to set a Qsetting to true or false? I'd like to have a "don't show this message again" kind of dialog and so it would be great if this could be added in the bindings, as I'm guessing that the error is triggerd by a missing binding.

You're right, the binding was missing in QgsMessageViewer. I've added
it in r9675.


> PS: thanks a lot to Martin for the qgsMapCanvasSnapper and the correction of the deactivate of the MapTools. All this stuff works very well now!

You're welcome... if you find any more problems, let us know!
Sometimes developers add new functions/classes to libraries and forget
to add appropriate bindings.

Martin



More information about the Qgis-user mailing list