<div dir="ltr">Problem solved.<div>I connected to the parent widget's <span style="font-family:arial,sans-serif;font-size:13px">customContextMenuRequested signal, instead of the </span><span style="font-family:arial,sans-serif;font-size:13px">QgsMapCanvas's </span><span style="font-family:arial,sans-serif;font-size:13px">customContextMenuRequested signal.</span><span style="font-family:arial,sans-serif;font-size:13px">  </span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 25, 2014 at 11:58 AM, Theuns Heydenrych <span dir="ltr"><<a href="mailto:theunsheydenrych@gmail.com" target="_blank">theunsheydenrych@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi</div><div>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.</div><div>Do anyone know anything about this?</div><div>How can I get a right click event from the QgsMapCanvas again?</div><div><br></div><div>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. :-(</div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div>Theuns Heydenrych</div><div><br></div></font></span></div>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div>