~jaromil/freej/master

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef QQCOMBOFILTER_H
#define QQCOMBOFILTER_H
#include <QComboBox>
#include <QDoubleSpinBox>
#include <context.h>
#include <text_layer.h>
#include <QListWidget>
#include <QqFiltersApplied.h>
#include <generator_layer.h>

class QqComboFilter : public QWidget
{
    Q_OBJECT
public:
    QqComboFilter(Context *, Layer *, QWidget*);
    QqComboFilter(Context *, TextLayer *, QWidget*);
    QqComboFilter(Context *, GeneratorLayer *, QWidget*);
    ~QqComboFilter();
/*
    void addLayer(Layer *);
    void addTextLayer(TextLayer *);
*/
public slots:
    void addFilter(QString);
    void chgParam(double);   // à finir

private :
    Layer *qLayer;
    TextLayer *qTextLayer;
    GeneratorLayer *m_qGeneLayer;
    QComboBox *filterBox;
    QDoubleSpinBox *filterParam;
    QqFiltersListApplied *filtersListApplied;
    Context *freej;
    QHBoxLayout* layoutH;
};
#endif // QQCOMBOFILTER_H