mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
add translation strings [ci skip]
This commit is contained in:
parent
32bf580b47
commit
db6d34a846
Binary file not shown.
@ -32,7 +32,7 @@ QgsLayerTreeOpacityWidget::QgsLayerTreeOpacityWidget( QgsMapLayer *layer )
|
||||
: mLayer( layer )
|
||||
{
|
||||
setAutoFillBackground( true ); // override the content from model
|
||||
QLabel *l = new QLabel( QStringLiteral( "Opacity" ), this );
|
||||
QLabel *l = new QLabel( tr( "Opacity" ), this );
|
||||
mSlider = new QSlider( Qt::Horizontal, this );
|
||||
mSlider->setRange( 0, 1000 );
|
||||
int sliderW = static_cast< int >( QFontMetricsF( font() ).width( 'X' ) * 16 * Qgis::UI_SCALE_FACTOR );
|
||||
|
@ -113,25 +113,25 @@ QgsGradientColorRampDialog::QgsGradientColorRampDialog( const QgsGradientColorRa
|
||||
grid->attach( mPlot );
|
||||
|
||||
mLightnessCurve = new QwtPlotCurve();
|
||||
mLightnessCurve->setTitle( QStringLiteral( "Lightness" ) );
|
||||
mLightnessCurve->setTitle( tr( "Lightness" ) );
|
||||
mLightnessCurve->setPen( QPen( QColor( 70, 150, 255 ), 0.0 ) ),
|
||||
mLightnessCurve->setRenderHint( QwtPlotItem::RenderAntialiased, true );
|
||||
mLightnessCurve->attach( mPlot );
|
||||
|
||||
mHueCurve = new QwtPlotCurve();
|
||||
mHueCurve->setTitle( QStringLiteral( "Hue" ) );
|
||||
mHueCurve->setTitle( tr( "Hue" ) );
|
||||
mHueCurve->setPen( QPen( QColor( 255, 215, 70 ), 0.0 ) ),
|
||||
mHueCurve->setRenderHint( QwtPlotItem::RenderAntialiased, true );
|
||||
mHueCurve->attach( mPlot );
|
||||
|
||||
mSaturationCurve = new QwtPlotCurve();
|
||||
mSaturationCurve->setTitle( QStringLiteral( "Saturation" ) );
|
||||
mSaturationCurve->setTitle( tr( "Saturation" ) );
|
||||
mSaturationCurve->setPen( QPen( QColor( 255, 70, 150 ), 0.0 ) ),
|
||||
mSaturationCurve->setRenderHint( QwtPlotItem::RenderAntialiased, true );
|
||||
mSaturationCurve->attach( mPlot );
|
||||
|
||||
mAlphaCurve = new QwtPlotCurve();
|
||||
mAlphaCurve->setTitle( QStringLiteral( "Opacity" ) );
|
||||
mAlphaCurve->setTitle( tr( "Opacity" ) );
|
||||
mAlphaCurve->setPen( QPen( QColor( 50, 50, 50 ), 0.0 ) ),
|
||||
mAlphaCurve->setRenderHint( QwtPlotItem::RenderAntialiased, true );
|
||||
mAlphaCurve->attach( mPlot );
|
||||
|
Loading…
x
Reference in New Issue
Block a user