mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
38 lines
600 B
C++
38 lines
600 B
C++
#pragma once
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class lcRenderDialog;
|
|
}
|
|
|
|
class lcRenderDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit lcRenderDialog(QWidget* Parent);
|
|
~lcRenderDialog();
|
|
|
|
public slots:
|
|
void reject();
|
|
void on_RenderButton_clicked();
|
|
void on_OutputBrowseButton_clicked();
|
|
void Update();
|
|
|
|
protected:
|
|
QString GetOutputFileName() const;
|
|
QString GetPOVFileName() const;
|
|
void CloseProcess();
|
|
bool PromptCancel();
|
|
|
|
#ifndef QT_NO_PROCESS
|
|
QProcess* mProcess;
|
|
#endif
|
|
QTimer mUpdateTimer;
|
|
QFile mOutputFile;
|
|
void* mOutputBuffer;
|
|
QImage mImage;
|
|
|
|
Ui::lcRenderDialog* ui;
|
|
};
|