cursor is hour-glass during download, on application start, «launching application ...» is shown for 5s; refs #77

master
Marc Wäckerlin 13 years ago
parent 57fa0ea109
commit b35e1fd9ed
  1. 4
      swisssurfer/src/browser.hxx
  2. 58
      swisssurfer/src/swisssurfer_de.ts
  3. 58
      swisssurfer/src/swisssurfer_en.ts
  4. 58
      swisssurfer/src/swisssurfer_fr.ts
  5. 58
      swisssurfer/src/swisssurfer_it.ts

@ -511,6 +511,7 @@ class Browser: public QMainWindow, protected Ui::Browser {
LOG;
QStringList args(QCoreApplication::arguments());
QString prg(args.takeFirst());
statusBar()->showMessage(tr("opening new window"), 5000);
QProcess::startDetached(prg, args);
}
@ -1157,6 +1158,7 @@ class Browser: public QMainWindow, protected Ui::Browser {
file->write(reply->readAll());
file->close();
LOG<<"Stored as:"<<file->fileName();
statusBar()->showMessage(tr("launching application ..."), 5000);
QProcess* process(new QProcess);
_downloadProcesses[process] = file;
assert(connect(process, SIGNAL(finished(int, QProcess::ExitStatus)),
@ -1204,6 +1206,7 @@ class Browser: public QMainWindow, protected Ui::Browser {
}
void started() {
QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
actionStop->setEnabled(true);
_progress->setRange(0, 0);
_progress->setValue(0);
@ -1213,6 +1216,7 @@ class Browser: public QMainWindow, protected Ui::Browser {
void finished() {
LOG;
QApplication::restoreOverrideCursor();
actionStop->setEnabled(false);
_progress->setRange(0, 1);
_progress->setValue(1);

@ -318,29 +318,29 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="556"/>
<location filename="browser.hxx" line="557"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="577"/>
<location filename="browser.hxx" line="578"/>
<source>%1 - %2</source>
<oldsource>Back to %1 - %2</oldsource>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="766"/>
<location filename="browser.hxx" line="767"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="780"/>
<location filename="browser.hxx" line="781"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1035"/>
<location filename="browser.hxx" line="1036"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
@ -371,42 +371,47 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="596"/>
<location filename="browser.hxx" line="514"/>
<source>opening new window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="597"/>
<source>%1 - %2</source>
<comment>statusbar actionForward_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="617"/>
<location filename="browser.hxx" line="645"/>
<location filename="browser.hxx" line="661"/>
<location filename="browser.hxx" line="618"/>
<location filename="browser.hxx" line="646"/>
<location filename="browser.hxx" line="662"/>
<source>background-color: white</source>
<comment>neutral find</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="669"/>
<location filename="browser.hxx" line="679"/>
<location filename="browser.hxx" line="670"/>
<location filename="browser.hxx" line="680"/>
<source>background-color: #ADA</source>
<oldsource>background-color: #7F7</oldsource>
<comment>text found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="671"/>
<location filename="browser.hxx" line="681"/>
<location filename="browser.hxx" line="672"/>
<location filename="browser.hxx" line="682"/>
<source>background-color: #F77</source>
<oldsource>background-color: lightred</oldsource>
<comment>text not found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="701"/>
<location filename="browser.hxx" line="702"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="702"/>
<location filename="browser.hxx" line="703"/>
<source>%8
Version: %1
Builddate: %2
@ -426,42 +431,47 @@ openssl-%7</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="761"/>
<location filename="browser.hxx" line="762"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1171"/>
<location filename="browser.hxx" line="1161"/>
<source>launching application ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1173"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1231"/>
<location filename="browser.hxx" line="1235"/>
<source>errors</source>
<comment>show error log</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1248"/>
<location filename="browser.hxx" line="1251"/>
<location filename="browser.hxx" line="1252"/>
<location filename="browser.hxx" line="1255"/>
<source>background-color: #F77</source>
<comment>invalid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1258"/>
<location filename="browser.hxx" line="1261"/>
<location filename="browser.hxx" line="1262"/>
<location filename="browser.hxx" line="1265"/>
<source>background-color: white</source>
<comment>valid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1276"/>
<location filename="browser.hxx" line="1280"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1288"/>
<location filename="browser.hxx" line="1292"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>

@ -339,53 +339,58 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="556"/>
<location filename="browser.hxx" line="514"/>
<source>opening new window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="557"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="577"/>
<location filename="browser.hxx" line="578"/>
<source>%1 - %2</source>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="596"/>
<location filename="browser.hxx" line="597"/>
<source>%1 - %2</source>
<comment>statusbar actionForward_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="617"/>
<location filename="browser.hxx" line="645"/>
<location filename="browser.hxx" line="661"/>
<location filename="browser.hxx" line="618"/>
<location filename="browser.hxx" line="646"/>
<location filename="browser.hxx" line="662"/>
<source>background-color: white</source>
<comment>neutral find</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="669"/>
<location filename="browser.hxx" line="679"/>
<location filename="browser.hxx" line="670"/>
<location filename="browser.hxx" line="680"/>
<source>background-color: #ADA</source>
<oldsource>background-color: #7F7</oldsource>
<comment>text found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="671"/>
<location filename="browser.hxx" line="681"/>
<location filename="browser.hxx" line="672"/>
<location filename="browser.hxx" line="682"/>
<source>background-color: #F77</source>
<oldsource>background-color: lightred</oldsource>
<comment>text not found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="701"/>
<location filename="browser.hxx" line="702"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="702"/>
<location filename="browser.hxx" line="703"/>
<source>%8
Version: %1
Builddate: %2
@ -405,58 +410,63 @@ openssl-%7</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="761"/>
<location filename="browser.hxx" line="762"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="766"/>
<location filename="browser.hxx" line="767"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="780"/>
<location filename="browser.hxx" line="781"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1035"/>
<location filename="browser.hxx" line="1036"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1171"/>
<location filename="browser.hxx" line="1161"/>
<source>launching application ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1173"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1231"/>
<location filename="browser.hxx" line="1235"/>
<source>errors</source>
<comment>show error log</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1248"/>
<location filename="browser.hxx" line="1251"/>
<location filename="browser.hxx" line="1252"/>
<location filename="browser.hxx" line="1255"/>
<source>background-color: #F77</source>
<comment>invalid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1258"/>
<location filename="browser.hxx" line="1261"/>
<location filename="browser.hxx" line="1262"/>
<location filename="browser.hxx" line="1265"/>
<source>background-color: white</source>
<comment>valid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1276"/>
<location filename="browser.hxx" line="1280"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1288"/>
<location filename="browser.hxx" line="1292"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>

@ -318,29 +318,29 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="556"/>
<location filename="browser.hxx" line="557"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="577"/>
<location filename="browser.hxx" line="578"/>
<source>%1 - %2</source>
<oldsource>Back to %1 - %2</oldsource>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="766"/>
<location filename="browser.hxx" line="767"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="780"/>
<location filename="browser.hxx" line="781"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1035"/>
<location filename="browser.hxx" line="1036"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
@ -371,42 +371,47 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="596"/>
<location filename="browser.hxx" line="514"/>
<source>opening new window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="597"/>
<source>%1 - %2</source>
<comment>statusbar actionForward_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="617"/>
<location filename="browser.hxx" line="645"/>
<location filename="browser.hxx" line="661"/>
<location filename="browser.hxx" line="618"/>
<location filename="browser.hxx" line="646"/>
<location filename="browser.hxx" line="662"/>
<source>background-color: white</source>
<comment>neutral find</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="669"/>
<location filename="browser.hxx" line="679"/>
<location filename="browser.hxx" line="670"/>
<location filename="browser.hxx" line="680"/>
<source>background-color: #ADA</source>
<oldsource>background-color: #7F7</oldsource>
<comment>text found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="671"/>
<location filename="browser.hxx" line="681"/>
<location filename="browser.hxx" line="672"/>
<location filename="browser.hxx" line="682"/>
<source>background-color: #F77</source>
<oldsource>background-color: lightred</oldsource>
<comment>text not found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="701"/>
<location filename="browser.hxx" line="702"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="702"/>
<location filename="browser.hxx" line="703"/>
<source>%8
Version: %1
Builddate: %2
@ -426,42 +431,47 @@ openssl-%7</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="761"/>
<location filename="browser.hxx" line="762"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1171"/>
<location filename="browser.hxx" line="1161"/>
<source>launching application ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1173"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1231"/>
<location filename="browser.hxx" line="1235"/>
<source>errors</source>
<comment>show error log</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1248"/>
<location filename="browser.hxx" line="1251"/>
<location filename="browser.hxx" line="1252"/>
<location filename="browser.hxx" line="1255"/>
<source>background-color: #F77</source>
<comment>invalid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1258"/>
<location filename="browser.hxx" line="1261"/>
<location filename="browser.hxx" line="1262"/>
<location filename="browser.hxx" line="1265"/>
<source>background-color: white</source>
<comment>valid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1276"/>
<location filename="browser.hxx" line="1280"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1288"/>
<location filename="browser.hxx" line="1292"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>

@ -339,51 +339,56 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="556"/>
<location filename="browser.hxx" line="514"/>
<source>opening new window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="557"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="577"/>
<location filename="browser.hxx" line="578"/>
<source>%1 - %2</source>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="596"/>
<location filename="browser.hxx" line="597"/>
<source>%1 - %2</source>
<comment>statusbar actionForward_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="617"/>
<location filename="browser.hxx" line="645"/>
<location filename="browser.hxx" line="661"/>
<location filename="browser.hxx" line="618"/>
<location filename="browser.hxx" line="646"/>
<location filename="browser.hxx" line="662"/>
<source>background-color: white</source>
<comment>neutral find</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="669"/>
<location filename="browser.hxx" line="679"/>
<location filename="browser.hxx" line="670"/>
<location filename="browser.hxx" line="680"/>
<source>background-color: #ADA</source>
<comment>text found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="671"/>
<location filename="browser.hxx" line="681"/>
<location filename="browser.hxx" line="672"/>
<location filename="browser.hxx" line="682"/>
<source>background-color: #F77</source>
<comment>text not found</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="701"/>
<location filename="browser.hxx" line="702"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="702"/>
<location filename="browser.hxx" line="703"/>
<source>%8
Version: %1
Builddate: %2
@ -395,58 +400,63 @@ openssl-%7</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="761"/>
<location filename="browser.hxx" line="762"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="766"/>
<location filename="browser.hxx" line="767"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="780"/>
<location filename="browser.hxx" line="781"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1035"/>
<location filename="browser.hxx" line="1036"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1171"/>
<location filename="browser.hxx" line="1161"/>
<source>launching application ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1173"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1231"/>
<location filename="browser.hxx" line="1235"/>
<source>errors</source>
<comment>show error log</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1248"/>
<location filename="browser.hxx" line="1251"/>
<location filename="browser.hxx" line="1252"/>
<location filename="browser.hxx" line="1255"/>
<source>background-color: #F77</source>
<comment>invalid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1258"/>
<location filename="browser.hxx" line="1261"/>
<location filename="browser.hxx" line="1262"/>
<location filename="browser.hxx" line="1265"/>
<source>background-color: white</source>
<comment>valid url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1276"/>
<location filename="browser.hxx" line="1280"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1288"/>
<location filename="browser.hxx" line="1292"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>

Loading…
Cancel
Save