2012-01-26 23:08:09 +00:00
|
|
|
#ifndef _PAYSAGES_QT_FORMTEXTURES_H_
|
|
|
|
#define _PAYSAGES_QT_FORMTEXTURES_H_
|
|
|
|
|
2013-11-14 20:46:47 +00:00
|
|
|
#include "desktop_global.h"
|
2013-11-12 22:15:35 +00:00
|
|
|
|
2012-08-26 13:06:42 +00:00
|
|
|
#include "baseformlayer.h"
|
2013-11-12 20:34:35 +00:00
|
|
|
#include "textures/public.h"
|
2013-11-12 22:15:35 +00:00
|
|
|
class QWidget;
|
2012-01-26 23:08:09 +00:00
|
|
|
|
2012-08-26 13:06:42 +00:00
|
|
|
class FormTextures : public BaseFormLayer
|
2012-01-26 23:08:09 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit FormTextures(QWidget *parent = 0);
|
2012-07-02 15:35:10 +00:00
|
|
|
~FormTextures();
|
2012-01-26 23:08:09 +00:00
|
|
|
|
|
|
|
public slots:
|
|
|
|
virtual void revertConfig();
|
|
|
|
virtual void applyConfig();
|
|
|
|
|
2012-08-26 13:06:42 +00:00
|
|
|
protected:
|
2012-12-06 14:04:04 +00:00
|
|
|
virtual void layerReadCurrentFrom(void* layer_definition);
|
|
|
|
virtual void layerWriteCurrentTo(void* layer_definition);
|
2013-03-31 20:27:21 +00:00
|
|
|
virtual void autoPresetSelected(int preset);
|
2012-01-26 23:08:09 +00:00
|
|
|
|
|
|
|
private:
|
2013-03-31 20:27:21 +00:00
|
|
|
TexturesDefinition* _definition;
|
|
|
|
TexturesLayerDefinition* _layer;
|
2012-08-26 13:36:46 +00:00
|
|
|
BasePreview* _previewCoverage;
|
|
|
|
BasePreview* _previewColor;
|
2012-01-26 23:08:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|