Michaël Lemaire
11d48cc3c3
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@403 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
30 lines
579 B
C++
30 lines
579 B
C++
#ifndef _PAYSAGES_QT_INPUTHEIGHTMAP_H_
|
|
#define _PAYSAGES_QT_INPUTHEIGHTMAP_H_
|
|
|
|
#include <QWidget>
|
|
#include "baseinput.h"
|
|
|
|
#include "../lib_paysages/heightmap.h"
|
|
#include "../lib_paysages/terraincanvas.h"
|
|
|
|
class InputHeightMap:public BaseInput
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
InputHeightMap(QWidget* form, QString label, HeightMap* value, TerrainCanvas* canvas);
|
|
|
|
public slots:
|
|
virtual void updatePreview();
|
|
virtual void applyValue();
|
|
virtual void revert();
|
|
|
|
private slots:
|
|
void editHeightMap();
|
|
|
|
private:
|
|
HeightMap* _value;
|
|
TerrainCanvas* _canvas;
|
|
};
|
|
|
|
#endif
|