2012-07-10 19:39:12 +00:00
|
|
|
#ifndef _PAYSAGES_QT_FORMTERRAINCANVAS_H_
|
|
|
|
#define _PAYSAGES_QT_FORMTERRAINCANVAS_H_
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include "basepreview.h"
|
|
|
|
#include "baseformlayer.h"
|
2012-07-11 13:18:43 +00:00
|
|
|
#include "../lib_paysages/terraincanvas.h"
|
2012-07-10 19:39:12 +00:00
|
|
|
|
|
|
|
class FormTerrainCanvas : public BaseFormLayer
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2012-07-10 20:00:44 +00:00
|
|
|
FormTerrainCanvas(QWidget* parent, Layers* layers);
|
2012-07-11 13:18:43 +00:00
|
|
|
~FormTerrainCanvas();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void layerGetCopy(void* layer_definition);
|
|
|
|
virtual void layerApply(void* layer_definition);
|
2012-08-08 14:44:37 +00:00
|
|
|
virtual void afterLayerAdded(void* layer_definition);
|
2012-07-10 19:39:12 +00:00
|
|
|
|
|
|
|
private:
|
2012-07-11 13:18:43 +00:00
|
|
|
TerrainCanvas* _definition;
|
2012-08-02 19:26:22 +00:00
|
|
|
BasePreview* _previewHeight;
|
|
|
|
BasePreview* _previewColor;
|
2012-07-10 19:39:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|