[Qt-interest] Using QWidgetAction

Chammika Udalagama phycnbu at nus.edu.sg
Tue Sep 15 11:08:39 CEST 2009


Hi,

Appreciate any help with the following...

OBJECTIVE: Use a custom widget (via QWidgetAction) in a menu (QMenu) so that
once the user finishes interacting with the custom widget, I can use the
menu's 'triggered' SIGNAL to implement an appropriate action.

OBTACLE: The menu & the widget seem to be setup fine (using the content of
post http://lists.trolltech.com/qt-interest/2007-06/thread00463-0.html).
However, I cannot get Qmenu's triggered SIGNAL to be fired with
QWidgetAction. [Those items of the menu corresponding to QAction work fine]

Cheers,

Chammika




More information about the Qt-interest-old mailing list