Skip to content

Commit 03726b7

Browse files
committed
GUI - minor tweaks to layout of metronome hover texts
1 parent 1da49fa commit 03726b7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/gui/qt/widgets/sonicpimetro.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,23 @@ SonicPiMetro::SonicPiMetro(std::shared_ptr<SonicPi::QtAPIClient> spClient, std::
3737
#else
3838
QString link_shortcut = QKeySequence("alt+t").toString(QKeySequence::NativeText);
3939
#endif
40-
enableLinkButton->setToolTip(tr("Enable/Disable network sync.\nThis controls whether the Link metronome will synchronise with other Link metronomes on the local WiFi/ethernet network.\nWhen enabled, BPM changes to this metronome will also change all other Link metronomes on the network\nand changes to any other Link metronome will affect this metronome.") + "\n(" + link_shortcut + ")");
40+
enableLinkButton->setToolTip(tr("Enable/Disable network sync.\n\nThis controls whether the Link metronome will synchronise with other Link metronomes on the local WiFi/ethernet network.\nWhen enabled, BPM changes to this metronome will also change all other Link metronomes on the network\nand changes to any other Link metronome will affect this metronome.") + "\n(" + link_shortcut + ")");
4141

4242
tapButton = new QPushButton(tr("Tap"));
4343
tapButton->setAutoFillBackground(true);
4444
tapButton->setObjectName("tapButton");
4545
tapButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
4646
tapButton->setFlat(true);
4747

48-
tapButton->setToolTip(tr("Tap tempo.\nClick repeatedly to the beat to set the BPM manually.\nAccuracy increases with every additional click.") + "\n(" + QKeySequence("Shift+Return").toString(QKeySequence::NativeText) + ")");
48+
tapButton->setToolTip(tr("Tap tempo.\n\nClick repeatedly to the beat to set the BPM manually.\nAccuracy increases with every additional click.") + "\n(" + QKeySequence("Shift+Return").toString(QKeySequence::NativeText) + ")");
4949

5050

5151
timeWarpSlider = new QSlider(Qt::Horizontal, this);
5252
timeWarpSlider->setAutoFillBackground(true);
5353
timeWarpSlider->setObjectName("timeWarpSlider");
5454
timeWarpSlider->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
5555
timeWarpSlider->setTickPosition(QSlider::TicksBelow);
56-
timeWarpSlider->setToolTip(tr("Global Time Warp.\nSlide to shift the phase of all triggered synths / FX and sent MIDI/OSC events.\nNegative values trigger everything earlier, positive values trigger things later.\nThe unit is milliseconds."));
56+
timeWarpSlider->setToolTip(tr("Global Time Warp.\n\nSlide to shift the phase of all triggered synths / FX and sent MIDI/OSC events.\nNegative values trigger everything earlier, positive values trigger things later.\nThe unit is milliseconds."));
5757
timeWarpSlider->setMinimum(-250);
5858
timeWarpSlider->setMaximum(250);
5959
timeWarpSlider->setValue(0);
@@ -64,7 +64,7 @@ SonicPiMetro::SonicPiMetro(std::shared_ptr<SonicPi::QtAPIClient> spClient, std::
6464
timeWarpLineEdit->setObjectName("timeWarpEdit");
6565
timeWarpLineEdit->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
6666

67-
timeWarpLineEdit->setToolTip(tr("Global Time Warp.\nAdjust to shift the phase of all triggered synths / FX and sent MIDI/OSC events.\nNegative values trigger everything earlier, positive values trigger things later.\nThe unit is milliseconds."));
67+
timeWarpLineEdit->setToolTip(tr("Global Time Warp.\n\nAdjust to shift the phase of all triggered synths / FX and sent MIDI/OSC events.\nNegative values trigger everything earlier, positive values trigger things later.\nEdit, drag or scroll to modify. Double click to reset to 0. The unit is milliseconds."));
6868

6969
connect(timeWarpSlider, &QSlider::valueChanged, [=](int value) {
7070
QSignalBlocker blocker(timeWarpLineEdit);
@@ -79,7 +79,7 @@ SonicPiMetro::SonicPiMetro(std::shared_ptr<SonicPi::QtAPIClient> spClient, std::
7979
bpmScrubWidget = new BPMScrubWidget(m_spClient, m_spAPI, theme, setPosAvailable);
8080
bpmScrubWidget->setObjectName("bpmScrubber");
8181
bpmScrubWidget->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
82-
bpmScrubWidget->setToolTip(tr("Current Link BPM. Edit or drag to modify."));
82+
bpmScrubWidget->setToolTip(tr("Current Link Tempo in BPM (Beats Per Minute).\n\nEdit, drag or scroll to modify. Double click to reset to 60."));
8383

8484
QHBoxLayout* metro_layout = new QHBoxLayout;
8585
metro_layout->addWidget(enableLinkButton);

0 commit comments

Comments
 (0)