qt - How to show the menu in QPushButton without blocking? -
i use qt4 qpushbutton qmenu in (set setmenu()). need show menu when unrelated event occurs.
method qpushbutton::showmenu() this, blocks until user closes menu. qmenu::show() this, shows menu in top left corner of screen.
how can programmatically make menu show positioned, , without blocking?
qmenu qwidget. can call move() before show().
Comments
Post a Comment