Saving ExportCloudsDialog and PostProcessing parameters to config file.

This commit is contained in:
Mathieu Labbe
2015-01-14 11:02:17 -05:00
parent fb0b23ae06
commit 645d2c4973
11 changed files with 279 additions and 108 deletions

View File

@@ -82,10 +82,10 @@ void DetailedProgressDialog::setAutoClose(bool on, int delayedClosingTimeSec)
_closeWhenDoneCheckBox->setChecked(on);
}
void DetailedProgressDialog::appendText(const QString & text)
void DetailedProgressDialog::appendText(const QString & text, const QColor & color)
{
_text->setText(text);
QString html = tr("<html><font color=\"#999999\">%1 </font>%2</html>").arg(QTime::currentTime().toString("HH:mm:ss")).arg(text);
QString html = tr("<html><font color=\"#999999\">%1 </font><font color=\"%2\">%3</font></html>").arg(QTime::currentTime().toString("HH:mm:ss")).arg(color.name()).arg(text);
_detailedText->append(html);
_detailedText->ensureCursorVisible();
}