mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-17 11:18:30 -04:00
GUI adjustments around base velocity (#7196)
Change the label of the group box from "CUSTOM BASE VELOCITY" to "VELOCITY MAPPING". Remove the long explanation text from the group box and add the following tool tip for the LcdSpinBox: "MIDI notes at this velocity correspond to 100% note velocity." Change the label of the spin box from "BASE VELOCITY" to "MIDI VELOCITY" because that's what the value actually represents.
This commit is contained in:
committed by
GitHub
parent
922eb7f2ba
commit
2472e9ee4e
@@ -144,7 +144,7 @@ InstrumentMidiIOView::InstrumentMidiIOView( QWidget* parent ) :
|
||||
midiOutputLayout->insertWidget( 0, m_wpBtn );
|
||||
}
|
||||
|
||||
auto baseVelocityGroupBox = new GroupBox(tr("CUSTOM BASE VELOCITY"));
|
||||
auto baseVelocityGroupBox = new GroupBox(tr("VELOCITY MAPPING"));
|
||||
baseVelocityGroupBox->setLedButtonShown(false);
|
||||
layout->addWidget( baseVelocityGroupBox );
|
||||
|
||||
@@ -152,15 +152,9 @@ InstrumentMidiIOView::InstrumentMidiIOView( QWidget* parent ) :
|
||||
baseVelocityLayout->setContentsMargins( 8, 18, 8, 8 );
|
||||
baseVelocityLayout->setSpacing( 6 );
|
||||
|
||||
auto baseVelocityHelp
|
||||
= new QLabel(tr("Specify the velocity normalization base for MIDI-based instruments at 100% note velocity."));
|
||||
baseVelocityHelp->setWordWrap( true );
|
||||
baseVelocityHelp->setFont(adjustedToPixelSize(baseVelocityHelp->font(), 10));
|
||||
|
||||
baseVelocityLayout->addWidget( baseVelocityHelp );
|
||||
|
||||
m_baseVelocitySpinBox = new LcdSpinBox( 3, baseVelocityGroupBox );
|
||||
m_baseVelocitySpinBox->setLabel( tr( "BASE VELOCITY" ) );
|
||||
m_baseVelocitySpinBox->setLabel(tr("MIDI VELOCITY"));
|
||||
m_baseVelocitySpinBox->setToolTip(tr("MIDI notes at this velocity correspond to 100% note velocity."));
|
||||
baseVelocityLayout->addWidget( m_baseVelocitySpinBox );
|
||||
|
||||
layout->addStretch();
|
||||
|
||||
Reference in New Issue
Block a user