X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fkis_curve_widget.h;h=200db10631c01cae46887da2408fce9bfb329aaf;hb=d679fbf19a2511b181570418dc7fa7c815728bcb;hp=5115dfc583af4d7916ec22a005a0fbb8d8e62dbe;hpb=b73a3b2ffe141e5413e583091b355d8eb752aeb9;p=kdenlive diff --git a/src/kis_curve_widget.h b/src/kis_curve_widget.h index 5115dfc5..200db106 100644 --- a/src/kis_curve_widget.h +++ b/src/kis_curve_widget.h @@ -56,7 +56,7 @@ public: * Create a new curve widget with a default curve, that is a straight * line from bottom-left to top-right. */ - KisCurveWidget(QWidget *parent = 0, Qt::WFlags f = 0); + explicit KisCurveWidget(QWidget *parent = 0, Qt::WFlags f = 0); virtual ~KisCurveWidget(); @@ -82,6 +82,8 @@ public: */ void setPixmap(const QPixmap & pix); + virtual QSize sizeHint() const; + signals: /** @@ -132,6 +134,8 @@ public: */ void addPointInTheMiddle(); + void setMaxPoints(int max); + private: class Private;