hi, hi coded this:
void mainform::save() {
" (*.xml)\n"
" (*.ler)\n"
"All Files (*.xml; *.ler)",
NULL,
this,
"open file dialog",
tr("Choose a filename to open under"));
Working work(this);
doManyThings()
work.close();
}
void mainform::save() {
file = QFileDialog::getOpenFileName(ref,
" (*.xml)\n"
" (*.ler)\n"
"All Files (*.xml; *.ler)",
NULL,
this,
"open file dialog",
tr("Choose a filename to open under"));
Working work(this);
doManyThings()
work.close();
}
To copy to clipboard, switch view to plain text mode
It happen that when I save the qfiledialog leave an umbra on my app (you can see the pic); the same for work dialog (you can see this worst)....I don't understand: I'd like that when I click on save in QfileDialog it go away and THEN 'doManyThings()' is execute...but happen that the umbra of QFileDIalog disappear only when doManyThings() is executed completely. Can anyone help me? thanks
Bookmarks