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 < [email protected]> 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
