X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fkis_curve_widget.h;h=200db10631c01cae46887da2408fce9bfb329aaf;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=da61a6b8336771cda670dbebb42cd678936be38b;hpb=0f1de4df82fc4c17e55fc054d39a33b31f093e13;p=kdenlive diff --git a/src/kis_curve_widget.h b/src/kis_curve_widget.h index da61a6b8..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: /** @@ -131,7 +133,7 @@ public: * so the user can move this point anywhere in a moment */ void addPointInTheMiddle(); - + void setMaxPoints(int max); private: