paysages3d/gui_qt/formclouds.h
2012-12-06 14:04:04 +00:00

35 lines
768 B
C++

#ifndef _PAYSAGES_QT_FORMCLOUDS_H_
#define _PAYSAGES_QT_FORMCLOUDS_H_
#include <QWidget>
#include "basepreview.h"
#include "baseformlayer.h"
#include "../lib_paysages/clouds.h"
class FormClouds : public BaseFormLayer
{
Q_OBJECT
public:
explicit FormClouds(QWidget *parent = 0);
public slots:
virtual void revertConfig();
virtual void applyConfig();
protected:
virtual void layerReadCurrentFrom(void* layer_definition);
virtual void layerWriteCurrentTo(void* layer_definition);
virtual void autoPresetSelected(int preset);
protected slots:
virtual void configChangeEvent();
private:
CloudsDefinition _definition;
CloudsLayerDefinition* _layer;
BasePreview* _previewCoverage;
BasePreview* _previewColor;
};
#endif