summaryrefslogtreecommitdiff
path: root/src/selectioneditor.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-05-24 20:44:33 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-05-24 20:44:33 +0200
commitcb896a4fa1acd9167d3e7ee9f6336a63309eebde (patch)
tree650337e053b670ba1f67d8b2f6da03d43fb0cda0 /src/selectioneditor.h
parent5f3f9fabf5ad2e1cda638612c3cf863045765a3b (diff)
Add save/load of selections/regions in instruments.
Diffstat (limited to 'src/selectioneditor.h')
-rw-r--r--src/selectioneditor.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/selectioneditor.h b/src/selectioneditor.h
index feb9200..cdbf2de 100644
--- a/src/selectioneditor.h
+++ b/src/selectioneditor.h
@@ -31,12 +31,14 @@
#include <QLineEdit>
#include "selection.h"
+class Instrument;
+
class SelectionEditor
: public QWidget
{
Q_OBJECT
public:
- SelectionEditor(Selections& selections);
+ SelectionEditor(Selections& selections, Instrument& instrument);
public slots:
void added(sel_id_t id);
@@ -59,4 +61,6 @@ private:
QLineEdit* fadeout;
QLineEdit* energy;
QLineEdit* name;
+
+ Instrument& instrument;
};