summaryrefslogtreecommitdiff
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 05562b6..59fc26a 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -343,6 +343,13 @@ QWidget *MainWindow::createGenerateTab()
tool_selections, SLOT(autoCreateSelectionsPreview()));
slider_attacklength->setValue(300);
+ slider_spread = createAttribute(w, "Power spread:", 1, 2000);
+ connect(slider_spread, SIGNAL(valueChanged(int)),
+ sorter, SLOT(setSpreadFactor(int)));
+ connect(slider_spread, SIGNAL(valueChanged(int)),
+ tool_selections, SLOT(autoCreateSelectionsPreview()));
+ slider_spread->setValue(1000);
+
slider_hold = createAttribute(w, "Minimum size (samples):", 0, 200000);
connect(slider_hold, SIGNAL(valueChanged(int)),
tool_selections, SLOT(holdChanged(int)));