[Qgis-developer] (no subject)

Theuns Heydenrych theunsheydenrych at gmail.com
Tue Nov 25 04:28:22 PST 2014


Problem solved.
I connected to the parent widget's customContextMenuRequested signal,
instead of the QgsMapCanvas's customContextMenuRequested signal.

On Tue, Nov 25, 2014 at 11:58 AM, Theuns Heydenrych <
theunsheydenrych at gmail.com> wrote:

> Hi
> In QGIS versions before 2.6 , I could right click and show a custom "popup
> menu" from the QgsMapCanvas, but not anymore. Its like something is
> consuming the right click event on the QgsMapCanvas.
> Do anyone know anything about this?
> How can I get a right click event from the QgsMapCanvas again?
>
> I have connected a slot to the customContextMenuRequested signal of the
> QWidget where on my QgsMapCanvas instance is displaying. In versions before
> 2.6 i could display my custom menu on a right click on the QgsMapCanvas,
> but not anymore. :-(
>
> Regards
> Theuns Heydenrych
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20141125/c4362dcd/attachment.html>


More information about the Qgis-developer mailing list