23 lines
376 B
C
23 lines
376 B
C
|
#ifndef _PAYSAGES_QT_WIDGETCURVEEDITOR_H_
|
||
|
#define _PAYSAGES_QT_WIDGETCURVEEDITOR_H_
|
||
|
|
||
|
#include <QWidget>
|
||
|
#include "../lib_paysages/curve.h"
|
||
|
|
||
|
class WidgetCurveEditor : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
WidgetCurveEditor(QWidget* parent);
|
||
|
~WidgetCurveEditor();
|
||
|
|
||
|
protected:
|
||
|
void paintEvent(QPaintEvent* event);
|
||
|
|
||
|
private:
|
||
|
Curve* _curve;
|
||
|
};
|
||
|
|
||
|
#endif
|