Mercurial > hg > sonic-visualiser
changeset 2080:ebea71799f32 spectrogramparam
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 06 Nov 2018 15:43:27 +0000 |
parents | 84f0a4b0eb97 (current diff) 63da6a82c12d (diff) |
children | 30d3f446ec5a |
files | |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/main/MainWindow.cpp Tue Nov 06 13:38:42 2018 +0000 +++ b/main/MainWindow.cpp Tue Nov 06 15:43:27 2018 +0000 @@ -4976,10 +4976,18 @@ QWidget *w = dynamic_cast<QWidget *>(sender()); if (!w) return; + QString mainText, editText; + if (w == m_mainLevelPan) { - contextHelpChanged(tr("Adjust the master playback level and pan")); + mainText = tr("Adjust the master playback level and pan"); + editText = tr("click then drag to adjust, ctrl+click to reset"); } else if (w == m_playSpeed) { - contextHelpChanged(tr("Adjust the master playback speed")); + mainText = tr("Adjust the master playback speed"); + editText = tr("drag up/down to adjust, ctrl+click to reset"); + } + + if (mainText != "") { + contextHelpChanged(tr("%1: %2").arg(mainText).arg(editText)); } }