summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-02-13 15:19:29 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-02-13 15:19:29 +0100
commit12b4ce09ea3d68c59bc1711e365c1bb8275302ad (patch)
treed423cb1395473b9b95dfc3a590265acab18637c8 /gui
parentcafae606e2653a249e4b6aa90ed8a90952cbfa10 (diff)
gui, tracker/pt: add new clip logic
Diffstat (limited to 'gui')
-rw-r--r--gui/wizard.cpp4
-rw-r--r--gui/wizard.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gui/wizard.cpp b/gui/wizard.cpp
index 4075e695..e62acce5 100644
--- a/gui/wizard.cpp
+++ b/gui/wizard.cpp
@@ -51,6 +51,10 @@ void Wizard::set_data()
m = ClipRight;
else if (ui.clip_model_left->isChecked())
m = ClipLeft;
+ else if (ui.new_clip_right->isChecked())
+ m = New_ClipRight;
+ else if (ui.new_clip_right->isChecked())
+ m = New_ClipLeft;
else // ui.cap_model
m = Cap;
diff --git a/gui/wizard.h b/gui/wizard.h
index bb518788..ea15df62 100644
--- a/gui/wizard.h
+++ b/gui/wizard.h
@@ -14,7 +14,7 @@ class Wizard : public QWizard
public:
Wizard(QWidget* parent = nullptr);
- enum Model { Cap = 0, ClipRight = 1, ClipLeft = 2 };
+ enum Model { Cap = 0, ClipRight = 1, ClipLeft = 2, New_ClipRight = 3, New_ClipLeft = 4, };
enum { ClipRightX = 135, ClipLeftX = -135 };
private slots:
void set_data();