12 #include <QMouseEvent>
14 #include <QPaintEvent>
18 #include "fpointarray.h"
19 #include "scribusapi.h"
27 class SCRIBUS_API
KCurve :
public QWidget
36 void paintEvent(QPaintEvent *);
37 void keyPressEvent(QKeyEvent *);
38 void mousePressEvent (QMouseEvent * e);
39 void mouseReleaseEvent ( QMouseEvent * e );
40 void mouseMoveEvent ( QMouseEvent * e );
43 double getCurveValue(
double x);
47 void setLinear(
bool setter);
74 virtual void changeEvent(QEvent *e);
76 void setLinear(
bool setter);
77 QPushButton* invertButton;
78 QPushButton* resetButton;
79 QPushButton *linearButton;
80 QPushButton* loadButton;
81 QPushButton* saveButton;
92 QHBoxLayout* CurveWidgetLayout;
97 virtual void languageChange();
100 #endif // CURVEWIDGET_H
A point with floating point precision.
Definition: fpoint.h:43
Definition: curvewidget.h:27
Definition: fpointarray.h:42