2012-01-26 23:08:09 +00:00
|
|
|
#ifndef _PAYSAGES_QT_FORMCLOUDS_H_
|
|
|
|
#define _PAYSAGES_QT_FORMCLOUDS_H_
|
|
|
|
|
|
|
|
#include <QWidget>
|
2012-02-21 13:41:02 +00:00
|
|
|
#include "basepreview.h"
|
2012-08-26 13:36:46 +00:00
|
|
|
#include "baseformlayer.h"
|
2013-01-22 20:50:37 +00:00
|
|
|
#include "../lib_paysages/clouds/public.h"
|
2012-01-26 23:08:09 +00:00
|
|
|
|
2012-08-26 13:36:46 +00:00
|
|
|
class FormClouds : public BaseFormLayer
|
2012-01-26 23:08:09 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit FormClouds(QWidget *parent = 0);
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
virtual void revertConfig();
|
|
|
|
virtual void applyConfig();
|
|
|
|
|
2012-02-05 11:31:16 +00:00
|
|
|
protected:
|
2012-12-06 14:04:04 +00:00
|
|
|
virtual void layerReadCurrentFrom(void* layer_definition);
|
|
|
|
virtual void layerWriteCurrentTo(void* layer_definition);
|
2012-11-24 12:30:51 +00:00
|
|
|
virtual void autoPresetSelected(int preset);
|
2012-01-26 23:08:09 +00:00
|
|
|
|
|
|
|
private:
|
2013-01-22 20:50:37 +00:00
|
|
|
CloudsDefinition* _definition;
|
2012-08-26 13:36:46 +00:00
|
|
|
CloudsLayerDefinition* _layer;
|
|
|
|
BasePreview* _previewCoverage;
|
|
|
|
BasePreview* _previewColor;
|
2012-01-26 23:08:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|