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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -