logic: background indexing (issue #175)

* allow hiding of indexing dialogs to browse loaded project while indexing
* show indexing status in status bar while indexing
* use different dialog views for different use cases to avoid state collisions
* fixed error label in status bar jittering while indexing
* show hand cursors for clickable elements in status bar
* indexing is not interrupted on pressing ESC while in hidden
* disable error table and error label while indexing
* refactored indexing messages
* forbid indexing and changing project while indexing
* don't show indexing status messages in status bar when indexing in the background
* allow tasks to run in the background

fortune cookie message = A journey is waiting for you.
This commit is contained in:
Eberhard Graether
2018-07-10 11:42:58 +02:00
parent 6bbb44309d
commit ad325ac974
76 changed files with 875 additions and 448 deletions
+5 -1
View File
@@ -351,7 +351,11 @@ void PersistentStorage::clearFileElements(const std::vector<FilePath>& filePaths
{
TRACE();
const std::vector<Id> fileNodeIds = getFileNodeIds(filePaths);
std::vector<Id> fileNodeIds;
for (const StorageFile& file : m_sqliteIndexStorage.getFilesByPaths(filePaths))
{
fileNodeIds.push_back(file.id);
}
if (!fileNodeIds.empty())
{