ui: Indexing UI

* Added DialogView with QtDialogView implementation to handle information dialogs
* Implemented QtIndexingDialog class that covers all different dialogs for indexing
* Directly communicate with DialogView from Prpject and all Tasks involved in indexing
* Block QtMainWindow UI while indexing
This commit is contained in:
Eberhard Graether
2016-08-23 23:45:45 +02:00
parent 377f0ef34f
commit 2c90b75a9f
70 changed files with 1565 additions and 375 deletions
+40
View File
@@ -0,0 +1,40 @@
#include "component/view/DialogView.h"
DialogView::DialogView()
{
}
DialogView::~DialogView()
{
}
void DialogView::showProgressDialog(const std::string& title, const std::string& message)
{
}
void DialogView::hideProgressDialog()
{
}
bool DialogView::startIndexingDialog(size_t cleanFileCount, size_t indexFileCount)
{
return false;
}
void DialogView::updateIndexingDialog(size_t fileCount, size_t totalFileCount, std::string sourcePath)
{
}
void DialogView::finishedIndexingDialog(size_t fileCount, size_t totalFileCount, float time, ErrorCountInfo errorInfo)
{
}
int DialogView::confirm(const std::string& message)
{
return confirm(message, std::vector<std::string>());
}
int DialogView::confirm(const std::string& message, const std::vector<std::string>& options)
{
return -1;
}