summaryrefslogtreecommitdiffstats
path: root/indexerdialog.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2017-11-30 15:36:35 +0100
committerArno <arno@disconnect.de>2017-11-30 15:36:35 +0100
commit8b611b7c69b50bf2f252903a849dd41ed685fece (patch)
treec8b88ceaacdc572f6cdd8a549520910204f07afa /indexerdialog.h
parent16fc23f00d5bd8536acef56e21d01057bcf88709 (diff)
downloadBeetPlayer-8b611b7c69b50bf2f252903a849dd41ed685fece.tar.gz
BeetPlayer-8b611b7c69b50bf2f252903a849dd41ed685fece.tar.bz2
BeetPlayer-8b611b7c69b50bf2f252903a849dd41ed685fece.zip
Improve indexing dialog
Show close button and disable/enable approriate buttons while reading data.
Diffstat (limited to 'indexerdialog.h')
-rw-r--r--indexerdialog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/indexerdialog.h b/indexerdialog.h
index 2928b08..95201e4 100644
--- a/indexerdialog.h
+++ b/indexerdialog.h
@@ -4,14 +4,22 @@
#include <QDialog>
class IndexerWidget;
+class QPushButton;
class IndexerDialog : public QDialog {
Q_OBJECT
public:
explicit IndexerDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
+ private slots:
+ void indexingStarted();
+ void indexingCanceled();
+
private:
IndexerWidget *mIndexer;
+ QPushButton *mStartBtn;
+ QPushButton *mCancelBtn;
+ QPushButton *mCloseBtn;
};
#endif // INDEXERDIALOG_H