summaryrefslogtreecommitdiff
path: root/dgedit/mainwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dgedit/mainwindow.cc')
-rw-r--r--dgedit/mainwindow.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/dgedit/mainwindow.cc b/dgedit/mainwindow.cc
index c750a22..afa8a16 100644
--- a/dgedit/mainwindow.cc
+++ b/dgedit/mainwindow.cc
@@ -39,6 +39,7 @@
#include <QToolBar>
#include <QAction>
#include <QMenuBar>
+#include <QSlider>
#include "canvastool.h"
#include "canvastoolselections.h"
@@ -148,6 +149,13 @@ MainWindow::MainWindow()
configs->addLayout(btns);
+ configs->addWidget(new QLabel("Attack length:"));
+ QSlider *slider = new QSlider(Qt::Horizontal);
+ slider->setRange(10, 10000);
+ slider->setValue(666);
+ connect(slider, SIGNAL(sliderMoved(int)), sorter, SLOT(setAttackLength(int)));
+ configs->addWidget(slider);
+
configs->addWidget(new QLabel("Prefix:"));
QLineEdit *prefix = new QLineEdit();
connect(prefix, SIGNAL(textChanged(const QString &)),