hi
how can i destroy/hide popup created using QMainWindow::createPopupMenu() within software?
regard
navid
hi
how can i destroy/hide popup created using QMainWindow::createPopupMenu() within software?
regard
navid
subclass QMainWindow then reimplement createPopupMenu and return 0 or whatever you want.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
thanks
it seems after
Qt Code:
mvMenu = createPopupMenu (); mvMenu->exec();To copy to clipboard, switch view to plain text mode
application go freeze and wait to i do click anywhere to disappear popup (and then continue ).
i want to it be done using software. so i must do it {mvMenu =0;} in another thread?
you can't access to GUI from another thread directly. you should use signal/slots or custom events.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
yes,
but this will be a complicated solution. i look for a simple one.
Bookmarks