From 3e64bb198781eda1ac6ca0b39c7c3a3d249548b5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 14 Jan 2018 00:07:03 +0100 Subject: gui/spline: change horizontal/vertical guide count The amount depends on the max value on X/Y scales. --- spline/spline-widget.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'spline/spline-widget.cpp') diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp index 9a0ae08e..960ba3aa 100644 --- a/spline/spline-widget.cpp +++ b/spline/spline-widget.cpp @@ -25,16 +25,7 @@ #include #include -spline_widget::spline_widget(QWidget *parent) : - QWidget(parent), - _config(nullptr), - snap_x(0), - snap_y(0), - _x_step(10), - _y_step(10), - moving_control_point_idx(-1), - _draw_function(true), - _preview_only(false) +spline_widget::spline_widget(QWidget *parent) : QWidget(parent) { setMouseTracking(true); setFocusPolicy(Qt::ClickFocus); -- cgit v1.2.3