#ifndef ASYNCTASKDIALOG_H #define ASYNCTASKDIALOG_H #include #include namespace Ui { class AsyncTaskDialog; } class AsyncTask; class AsyncTaskDialog : public QDialog { Q_OBJECT public: AsyncTaskDialog(AsyncTask *task, QWidget *parent = nullptr); ~AsyncTaskDialog(); private slots: void updateLog(); private: std::unique_ptr ui; AsyncTask *task; }; #endif //ASYNCTASKDIALOG_H