paysages3d/gui_qt/inputcolorgradation.h
2013-01-19 22:42:50 +00:00

28 lines
517 B
C++

#ifndef _PAYSAGES_QT_INPUTCOLORGRADATION_H_
#define _PAYSAGES_QT_INPUTCOLORGRADATION_H_
#include <QWidget>
#include "baseinput.h"
#include "../lib_paysages/tools/color.h"
class InputColorGradation:public BaseInput
{
Q_OBJECT
public:
InputColorGradation(QWidget* form, QString label, ColorGradation* value);
public slots:
virtual void updatePreview();
virtual void applyValue();
virtual void revert();
private slots:
void editGradation();
private:
ColorGradation* _value;
};
#endif