Michaël Lemaire
3e3244a036
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@225 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
29 lines
577 B
C++
29 lines
577 B
C++
#ifndef _PAYSAGES_QT_DIALOGRENDER_H_
|
|
#define _PAYSAGES_QT_DIALOGRENDER_H_
|
|
|
|
#include <QDialog>
|
|
#include <QThread>
|
|
#include <QProgressBar>
|
|
#include <QScrollArea>
|
|
|
|
class DialogRender : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit DialogRender(QWidget *parent);
|
|
~DialogRender();
|
|
|
|
void startRender(int quality, int width, int height);
|
|
void loadLastRender();
|
|
|
|
QImage* pixbuf;
|
|
QWidget* area;
|
|
QScrollArea* scroll;
|
|
QProgressBar* progress;
|
|
int progress_value;
|
|
|
|
private:
|
|
QThread* render_thread;
|
|
};
|
|
|
|
#endif // _PAYSAGES_QT_DIALOGRENDER_H_
|