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

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -