Michaël Lemaire
75487d286f
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@384 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
28 lines
511 B
C++
28 lines
511 B
C++
#ifndef _PAYSAGES_QT_INPUTCOLORGRADATION_H_
|
|
#define _PAYSAGES_QT_INPUTCOLORGRADATION_H_
|
|
|
|
#include <QWidget>
|
|
#include "baseinput.h"
|
|
|
|
#include "../lib_paysages/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
|