diff options
Diffstat (limited to 'src/plugins/General/library/librarywidget.h')
| -rw-r--r-- | src/plugins/General/library/librarywidget.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/General/library/librarywidget.h b/src/plugins/General/library/librarywidget.h index 31f7b9c1d..e590e59c9 100644 --- a/src/plugins/General/library/librarywidget.h +++ b/src/plugins/General/library/librarywidget.h @@ -29,9 +29,10 @@ class LibraryWidget; class QMenu; class QAction; -class LibraryModel; class QContextMenuEvent; class QCloseEvent; +class QLabel; +class LibraryModel; class LibraryWidget : public QWidget { @@ -41,6 +42,8 @@ public: ~LibraryWidget(); void refresh(); + void setBusyMode(bool enabled); + private: void closeEvent(QCloseEvent *) override; void contextMenuEvent(QContextMenuEvent *e) override; @@ -55,6 +58,7 @@ private: LibraryModel *m_model; QMenu *m_menu; QAction *m_filterAction; + QLabel *m_busyIndicator = nullptr; }; #endif // LIBRARYWIDGET_H |
