PDA

View Full Version : mouse event: right button



mattia
30th October 2007, 07:50
Hello, what shoud i do to handle this event?
I'd like to show a little menu when the user press the right button on my central widget.
Are there any examples?
Thanks

jpn
30th October 2007, 08:00
Reimplement QWidget::contextMenuEvent(). See menus example (http://doc.trolltech.com/latest/mainwindows-menus.html) for more information.