Michaël Lemaire
4daf92f3dd
paysages : Started material editor dialog (WIP). git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@331 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
28 lines
495 B
C++
28 lines
495 B
C++
#ifndef _PAYSAGES_QT_INPUTMATERIAL_H_
|
|
#define _PAYSAGES_QT_INPUTMATERIAL_H_
|
|
|
|
#include <QWidget>
|
|
#include "baseinput.h"
|
|
|
|
#include "../lib_paysages/shared/types.h"
|
|
|
|
class InputMaterial:public BaseInput
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
InputMaterial(QWidget* form, QString label, SurfaceMaterial* value);
|
|
|
|
public slots:
|
|
virtual void updatePreview();
|
|
virtual void applyValue();
|
|
virtual void revert();
|
|
|
|
private slots:
|
|
void editMaterial();
|
|
|
|
private:
|
|
SurfaceMaterial* _value;
|
|
};
|
|
|
|
#endif
|