comparison main/MainWindow.cpp @ 1984:015416e3a298 import-audio-data

Merge from default branch
author Chris Cannam
date Tue, 04 Sep 2018 14:10:47 +0100
parents a28cab68eac6 abd3f881279c
children bb9cf19e0b67
comparison
equal deleted inserted replaced
1912:a28cab68eac6 1984:015416e3a298
120 #include <QProcess> 120 #include <QProcess>
121 #include <QCheckBox> 121 #include <QCheckBox>
122 #include <QRegExp> 122 #include <QRegExp>
123 #include <QScrollArea> 123 #include <QScrollArea>
124 #include <QCloseEvent> 124 #include <QCloseEvent>
125 #include <QDesktopServices>
126 #include <QDialogButtonBox> 125 #include <QDialogButtonBox>
127 #include <QFileSystemWatcher> 126 #include <QFileSystemWatcher>
128 #include <QTextEdit> 127 #include <QTextEdit>
129 128
130 #include <iostream> 129 #include <iostream>
2274 menu->addSeparator(); 2273 menu->addSeparator();
2275 menu->addAction(m_recordAction); 2274 menu->addAction(m_recordAction);
2276 menu->addSeparator(); 2275 menu->addSeparator();
2277 2276
2278 m_rightButtonPlaybackMenu->addAction(m_playAction); 2277 m_rightButtonPlaybackMenu->addAction(m_playAction);
2279 m_rightButtonPlaybackMenu->addAction(m_recordAction);
2280 m_rightButtonPlaybackMenu->addAction(m_playSelectionAction); 2278 m_rightButtonPlaybackMenu->addAction(m_playSelectionAction);
2281 m_rightButtonPlaybackMenu->addAction(m_playLoopAction); 2279 m_rightButtonPlaybackMenu->addAction(m_playLoopAction);
2282 m_rightButtonPlaybackMenu->addAction(m_soloAction); 2280 m_rightButtonPlaybackMenu->addAction(m_soloAction);
2283 if (alAction) m_rightButtonPlaybackMenu->addAction(alAction); 2281 if (alAction) m_rightButtonPlaybackMenu->addAction(alAction);
2284 m_rightButtonPlaybackMenu->addSeparator(); 2282 m_rightButtonPlaybackMenu->addSeparator();
3504 3502
3505 void 3503 void
3506 MainWindow::manageSavedTemplates() 3504 MainWindow::manageSavedTemplates()
3507 { 3505 {
3508 ResourceFinder rf; 3506 ResourceFinder rf;
3509 QDesktopServices::openUrl("file:" + rf.getResourceSaveDir("templates")); 3507 openLocalFolder(rf.getResourceSaveDir("templates"));
3510 } 3508 }
3511 3509
3512 void 3510 void
3513 MainWindow::paneAdded(Pane *pane) 3511 MainWindow::paneAdded(Pane *pane)
3514 { 3512 {
5188 aboutText += "<br>"; 5186 aboutText += "<br>";
5189 aboutText += tr("Czech UI translation contributed by Pavel Fric."); 5187 aboutText += tr("Czech UI translation contributed by Pavel Fric.");
5190 aboutText += "</small></p>"; 5188 aboutText += "</small></p>";
5191 5189
5192 aboutText += 5190 aboutText +=
5193 "<p><small>Sonic Visualiser Copyright &copy; 2005&ndash;2017 Chris Cannam and " 5191 "<p><small>Sonic Visualiser Copyright &copy; 2005&ndash;2018 Chris Cannam and "
5194 "Queen Mary, University of London.</small></p>"; 5192 "Queen Mary, University of London.</small></p>";
5195 5193
5196 aboutText += 5194 aboutText +=
5197 "<p><small>This program is free software; you can redistribute it and/or " 5195 "<p><small>This program is free software; you can redistribute it and/or "
5198 "modify it under the terms of the GNU General Public License as " 5196 "modify it under the terms of the GNU General Public License as "