From 0871f8bb3d5ff1f19ebab5b660ccfe13ec959f43 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 21 Mar 2021 14:06:39 +0000 Subject: library: added busy indicator git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9768 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/library/librarywidget.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/plugins/General/library/librarywidget.h') 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 -- cgit v1.2.3-13-gbd6f