diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-05-16 21:45:00 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-05-16 21:45:00 +0200 |
commit | af27aa93c6dfae8aeb38b97b5f10c23a80816b29 (patch) | |
tree | 7cfb9cc1c2aa491bc5ddbfeef015eaa4deebef50 /src/mainwindow.h | |
parent | 8a3a2834b84ba9cdb4b9c505b124774f14034d27 (diff) |
Open/activate instruent tab when double-clicking item in instrument list.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 49ff13f..ad9e2ed 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -30,6 +30,7 @@ #include <QCloseEvent> #include <QDockWidget> #include <QTabWidget> +#include <QListWidget> #include "project.h" @@ -44,6 +45,7 @@ public: ~MainWindow(); public slots: + void itemDoubleClicked(QListWidgetItem *item); void updateWindowTitle(); void newProject(); @@ -64,6 +66,7 @@ private: bool project_dirty{false}; QDockWidget* instruments_dock; + QListWidget* instrument_list; QDockWidget* channels_dock; QTabWidget* tab_widget; }; |