git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@215 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
27 lines
421 B
C++
27 lines
421 B
C++
#ifndef _GUI_QT_INPUTCOLOR_H_
|
|
#define _GUI_QT_INPUTCOLOR_H_
|
|
|
|
#include <QWidget>
|
|
#include "baseinput.h"
|
|
|
|
#include "../lib_paysages/shared/types.h"
|
|
|
|
class InputColor:public BaseInput
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
InputColor(QWidget* form, QString label, Color* value);
|
|
|
|
public slots:
|
|
virtual void revert();
|
|
|
|
protected slots:
|
|
virtual void applyValue();
|
|
|
|
private:
|
|
Color* _value;
|
|
};
|
|
|
|
#endif // _GUI_QT_INPUTCOLOR_H_
|