further UI finetuning
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1592 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -53,8 +53,8 @@ const QString __targetNames[instrumentSoundShaping::NumTargets][3] =
|
||||
instrumentSoundShaping::tr( "Pitch" ),*/
|
||||
{ instrumentSoundShaping::tr( "CUTOFF" ), "cut",
|
||||
instrumentSoundShaping::tr( "Cutoff frequency" ) },
|
||||
{ instrumentSoundShaping::tr( "Q/RESO" ), "res",
|
||||
instrumentSoundShaping::tr( "Q/Resonance" ) }
|
||||
{ instrumentSoundShaping::tr( "RESO" ), "res",
|
||||
instrumentSoundShaping::tr( "Resonance" ) }
|
||||
} ;
|
||||
|
||||
|
||||
|
||||
@@ -111,9 +111,9 @@ instrumentSoundShapingView::instrumentSoundShapingView( QWidget * _parent ) :
|
||||
|
||||
|
||||
m_filterResKnob = new knob( knobBright_26, m_filterGroupBox );
|
||||
m_filterResKnob->setLabel( tr( "Q/RESO" ) );
|
||||
m_filterResKnob->move( 190, 18 );
|
||||
m_filterResKnob->setHintText( tr( "Q/Resonance:" ) + " ", "" );
|
||||
m_filterResKnob->setLabel( tr( "RESO" ) );
|
||||
m_filterResKnob->move( 196, 18 );
|
||||
m_filterResKnob->setHintText( tr( "Resonance:" ) + " ", "" );
|
||||
m_filterResKnob->setWhatsThis(
|
||||
tr( "Use this knob for setting Q/Resonance for the selected "
|
||||
"filter. Q/Resonance tells the filter how much it "
|
||||
|
||||
@@ -116,7 +116,7 @@ void lcdSpinBox::paintEvent( QPaintEvent * _me )
|
||||
int margin = 1; // QStyle::PM_DefaultFrameWidth;
|
||||
int lcdWidth = m_cellWidth * m_numDigits + (margin*m_marginWidth)*2;
|
||||
|
||||
p.translate( width() / 2 - lcdWidth / 2, 0 );
|
||||
// p.translate( width() / 2 - lcdWidth / 2, 0 );
|
||||
p.save();
|
||||
|
||||
p.translate( margin, margin );
|
||||
@@ -180,12 +180,12 @@ void lcdSpinBox::paintEvent( QPaintEvent * _me )
|
||||
p.setFont( pointSize<6>( p.font() ) );
|
||||
p.setPen( QColor( 64, 64, 64 ) );
|
||||
p.drawText( width() / 2 -
|
||||
p.fontMetrics().width( m_label ) / 2 + 1,
|
||||
height() - 1, m_label );
|
||||
p.fontMetrics().width( m_label ) / 2 + 1,
|
||||
height(), m_label );
|
||||
p.setPen( QColor( 255, 255, 255 ) );
|
||||
p.drawText( width() / 2 -
|
||||
p.fontMetrics().width( m_label ) / 2,
|
||||
height() - 2, m_label );
|
||||
height() - 1, m_label );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user