2012-01-06 16:09:03 +00:00
|
|
|
#ifndef _PAYSAGES_QT_FORMRENDER_H_
|
|
|
|
#define _PAYSAGES_QT_FORMRENDER_H_
|
|
|
|
|
|
|
|
#include "baseform.h"
|
2012-01-27 23:01:21 +00:00
|
|
|
#include "../lib_paysages/camera.h"
|
2012-01-06 16:09:03 +00:00
|
|
|
|
|
|
|
class FormRender : public BaseForm
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit FormRender(QWidget *parent = 0);
|
|
|
|
|
2012-01-27 23:01:21 +00:00
|
|
|
public slots:
|
|
|
|
virtual void revertConfig();
|
|
|
|
virtual void applyConfig();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
virtual void configChangeEvent();
|
|
|
|
|
2012-01-06 16:09:03 +00:00
|
|
|
private slots:
|
|
|
|
void startRender();
|
|
|
|
void showRender();
|
|
|
|
void saveRender();
|
|
|
|
|
|
|
|
private:
|
|
|
|
int _quality;
|
2012-01-10 20:51:27 +00:00
|
|
|
int _width;
|
|
|
|
int _height;
|
2012-01-27 23:01:21 +00:00
|
|
|
CameraDefinition _camera;
|
2012-01-06 16:09:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _PAYSAGES_QT_FORMRENDER_H_
|