diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-09 15:50:09 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-10 10:41:56 +0200 |
commit | 0eec855f4f5ac86f70525418918fd1ebb4d45e03 (patch) | |
tree | b8014ad75774e00ba3c26f2b781d6ad0c6021c9a /spline-widget/spline-widget.hpp | |
parent | f56f30f1d076c8b48a0bd4ce47b26ede618d2880 (diff) |
spline-widget, gui: rename mapping-related files and classes
Adjust usages.
Diffstat (limited to 'spline-widget/spline-widget.hpp')
-rw-r--r-- | spline-widget/spline-widget.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spline-widget/spline-widget.hpp b/spline-widget/spline-widget.hpp index cc416b60..577e6f7f 100644 --- a/spline-widget/spline-widget.hpp +++ b/spline-widget/spline-widget.hpp @@ -15,16 +15,16 @@ #include "spline.hpp" #include "opentrack/plugin-api.hpp" -class SPLINE_WIDGET_EXPORT QFunctionConfigurator : public QWidget +class SPLINE_WIDGET_EXPORT spline_widget : public QWidget { Q_OBJECT Q_PROPERTY(QColor colorBezier READ colorBezier WRITE setColorBezier) Q_PROPERTY(bool is_preview_only READ is_preview_only WRITE set_preview_only) public: - QFunctionConfigurator(QWidget *parent = 0); + spline_widget(QWidget *parent = 0); - Map* config(); - void setConfig(Map* config, const QString &name); + spline* config(); + void setConfig(spline* config, const QString &name); QColor colorBezier() const { @@ -63,7 +63,7 @@ private: QPointF pixel_coord_to_point (const QPointF& point); QPointF point_to_pixel(const QPointF& point); - Map* _config; + spline* _config; // bounds of the rectangle user can interact with QRectF pixel_bounds; |