how to get selected item in pyqt Qmenu

Posted by Moayyad Yaghi on Stack Overflow See other posts from Stack Overflow or by Moayyad Yaghi
Published on 2010-06-01T09:01:00Z Indexed on 2010/06/01 9:03 UTC
Read the original article Hit count: 196

Filed under:
|
|
|
|

hello
is there any way to get the selected item in a qmenu ?
i want to bind all items in that list to one function and get the item once user click it . i've been looking for a way to get the item's label or index for 3 days , but couldn't find it . any ideas ?

thanks in advance

© Stack Overflow or respective owner

Related posts about python

Related posts about qt