PDA

View Full Version : QContextMenuEvent appear on mouse release



bucksey
20th March 2009, 08:38
hello,

currently the QContextMenuEvent triggers on mouse press event. Is it possible to make it trigger (the context menu to show) on "mouse release"?

thanks

wysota
21st March 2009, 01:09
You can show a menu from within a mouseReleaseEvent. But a context menu should show upon a press event, not release event. Different behaviour might be unexpected by your users.