Hi All,
I have a requirement like following,
I need to create a box by clicking both the mouse buttons together, hold and drag should create a box on the plot.
Can you please provide me the solution that I can catch the event for "both the mouse buttons clicked to gether" in Qt? I am not able find this in QEvent or QMouseEvent.
Thanks,
Segu


Reply With Quote

But your code is faulty - you are missing one equality sign ('=') before Qt::RightButton.
.

Bookmarks