30 lines
492 B
C
30 lines
492 B
C
|
#ifndef _PAYSAGES_QT_INPUTNOISE_H_
|
||
|
#define _PAYSAGES_QT_INPUTNOISE_H_
|
||
|
|
||
|
#include <QWidget>
|
||
|
#include "baseinput.h"
|
||
|
|
||
|
#include "../lib_paysages/shared/types.h"
|
||
|
|
||
|
class InputNoise:public BaseInput
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
InputNoise(QWidget* form, QString label, NoiseGenerator* value);
|
||
|
|
||
|
public slots:
|
||
|
virtual void revert();
|
||
|
|
||
|
protected slots:
|
||
|
virtual void applyValue();
|
||
|
|
||
|
private slots:
|
||
|
void editNoise();
|
||
|
|
||
|
private:
|
||
|
NoiseGenerator* _value;
|
||
|
};
|
||
|
|
||
|
#endif // _PAYSAGES_QT_INPUTNOISE_H_
|