[Qgis-developer] How to connect QToolButton to a QGisMap????

Ornélio Hinterholz Junior ohjrr2009 at gmail.com
Thu Jul 7 11:06:46 EDT 2011


Hi,

I'm developing a new plugin and I got to put a new QToolButton in a new
QToolBar that I created, but the problem is that I can't connect the
QToolButton to the QGis's default ButtonGroup  and neither connect the
action to QgsMapCanvas.

How do I add a new ToggleButton connected with QgsMapCanvas?????

I want to get the coordinate clicked, ONLY THIS!!!!!

Any example code????

Thanks,

Ornélio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110707/5022e819/attachment.html


More information about the Qgis-developer mailing list