Mercurial > hg > sonic-visualiser
changeset 1912:a28cab68eac6 import-audio-data
Experimental relabelling
author | Chris Cannam |
---|---|
date | Fri, 29 Jun 2018 14:10:08 +0100 |
parents | 2160976df436 |
children | 015416e3a298 |
files | main/MainWindow.cpp |
diffstat | 1 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/main/MainWindow.cpp Fri Jun 29 13:57:29 2018 +0100 +++ b/main/MainWindow.cpp Fri Jun 29 14:10:08 2018 +0100 @@ -588,19 +588,6 @@ menu->addAction(action); menu->addSeparator(); - - action = new QAction(tr("Import Audio Data..."), this); - action->setStatusTip(tr("Import audio sample values from a CSV data file")); - connect(action, SIGNAL(triggered()), this, SLOT(importAudioData())); - menu->addAction(action); - - action = new QAction(tr("Export Audio Data..."), this); - action->setStatusTip(tr("Export audio from selection into a CSV data file")); - connect(action, SIGNAL(triggered()), this, SLOT(exportAudioData())); - connect(this, SIGNAL(canExportAudio(bool)), action, SLOT(setEnabled(bool))); - menu->addAction(action); - - menu->addSeparator(); action = new QAction(tr("Import Annotation &Layer..."), this); action->setShortcut(tr("Ctrl+L")); @@ -619,6 +606,19 @@ menu->addAction(action); menu->addSeparator(); + + action = new QAction(tr("Import Audio Data from CSV..."), this); + action->setStatusTip(tr("Import audio sample values from a CSV data file")); + connect(action, SIGNAL(triggered()), this, SLOT(importAudioData())); + menu->addAction(action); + + action = new QAction(tr("Export Audio Data to CSV..."), this); + action->setStatusTip(tr("Export audio from selection into a CSV data file")); + connect(action, SIGNAL(triggered()), this, SLOT(exportAudioData())); + connect(this, SIGNAL(canExportAudio(bool)), action, SLOT(setEnabled(bool))); + menu->addAction(action); + + menu->addSeparator(); action = new QAction(tr("Export Image File..."), this); action->setStatusTip(tr("Export a single pane to an image file"));