diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-14 00:07:03 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-14 00:07:03 +0100 |
commit | 3e64bb198781eda1ac6ca0b39c7c3a3d249548b5 (patch) | |
tree | 995fbb2eddac3892af594a33809abd3e74b6e5fd /spline/spline-widget.cpp | |
parent | 249f876093c5d269a521bb190bbd9de7c57a08ac (diff) |
gui/spline: change horizontal/vertical guide count
The amount depends on the max value on X/Y scales.
Diffstat (limited to 'spline/spline-widget.cpp')
-rw-r--r-- | spline/spline-widget.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
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 <cmath> #include <algorithm> -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); |