#ifndef INDEXERDIALOG_H #define INDEXERDIALOG_H #include 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