ui: Showing indexing progress in windows task bar

* implemented showing indexing progress in windows taskbar button
* renamed TaskShowStatusDialog
* added "Qt5WinExtras.dll" for windows builds
This commit is contained in:
mlangkabel
2018-01-16 11:16:08 +01:00
parent 43c223368c
commit 2c52425d99
18 changed files with 177 additions and 59 deletions
+15
View File
@@ -374,6 +374,21 @@ void QtMainWindow::refreshStyle()
setStyleSheet(utility::getStyleSheet(ResourcePaths::getGuiPath().concatenate(FilePath("main/main.css"))).c_str());
}
void QtMainWindow::setWindowsTaskbarProgress(float progress)
{
m_windowsTaskbarButton.setProgress(progress);
}
void QtMainWindow::hideWindowsTaskbarProgress()
{
m_windowsTaskbarButton.hideProgress();
}
void QtMainWindow::showEvent(QShowEvent* e)
{
m_windowsTaskbarButton.setWindow(this);
}
void QtMainWindow::keyPressEvent(QKeyEvent* event)
{
switch (event->key())