cutter/src/dialogs/AsyncTaskDialog.h

31 lines
448 B
C
Raw Normal View History

2018-05-26 18:49:57 +00:00
#ifndef ASYNCTASKDIALOG_H
#define ASYNCTASKDIALOG_H
#include <QDialog>
#include <memory>
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::AsyncTaskDialog> ui;
AsyncTask *task;
};
#endif //ASYNCTASKDIALOG_H