2012-01-07 16:53:23 +00:00
|
|
|
#ifndef _PAYSAGES_QT_INPUTCOLORGRADATION_H_
|
|
|
|
#define _PAYSAGES_QT_INPUTCOLORGRADATION_H_
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include "baseinput.h"
|
|
|
|
|
2012-03-08 15:10:25 +00:00
|
|
|
#include "../lib_paysages/color.h"
|
2012-01-07 16:53:23 +00:00
|
|
|
|
|
|
|
class InputColorGradation:public BaseInput
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
InputColorGradation(QWidget* form, QString label, ColorGradation* value);
|
|
|
|
|
|
|
|
public slots:
|
2012-01-08 10:31:01 +00:00
|
|
|
virtual void updatePreview();
|
2012-01-07 16:53:23 +00:00
|
|
|
virtual void applyValue();
|
2012-01-08 10:31:01 +00:00
|
|
|
virtual void revert();
|
2012-01-07 16:53:23 +00:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void editGradation();
|
|
|
|
|
|
|
|
private:
|
|
|
|
ColorGradation* _value;
|
|
|
|
};
|
|
|
|
|
2012-07-10 15:38:12 +00:00
|
|
|
#endif
|