2017-09-22 10:08:02 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class lcRenderDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class lcRenderDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit lcRenderDialog(QWidget* Parent);
|
|
|
|
~lcRenderDialog();
|
|
|
|
|
|
|
|
public slots:
|
2017-11-04 18:54:12 -07:00
|
|
|
void reject();
|
2017-09-22 10:08:02 -07:00
|
|
|
void on_RenderButton_clicked();
|
|
|
|
void Update();
|
|
|
|
|
|
|
|
protected:
|
2017-11-04 18:54:12 -07:00
|
|
|
QString GetPOVFileName() const;
|
|
|
|
void CloseProcess();
|
|
|
|
bool PromptCancel();
|
|
|
|
|
2017-09-22 10:08:02 -07:00
|
|
|
QProcess* mProcess;
|
2017-11-04 18:54:12 -07:00
|
|
|
QTimer mUpdateTimer;
|
|
|
|
QSharedMemory mSharedMemory;
|
2017-09-22 10:08:02 -07:00
|
|
|
|
2017-11-04 18:54:12 -07:00
|
|
|
Ui::lcRenderDialog* ui;
|
2017-09-22 10:08:02 -07:00
|
|
|
};
|