mickey
25th August 2006, 21:58
hi, hi coded this:
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();
}
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
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();
}
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