how to set a pop up menu on a particular table view item

Posted by Moayyad Yaghi on Stack Overflow See other posts from Stack Overflow or by Moayyad Yaghi
Published on 2010-06-07T21:49:06Z Indexed on 2010/06/07 21:52 UTC
Read the original article Hit count: 500

Filed under:
|
|
|
|

hello
i have a QTableView , and i need to show a popup menu that shows the item properties . i need to set the context menu to apear only when you right click over a particular items in that tableview. but coudln't find a way to do it . i can set the context menu to appear when your over the table . i cant have it for each item . so how do i set the context menu over items in the tableview ?


please tell me if the idea was not clear enough
thanks in advance

© Stack Overflow or respective owner

Related posts about python

Related posts about qt