Will this thread be useful to you ??
also will making the dialog as modal help you ?? am not clear whats ur sequence of saving the data..
Will this thread be useful to you ??
also will making the dialog as modal help you ?? am not clear whats ur sequence of saving the data..
Hi!
I'm looking on the thread right now. But since you've asked I'll explain the save sequence. It's verry simple:
I open one of the QFileDialog::getFileName(). I think it is modal. The menu is greyed. The other shortcuts in the menu is turned off... that is, I can't quit the app with Ctrl+Q if the save dialog is open. But the menu steals the "W" pressed key when I try to write a name containing a 'W'...
I don't know yet if the thread is to any help. I'm not sure how I would use it... but thanks anyway. As I said before, I'm looking at it right now.
thanx
pir
Hi again!
I've solved the problem. When I called QFileDialog::getFileName() I put the QMainWindow as parent for it... but if I set the QMainWindow->menuBar() as the parent, all the events are blocked in the menuBar.
thanks for all the help, it is often when I have to explain the problem that makes me rethink and automatically finds the solution.
pir
Bookmarks