Hi all, What I'm trying to do is to have at the right click on a QGraphicsItem,
a QLineEdit . I'm trying to use the following codedef contextMenuEvent(self,
event) : #qle=QtGui.QLineEdit() menu =QtGui.QMenu();
action=menu.addAction(test);
On Monday 13 September 2010, 20:46:15 matteo.bosc...@boscolini.eu wrote:
Hi all, What I'm trying to do is to have at the right click on
a QGraphicsItem, a QLineEdit . I'm trying to use the following codedef
contextMenuEvent(self, event) : #qle=QtGui.QLineEdit()
menu
( wac); menu.exec_(event.screenPos())
del(menu)regards,Matteo
From: pyqt-boun...@riverbankcomputing.com
To: pyqt@riverbankcomputing.com
Cc:
Date: Mon, 13 Sep 2010 21:04:39 +0200
Subject: Re: [PyQt] Add custom widget to the QMenu
On Monday 13 September 2010, 20:46:15