logic: Fixed error view related issues

* polished color schemes for error view
* fixed error id column not hidden
* fixed error count shown correctly in each view
* moved storage stats logging to application
* fixed indexed flag of errors broken for indexed headers in cdb project
* fixed scrolling to active error when errors where not visible before
* reverted tictactoe files to no errors
This commit is contained in:
Eberhard Graether
2016-10-13 14:21:22 +02:00
parent 5e8133972a
commit 149a305761
34 changed files with 140 additions and 132 deletions
+16 -2
View File
@@ -6,13 +6,15 @@
#include <QMessageBox>
#include "data/access/StorageAccess.h"
#include "qt/window/QtIndexingDialog.h"
#include "qt/window/QtMainWindow.h"
#include "utility/messaging/type/MessageStatus.h"
#include "utility/utility.h"
QtDialogView::QtDialogView(QtMainWindow* mainWindow)
: m_mainWindow(mainWindow)
QtDialogView::QtDialogView(QtMainWindow* mainWindow, StorageAccess* storageAccess)
: DialogView(storageAccess)
, m_mainWindow(mainWindow)
, m_windowStack(this)
, m_resultReady(false)
{
@@ -208,6 +210,18 @@ void QtDialogView::handleMessage(MessageInterruptTasks* message)
);
}
void QtDialogView::handleMessage(MessageNewErrors* message)
{
ErrorCountInfo errorInfo = m_storageAccess->getErrorCount();
m_onQtThread2(
[=]()
{
updateErrorCount(errorInfo.total, errorInfo.fatal);
}
);
}
void QtDialogView::handleMessage(MessageShowErrors* message)
{
ErrorCountInfo errorInfo = message->errorCount;