Active Topics

 


Reply
Thread Tools
EmaNymton's Avatar
Posts: 141 | Thanked: 267 times | Joined on May 2010 @ Germany
#1
Hi,
I'm writing a little application in pyqt. I wonder if it's possible to open a menu after pushing a listitem for a longer time than one single click. I've seen this in other applications (e.g. to delete or edit the item), but I have no idea, if it's possible in pyqt and where to search for.

EmaNymton
 
Posts: 44 | Thanked: 73 times | Joined on Dec 2009 @ Freiburg, Germany
#2
I don't know pyqt but QWidget emits a signal "customContextMenuRequested(const QPoint&)" for this.
 

The Following User Says Thank You to gilead For This Useful Post:
EmaNymton's Avatar
Posts: 141 | Thanked: 267 times | Joined on May 2010 @ Germany
#3
Yes, this is what i was looking for, thank you very much!
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:57.