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

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -