comparison main/MainWindow.cpp @ 2080:ebea71799f32 spectrogramparam

Merge from default branch
author Chris Cannam
date Tue, 06 Nov 2018 15:43:27 +0000
parents 63da6a82c12d
children 6e3ef3aa341e
comparison
equal deleted inserted replaced
2078:84f0a4b0eb97 2080:ebea71799f32
4974 MainWindow::mouseEnteredWidget() 4974 MainWindow::mouseEnteredWidget()
4975 { 4975 {
4976 QWidget *w = dynamic_cast<QWidget *>(sender()); 4976 QWidget *w = dynamic_cast<QWidget *>(sender());
4977 if (!w) return; 4977 if (!w) return;
4978 4978
4979 QString mainText, editText;
4980
4979 if (w == m_mainLevelPan) { 4981 if (w == m_mainLevelPan) {
4980 contextHelpChanged(tr("Adjust the master playback level and pan")); 4982 mainText = tr("Adjust the master playback level and pan");
4983 editText = tr("click then drag to adjust, ctrl+click to reset");
4981 } else if (w == m_playSpeed) { 4984 } else if (w == m_playSpeed) {
4982 contextHelpChanged(tr("Adjust the master playback speed")); 4985 mainText = tr("Adjust the master playback speed");
4986 editText = tr("drag up/down to adjust, ctrl+click to reset");
4987 }
4988
4989 if (mainText != "") {
4990 contextHelpChanged(tr("%1: %2").arg(mainText).arg(editText));
4983 } 4991 }
4984 } 4992 }
4985 4993
4986 void 4994 void
4987 MainWindow::mouseLeftWidget() 4995 MainWindow::mouseLeftWidget()