ui: Small fixes

* slightly darker function color in code for bright scheme
* fixed title offset in indexing progress dialog
* show progress dialog while starting indexers
* fixed text covered by flag in finish indexing dialog
This commit is contained in:
Eberhard Graether
2017-12-12 00:15:24 +01:00
parent 99b0cf0ac9
commit 4da2b1f8f4
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -136,7 +136,7 @@
<comment>#6B9AB2</comment>
<number>#C1315E</number>
<quotation>#865F9E</quotation>
<function>#CC9533</function>
<function>#B0812C</function>
</syntax>
<selection>
+1
View File
@@ -21,6 +21,7 @@ void TaskParseWrapper::doEnter(std::shared_ptr<Blackboard> blackboard)
blackboard->get("source_file_count", sourceFileCount);
if (std::shared_ptr<DialogView> dialogView = Application::getInstance()->getDialogView())
{
dialogView->hideUnknownProgressDialog();
dialogView->updateIndexingDialog(0, 0, sourceFileCount, "");
}
+2 -1
View File
@@ -131,7 +131,7 @@ void QtDialogView::startIndexingDialog(
connect(timer.get(), &QTimer::timeout,
[=]()
{
showUnknownProgress("Preparing Index", "Processing Files", true);
showUnknownProgress("Preparing Indexing", "Processing Files", true);
}
);
timer->start(200);
@@ -168,6 +168,7 @@ void QtDialogView::startIndexingDialog(
));
m_windowStack.clearWindows();
showUnknownProgress("Preparing Indexing", "Setting up Indexers", false);
}
);
+3 -3
View File
@@ -210,7 +210,7 @@ void QtIndexingDialog::setupReport(
updateNextButton("OK");
setCloseVisible(false);
m_sizeHint = QSize(400, 280);
m_sizeHint = QSize(interrupted ? 400 : 430, 280);
if (interrupted)
{
@@ -526,9 +526,9 @@ void QtIndexingDialog::setGeometries()
m_top->setGeometry(0, 0, m_window->size().width(), m_window->size().height() * m_topRatio);
m_title->setGeometry(
margins.left(),
45,
m_window->size().height() * m_topRatio - 50,
m_window->size().width() - margins.left() - margins.right(),
m_window->size().width() - 60,
40
);
}