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
@@ -0,0 +1,23 @@
#ifndef QT_WINDOWS_TASKBAR_BUTTON_H
#define QT_WINDOWS_TASKBAR_BUTTON_H
class QWinTaskbarProgress;
class QtMainWindow;
class QtWindowsTaskbarButton
{
public:
QtWindowsTaskbarButton();
void setWindow(QtMainWindow* mainWindow);
void setProgress(float progress);
void hideProgress();
private:
#ifdef _WIN32
QWinTaskbarProgress* m_taskbarProgress;
#endif
};
#endif // QT_WINDOWS_TASKBAR_BUTTON_H