[Qt-interest] problem with QMenu signal/slot

sarvesh saran aquarian.thunder at gmail.com
Thu Jun 16 17:00:40 CEST 2011


On Thu, Jun 16, 2011 at 7:50 PM, Riccardo Roasio
<riccardo.roasio at gmail.com>wrote:

> Hi,
>
> QMenu action signal seems not to work for me but i think i did
> something wrong...
>

Hi,

So you mean that your AddNewItem() slot is not getting called? On a table
widget, I normally use a custom context menu:

SIGNAL(customContextMenuRequested(const QPoint
<http://doc.qt.nokia.com/latest/qpoint.html> &))

and connect to a slot.

thanks,
Sarvesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110616/4295c128/attachment.html 


More information about the Qt-interest-old mailing list