aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/library/librarywidget.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-03-21 14:06:39 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-03-21 14:06:39 +0000
commit0871f8bb3d5ff1f19ebab5b660ccfe13ec959f43 (patch)
treeaa4961f12b2330331c0d4a43abbf08fe83e47c60 /src/plugins/General/library/librarywidget.h
parentba6d5b13e4cd306a1c4517780fba496d669dd596 (diff)
downloadqmmp-0871f8bb3d5ff1f19ebab5b660ccfe13ec959f43.tar.gz
qmmp-0871f8bb3d5ff1f19ebab5b660ccfe13ec959f43.tar.bz2
qmmp-0871f8bb3d5ff1f19ebab5b660ccfe13ec959f43.zip
library: added busy indicator
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9768 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/library/librarywidget.h')
-rw-r--r--src/plugins/General/library/librarywidget.h6
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