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> <comment>#6B9AB2</comment>
<number>#C1315E</number> <number>#C1315E</number>
<quotation>#865F9E</quotation> <quotation>#865F9E</quotation>
<function>#CC9533</function> <function>#B0812C</function>
</syntax> </syntax>
<selection> <selection>
+1
View File
@@ -21,6 +21,7 @@ void TaskParseWrapper::doEnter(std::shared_ptr<Blackboard> blackboard)
blackboard->get("source_file_count", sourceFileCount); blackboard->get("source_file_count", sourceFileCount);
if (std::shared_ptr<DialogView> dialogView = Application::getInstance()->getDialogView()) if (std::shared_ptr<DialogView> dialogView = Application::getInstance()->getDialogView())
{ {
dialogView->hideUnknownProgressDialog();
dialogView->updateIndexingDialog(0, 0, sourceFileCount, ""); dialogView->updateIndexingDialog(0, 0, sourceFileCount, "");
} }
+2 -1
View File
@@ -131,7 +131,7 @@ void QtDialogView::startIndexingDialog(
connect(timer.get(), &QTimer::timeout, connect(timer.get(), &QTimer::timeout,
[=]() [=]()
{ {
showUnknownProgress("Preparing Index", "Processing Files", true); showUnknownProgress("Preparing Indexing", "Processing Files", true);
} }
); );
timer->start(200); timer->start(200);
@@ -168,6 +168,7 @@ void QtDialogView::startIndexingDialog(
)); ));
m_windowStack.clearWindows(); m_windowStack.clearWindows();
showUnknownProgress("Preparing Indexing", "Setting up Indexers", false);
} }
); );
+3 -3
View File
@@ -210,7 +210,7 @@ void QtIndexingDialog::setupReport(
updateNextButton("OK"); updateNextButton("OK");
setCloseVisible(false); setCloseVisible(false);
m_sizeHint = QSize(400, 280); m_sizeHint = QSize(interrupted ? 400 : 430, 280);
if (interrupted) 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_top->setGeometry(0, 0, m_window->size().width(), m_window->size().height() * m_topRatio);
m_title->setGeometry( m_title->setGeometry(
margins.left(), 45,
m_window->size().height() * m_topRatio - 50, m_window->size().height() * m_topRatio - 50,
m_window->size().width() - margins.left() - margins.right(), m_window->size().width() - 60,
40 40
); );
} }