summaryrefslogtreecommitdiffstats
path: root/indexerdialog.h
blob: 95201e4639a1279d2320f3d4a22b9327ee2794dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef INDEXERDIALOG_H
#define INDEXERDIALOG_H

#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