2012-07-10 15:38:12 +00:00
|
|
|
#ifndef _PAYSAGES_QT_INPUTLAYERS_H_
|
|
|
|
#define _PAYSAGES_QT_INPUTLAYERS_H_
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include "baseinput.h"
|
2012-07-10 19:39:12 +00:00
|
|
|
#include "dialoglayers.h"
|
2012-07-10 15:38:12 +00:00
|
|
|
#include "../lib_paysages/layers.h"
|
|
|
|
|
|
|
|
class InputLayers:public BaseInput
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2012-07-10 19:39:12 +00:00
|
|
|
InputLayers(QWidget* form, QString label, Layers* value, FormLayerBuilder form_builder);
|
2012-07-10 15:38:12 +00:00
|
|
|
|
|
|
|
public slots:
|
|
|
|
virtual void updatePreview();
|
2012-07-10 19:39:12 +00:00
|
|
|
void editLayers();
|
2012-07-10 15:38:12 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Layers* _value;
|
2012-07-10 19:39:12 +00:00
|
|
|
FormLayerBuilder _form_builder;
|
2012-07-10 15:38:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|