How to create a popup frame in the main window
-
I want to realize the following design:
right-ckick on a certain area in the main window, then a small frame containing some widgets popup next to the cursor. Now user can do some operation in this frame, and if user clicks anywhere in the window but outside the small frame, it will disappear. It is like a popup menu, but with some buttons and text edis.
How can I do that? -
@wwylele With a widget/dialog created with the window flag Qt::Popup