*******************************************************************************/
/*!
\file XdxfDictDownloader.cpp
+ \brief XdxfDictDownloader is responsible for getting dict list from XDXF website
+ and other actions necessary to download and add dictionary
+
\author Mateusz Półrola <mateusz.polrola@comarch.com>
*/
this, SLOT(breakDownloading()));
connect(this, SIGNAL(downloadProgress(float)),
progressDialog, SLOT(updateProgress(float)));
-
progressDialog->setText(tr("Downloading dictionaries list"));
progressDialog->show();
}
//if user cancel downloading we kill all running processes, hide progress dialog and set flag that user cancel downloading.
aborted = true;
http.kill();
-
if(progressDialog && progressDialog->isVisible()) {
progressDialog->accept();
}
XdxfDictSelectDialog selectDialog(dicts, parentDialog);
if(selectDialog.exec()==QDialog::Accepted) {
-
progressDialog->setText(tr("Downloading dictionary"));
progressDialog->show();
}
+