paysages3d/src/editing/inputnoise.h

35 lines
535 B
C
Raw Normal View History

#ifndef _PAYSAGES_QT_INPUTNOISE_H_
#define _PAYSAGES_QT_INPUTNOISE_H_
2013-11-03 14:46:39 +00:00
#include "editing_global.h"
#include <QWidget>
#include "baseinput.h"
2013-11-03 14:46:39 +00:00
namespace paysages {
namespace basics {
class NoiseGenerator;
}
}
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