paysages3d/gui_qt/inputnoise.h

29 lines
471 B
C
Raw Normal View History

#ifndef _PAYSAGES_QT_INPUTNOISE_H_
#define _PAYSAGES_QT_INPUTNOISE_H_
#include <QWidget>
#include "baseinput.h"
#include "../lib_paysages/noise.h"
class InputNoise:public BaseInput
{
Q_OBJECT
public:
InputNoise(QWidget* form, QString label, NoiseGenerator* value);
public slots:
virtual void updatePreview();
virtual void applyValue();
virtual void revert();
private slots:
void editNoise();
private:
NoiseGenerator* _value;
};
#endif