Skip to content
Permalink
Browse files

Merge pull request #4938 from SrNetoChan/dialog_titles_2

More work on titles capitalization
  • Loading branch information
nyalldawson committed Jul 28, 2017
2 parents 7f1bb72 + 5281a36 commit ce92ff61580c257096fc922c07926ea893372891
Showing with 81 additions and 81 deletions.
  1. +2 −2 src/app/composer/qgscomposerarrowwidget.cpp
  2. +4 −4 src/app/composer/qgscomposerattributetablewidget.cpp
  3. +2 −2 src/app/composer/qgscomposeritemwidget.cpp
  4. +1 −1 src/app/composer/qgscomposerlabelwidget.cpp
  5. +2 −2 src/app/composer/qgscomposerlegendwidget.cpp
  6. +4 −4 src/app/composer/qgscomposermapgridwidget.cpp
  7. +2 −2 src/app/composer/qgscomposerpicturewidget.cpp
  8. +5 −5 src/app/composer/qgscomposerscalebarwidget.cpp
  9. +2 −2 src/app/composer/qgscomposertablebackgroundcolorsdialog.cpp
  10. +1 −1 src/app/qgsdecorationcopyrightdialog.cpp
  11. +2 −2 src/app/qgsdecorationnortharrowdialog.cpp
  12. +2 −2 src/app/qgsdecorationscalebardialog.cpp
  13. +2 −2 src/app/qgsdiagramproperties.cpp
  14. +1 −1 src/app/qgsfieldsproperties.cpp
  15. +2 −2 src/app/qgslabelpropertydialog.cpp
  16. +5 −5 src/app/qgsoptions.cpp
  17. +1 −1 src/app/qgsprojectproperties.cpp
  18. +1 −1 src/app/qgsrasterlayerproperties.cpp
  19. +1 −1 src/app/qgstextannotationdialog.cpp
  20. +2 −2 src/gui/effects/qgspainteffectwidget.cpp
  21. +1 −1 src/gui/qgsexpressionlineedit.cpp
  22. +1 −1 src/gui/qgsfieldexpressionwidget.cpp
  23. +2 −2 src/gui/qgsgradientcolorrampdialog.cpp
  24. +1 −1 src/gui/qgspropertyassistantwidget.cpp
  25. +6 −6 src/gui/qgstextformatwidget.cpp
  26. +1 −1 src/gui/raster/qgsrendererrasterpropertieswidget.cpp
  27. +3 −3 src/gui/symbology-ng/qgs25drendererwidget.cpp
  28. +2 −2 src/gui/symbology-ng/qgsellipsesymbollayerwidget.cpp
  29. +2 −2 src/gui/symbology-ng/qgspointdisplacementrendererwidget.cpp
  30. +16 −16 src/gui/symbology-ng/qgssymbollayerwidget.cpp
  31. +1 −1 src/gui/symbology-ng/qgssymbolslistwidget.cpp
  32. +1 −1 src/providers/grass/qgsgrassoptions.cpp
@@ -42,12 +42,12 @@ QgsComposerArrowWidget::QgsComposerArrowWidget( QgsComposerArrow *arrow ): QgsCo
QgsComposerItemWidget *itemPropertiesWidget = new QgsComposerItemWidget( this, mArrow );
mainLayout->addWidget( itemPropertiesWidget );

mArrowHeadStrokeColorButton->setColorDialogTitle( tr( "Select arrow head stroke color" ) );
mArrowHeadStrokeColorButton->setColorDialogTitle( tr( "Select Arrow Head Stroke Color" ) );
mArrowHeadStrokeColorButton->setAllowOpacity( true );
mArrowHeadStrokeColorButton->setContext( QStringLiteral( "composer" ) );
mArrowHeadStrokeColorButton->setNoColorString( tr( "Transparent stroke" ) );
mArrowHeadStrokeColorButton->setShowNoColor( true );
mArrowHeadFillColorButton->setColorDialogTitle( tr( "Select arrow head fill color" ) );
mArrowHeadFillColorButton->setColorDialogTitle( tr( "Select Arrow Head Fill Color" ) );
mArrowHeadFillColorButton->setAllowOpacity( true );
mArrowHeadFillColorButton->setContext( QStringLiteral( "composer" ) );
mArrowHeadFillColorButton->setNoColorString( tr( "Transparent fill" ) );
@@ -70,17 +70,17 @@ QgsComposerAttributeTableWidget::QgsComposerAttributeTableWidget( QgsComposerAtt
mComposerMapComboBox->setItemType( QgsComposerItem::ComposerMap );
connect( mComposerMapComboBox, &QgsComposerItemComboBox::itemChanged, this, &QgsComposerAttributeTableWidget::composerMapChanged );

mHeaderFontColorButton->setColorDialogTitle( tr( "Select header font color" ) );
mHeaderFontColorButton->setColorDialogTitle( tr( "Select Header Font Color" ) );
mHeaderFontColorButton->setAllowOpacity( true );
mHeaderFontColorButton->setContext( QStringLiteral( "composer" ) );
mContentFontColorButton->setColorDialogTitle( tr( "Select content font color" ) );
mContentFontColorButton->setColorDialogTitle( tr( "Select Content Font Color" ) );
mContentFontColorButton->setAllowOpacity( true );
mContentFontColorButton->setContext( QStringLiteral( "composer" ) );
mGridColorButton->setColorDialogTitle( tr( "Select grid color" ) );
mGridColorButton->setColorDialogTitle( tr( "Select Grid Color" ) );
mGridColorButton->setAllowOpacity( true );
mGridColorButton->setContext( QStringLiteral( "composer" ) );
mGridColorButton->setDefaultColor( Qt::black );
mBackgroundColorButton->setColorDialogTitle( tr( "Select background color" ) );
mBackgroundColorButton->setColorDialogTitle( tr( "Select Background Color" ) );
mBackgroundColorButton->setAllowOpacity( true );
mBackgroundColorButton->setContext( QStringLiteral( "composer" ) );
mBackgroundColorButton->setShowNoColor( true );
@@ -566,10 +566,10 @@ void QgsComposerItemWidget::setValuesForGuiElements()
return;
}

mBackgroundColorButton->setColorDialogTitle( tr( "Select background color" ) );
mBackgroundColorButton->setColorDialogTitle( tr( "Select Background Color" ) );
mBackgroundColorButton->setAllowOpacity( true );
mBackgroundColorButton->setContext( QStringLiteral( "composer" ) );
mFrameColorButton->setColorDialogTitle( tr( "Select frame color" ) );
mFrameColorButton->setColorDialogTitle( tr( "Select Frame Color" ) );
mFrameColorButton->setAllowOpacity( true );
mFrameColorButton->setContext( QStringLiteral( "composer" ) );

@@ -37,7 +37,7 @@ QgsComposerLabelWidget::QgsComposerLabelWidget( QgsComposerLabel *label ): QgsCo
QgsComposerItemWidget *itemPropertiesWidget = new QgsComposerItemWidget( this, label );
mainLayout->addWidget( itemPropertiesWidget );

mFontColorButton->setColorDialogTitle( tr( "Select font color" ) );
mFontColorButton->setColorDialogTitle( tr( "Select Font Color" ) );
mFontColorButton->setContext( QStringLiteral( "composer" ) );

mMarginXDoubleSpinBox->setClearValue( 0.0 );
@@ -76,10 +76,10 @@ QgsComposerLegendWidget::QgsComposerLegendWidget( QgsComposerLegend *legend )
mMoveDownToolButton->setIcon( QIcon( QgsApplication::iconPath( "mActionArrowDown.svg" ) ) );
mCountToolButton->setIcon( QIcon( QgsApplication::iconPath( "mActionSum.svg" ) ) );

mFontColorButton->setColorDialogTitle( tr( "Select font color" ) );
mFontColorButton->setColorDialogTitle( tr( "Select Font Color" ) );
mFontColorButton->setContext( QStringLiteral( "composer" ) );

mRasterStrokeColorButton->setColorDialogTitle( tr( "Select stroke color" ) );
mRasterStrokeColorButton->setColorDialogTitle( tr( "Select Stroke Color" ) );
mRasterStrokeColorButton->setAllowOpacity( true );
mRasterStrokeColorButton->setContext( QStringLiteral( "composer " ) );

@@ -59,7 +59,7 @@ QgsComposerMapGridWidget::QgsComposerMapGridWidget( QgsComposerMapGrid *mapGrid,
mAnnotationFormatComboBox->addItem( tr( "Degree, minute, second aligned" ), QgsComposerMapGrid::DegreeMinuteSecondPadded );
mAnnotationFormatComboBox->addItem( tr( "Custom" ), QgsComposerMapGrid::CustomFormat );

mAnnotationFontColorButton->setColorDialogTitle( tr( "Select font color" ) );
mAnnotationFontColorButton->setColorDialogTitle( tr( "Select Font Color" ) );
mAnnotationFontColorButton->setAllowOpacity( true );
mAnnotationFontColorButton->setContext( QStringLiteral( "composer" ) );

@@ -78,19 +78,19 @@ QgsComposerMapGridWidget::QgsComposerMapGridWidget( QgsComposerMapGrid *mapGrid,
insertAnnotationDirectionEntries( mAnnotationDirectionComboBoxTop );
insertAnnotationDirectionEntries( mAnnotationDirectionComboBoxBottom );

mGridFramePenColorButton->setColorDialogTitle( tr( "Select grid frame color" ) );
mGridFramePenColorButton->setColorDialogTitle( tr( "Select Grid Frame Color" ) );
mGridFramePenColorButton->setAllowOpacity( true );
mGridFramePenColorButton->setContext( QStringLiteral( "composer" ) );
mGridFramePenColorButton->setNoColorString( tr( "Transparent frame" ) );
mGridFramePenColorButton->setShowNoColor( true );

mGridFrameFill1ColorButton->setColorDialogTitle( tr( "Select grid frame fill color" ) );
mGridFrameFill1ColorButton->setColorDialogTitle( tr( "Select Grid Frame Fill Color" ) );
mGridFrameFill1ColorButton->setAllowOpacity( true );
mGridFrameFill1ColorButton->setContext( QStringLiteral( "composer" ) );
mGridFrameFill1ColorButton->setNoColorString( tr( "Transparent fill" ) );
mGridFrameFill1ColorButton->setShowNoColor( true );

mGridFrameFill2ColorButton->setColorDialogTitle( tr( "Select grid frame fill color" ) );
mGridFrameFill2ColorButton->setColorDialogTitle( tr( "Select Grid Frame Fill Color" ) );
mGridFrameFill2ColorButton->setAllowOpacity( true );
mGridFrameFill2ColorButton->setContext( QStringLiteral( "composer" ) );
mGridFrameFill2ColorButton->setNoColorString( tr( "Transparent fill" ) );
@@ -40,10 +40,10 @@ QgsComposerPictureWidget::QgsComposerPictureWidget( QgsComposerPicture *picture
setPanelTitle( tr( "Picture properties" ) );

mFillColorButton->setAllowOpacity( true );
mFillColorButton->setColorDialogTitle( tr( "Select fill color" ) );
mFillColorButton->setColorDialogTitle( tr( "Select Fill Color" ) );
mFillColorButton->setContext( QStringLiteral( "composer" ) );
mStrokeColorButton->setAllowOpacity( true );
mStrokeColorButton->setColorDialogTitle( tr( "Select stroke color" ) );
mStrokeColorButton->setColorDialogTitle( tr( "Select Stroke Color" ) );
mStrokeColorButton->setContext( QStringLiteral( "composer" ) );

mNorthTypeComboBox->blockSignals( true );
@@ -62,23 +62,23 @@ QgsComposerScaleBarWidget::QgsComposerScaleBarWidget( QgsComposerScaleBar *scale
mUnitsComboBox->insertItem( 2, tr( "Feet" ), QgsUnitTypes::DistanceFeet );
mUnitsComboBox->insertItem( 3, tr( "Nautical Miles" ), QgsUnitTypes::DistanceNauticalMiles );

mFillColorButton->setColorDialogTitle( tr( "Select fill color" ) );
mFillColorButton->setColorDialogTitle( tr( "Select Fill Color" ) );
mFillColorButton->setAllowOpacity( true );
mFillColorButton->setContext( QStringLiteral( "composer" ) );
mFillColorButton->setNoColorString( tr( "Transparent fill" ) );
mFillColorButton->setNoColorString( tr( "Transparent Fill" ) );
mFillColorButton->setShowNoColor( true );

mFillColor2Button->setColorDialogTitle( tr( "Select alternate fill color" ) );
mFillColor2Button->setColorDialogTitle( tr( "Select Alternate Fill Color" ) );
mFillColor2Button->setAllowOpacity( true );
mFillColor2Button->setContext( QStringLiteral( "composer" ) );
mFillColor2Button->setNoColorString( tr( "Transparent fill" ) );
mFillColor2Button->setShowNoColor( true );

mFontColorButton->setColorDialogTitle( tr( "Select font color" ) );
mFontColorButton->setColorDialogTitle( tr( "Select Font Color" ) );
mFontColorButton->setAllowOpacity( true );
mFontColorButton->setContext( QStringLiteral( "composer" ) );

mStrokeColorButton->setColorDialogTitle( tr( "Select line color" ) );
mStrokeColorButton->setColorDialogTitle( tr( "Select Line Color" ) );
mStrokeColorButton->setAllowOpacity( true );
mStrokeColorButton->setContext( QStringLiteral( "composer" ) );
mStrokeColorButton->setNoColorString( tr( "Transparent line" ) );
@@ -120,12 +120,12 @@ void QgsComposerTableBackgroundColorsDialog::setGuiElementValues()
button->setEnabled( mComposerTable->cellStyle( styleGroup )->enabled );
button->setColor( mComposerTable->cellStyle( styleGroup )->cellBackgroundColor );
button->setAllowOpacity( true );
button->setColorDialogTitle( tr( "Select background color" ) );
button->setColorDialogTitle( tr( "Select Background Color" ) );
}

mDefaultColorButton->setColor( mComposerTable->backgroundColor() );
mDefaultColorButton->setAllowOpacity( true );
mDefaultColorButton->setColorDialogTitle( tr( "Select background color" ) );
mDefaultColorButton->setColorDialogTitle( tr( "Select Background Color" ) );
mDefaultColorButton->setShowNoColor( true );
mDefaultColorButton->setNoColorString( tr( "No background" ) );
}
@@ -53,7 +53,7 @@ QgsDecorationCopyrightDialog::QgsDecorationCopyrightDialog( QgsDecorationCopyrig
pbnColorChooser->setAllowOpacity( true );
pbnColorChooser->setColor( mDeco.mColor );
pbnColorChooser->setContext( QStringLiteral( "gui" ) );
pbnColorChooser->setColorDialogTitle( tr( "Select text color" ) );
pbnColorChooser->setColorDialogTitle( tr( "Select Text color" ) );

QTextCursor cursor = txtCopyrightText->textCursor();
txtCopyrightText->selectAll();
@@ -59,12 +59,12 @@ QgsDecorationNorthArrowDialog::QgsDecorationNorthArrowDialog( QgsDecorationNorth
pbnChangeColor->setAllowOpacity( true );
pbnChangeColor->setColor( mDeco.mColor );
pbnChangeColor->setContext( QStringLiteral( "gui" ) );
pbnChangeColor->setColorDialogTitle( tr( "Select north arrow fill color" ) );
pbnChangeColor->setColorDialogTitle( tr( "Select North Arrow Fill Color" ) );

pbnChangeOutlineColor->setAllowOpacity( true );
pbnChangeOutlineColor->setColor( mDeco.mOutlineColor );
pbnChangeOutlineColor->setContext( QStringLiteral( "gui" ) );
pbnChangeOutlineColor->setColorDialogTitle( tr( "Select north arrow outline color" ) );
pbnChangeOutlineColor->setColorDialogTitle( tr( "Select North Arrow Outline Color" ) );

connect( pbnChangeColor, &QgsColorButton::colorChanged, this, [ = ]( QColor ) { drawNorthArrow(); } );
connect( pbnChangeOutlineColor, &QgsColorButton::colorChanged, this, [ = ]( QColor ) { drawNorthArrow(); } );
@@ -74,12 +74,12 @@ QgsDecorationScaleBarDialog::QgsDecorationScaleBarDialog( QgsDecorationScaleBar
pbnChangeColor->setAllowOpacity( true );
pbnChangeColor->setColor( mDeco.mColor );
pbnChangeColor->setContext( QStringLiteral( "gui" ) );
pbnChangeColor->setColorDialogTitle( tr( "Select scale bar fill color" ) );
pbnChangeColor->setColorDialogTitle( tr( "Select Scale Bar Fill Color" ) );

pbnChangeOutlineColor->setAllowOpacity( true );
pbnChangeOutlineColor->setColor( mDeco.mOutlineColor );
pbnChangeOutlineColor->setContext( QStringLiteral( "gui" ) );
pbnChangeOutlineColor->setColorDialogTitle( tr( "Select scale bar outline color" ) );
pbnChangeOutlineColor->setColorDialogTitle( tr( "Select Scale Bar Outline Color" ) );
}

QgsDecorationScaleBarDialog::~QgsDecorationScaleBarDialog()
@@ -88,12 +88,12 @@ QgsDiagramProperties::QgsDiagramProperties( QgsVectorLayer *layer, QWidget *pare
mScaleRangeWidget->setMapCanvas( mMapCanvas );
mSizeFieldExpressionWidget->registerExpressionContextGenerator( this );

mBackgroundColorButton->setColorDialogTitle( tr( "Select background color" ) );
mBackgroundColorButton->setColorDialogTitle( tr( "Select Background Color" ) );
mBackgroundColorButton->setAllowOpacity( true );
mBackgroundColorButton->setContext( QStringLiteral( "symbology" ) );
mBackgroundColorButton->setShowNoColor( true );
mBackgroundColorButton->setNoColorString( tr( "Transparent background" ) );
mDiagramPenColorButton->setColorDialogTitle( tr( "Select pen color" ) );
mDiagramPenColorButton->setColorDialogTitle( tr( "Select Pen Color" ) );
mDiagramPenColorButton->setAllowOpacity( true );
mDiagramPenColorButton->setContext( QStringLiteral( "symbology" ) );
mDiagramPenColorButton->setShowNoColor( true );
@@ -1350,7 +1350,7 @@ void DesignerTree::onItemDoubleClicked( QTreeWidgetItem *item, int column )
visibilityExpressionGroupBox->setLayout( new QGridLayout );
QgsFieldExpressionWidget *visibilityExpressionWidget = new QgsFieldExpressionWidget;
visibilityExpressionWidget->setLayer( mLayer );
visibilityExpressionWidget->setExpressionDialogTitle( tr( "Visibility expression" ) );
visibilityExpressionWidget->setExpressionDialogTitle( tr( "Visibility Expression" ) );
visibilityExpressionWidget->setExpression( itemData.visibilityExpression()->expression() );
visibilityExpressionGroupBox->layout()->addWidget( visibilityExpressionWidget );

@@ -157,8 +157,8 @@ void QgsLabelPropertyDialog::init( const QString &layerId, const QString &provid
mMaxScaleWidget->setScale( layerSettings.maximumScale );
mHaliComboBox->setCurrentIndex( mHaliComboBox->findData( "Left" ) );
mValiComboBox->setCurrentIndex( mValiComboBox->findData( "Bottom" ) );
mFontColorButton->setColorDialogTitle( tr( "Font color" ) );
mBufferColorButton->setColorDialogTitle( tr( "Buffer color" ) );
mFontColorButton->setColorDialogTitle( tr( "Font Color" ) );
mBufferColorButton->setColorDialogTitle( tr( "Buffer Color" ) );

disableGuiElements();

@@ -125,7 +125,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti

connect( cmbUITheme, static_cast<void ( QComboBox::* )( const QString & )>( &QComboBox::currentIndexChanged ), this, &QgsOptions::uiThemeChanged );

mIdentifyHighlightColorButton->setColorDialogTitle( tr( "Identify highlight color" ) );
mIdentifyHighlightColorButton->setColorDialogTitle( tr( "Identify Highlight Color" ) );
mIdentifyHighlightColorButton->setAllowOpacity( true );
mIdentifyHighlightColorButton->setContext( QStringLiteral( "gui" ) );
mIdentifyHighlightColorButton->setDefaultColor( Qgis::DEFAULT_HIGHLIGHT_COLOR );
@@ -684,7 +684,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
int myBlue = mSettings->value( QStringLiteral( "/qgis/default_selection_color_blue" ), 0 ).toInt();
int myAlpha = mSettings->value( QStringLiteral( "/qgis/default_selection_color_alpha" ), 255 ).toInt();
pbnSelectionColor->setColor( QColor( myRed, myGreen, myBlue, myAlpha ) );
pbnSelectionColor->setColorDialogTitle( tr( "Set selection color" ) );
pbnSelectionColor->setColorDialogTitle( tr( "Set Selection Color" ) );
pbnSelectionColor->setAllowOpacity( true );
pbnSelectionColor->setContext( QStringLiteral( "gui" ) );
pbnSelectionColor->setDefaultColor( QColor( 255, 255, 0, 255 ) );
@@ -694,7 +694,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
myGreen = mSettings->value( QStringLiteral( "/qgis/default_canvas_color_green" ), 255 ).toInt();
myBlue = mSettings->value( QStringLiteral( "/qgis/default_canvas_color_blue" ), 255 ).toInt();
pbnCanvasColor->setColor( QColor( myRed, myGreen, myBlue ) );
pbnCanvasColor->setColorDialogTitle( tr( "Set canvas color" ) );
pbnCanvasColor->setColorDialogTitle( tr( "Set Canvas Color" ) );
pbnCanvasColor->setContext( QStringLiteral( "gui" ) );
pbnCanvasColor->setDefaultColor( Qt::white );

@@ -703,7 +703,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
myGreen = mSettings->value( QStringLiteral( "/qgis/default_measure_color_green" ), 155 ).toInt();
myBlue = mSettings->value( QStringLiteral( "/qgis/default_measure_color_blue" ), 67 ).toInt();
pbnMeasureColor->setColor( QColor( myRed, myGreen, myBlue ) );
pbnMeasureColor->setColorDialogTitle( tr( "Set measuring tool color" ) );
pbnMeasureColor->setColorDialogTitle( tr( "Set Measuring Tool Color" ) );
pbnMeasureColor->setContext( QStringLiteral( "gui" ) );
pbnMeasureColor->setDefaultColor( QColor( 222, 155, 67 ) );

@@ -790,7 +790,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
gridAlpha = mSettings->value( QStringLiteral( "/Composer/gridAlpha" ), 100 ).toInt();
QColor gridColor = QColor( gridRed, gridGreen, gridBlue, gridAlpha );
mGridColorButton->setColor( gridColor );
mGridColorButton->setColorDialogTitle( tr( "Select grid color" ) );
mGridColorButton->setColorDialogTitle( tr( "Select Grid Color" ) );
mGridColorButton->setAllowOpacity( true );
mGridColorButton->setContext( QStringLiteral( "gui" ) );
mGridColorButton->setDefaultColor( QColor( 190, 190, 190, 100 ) );
@@ -215,7 +215,7 @@ QgsProjectProperties::QgsProjectProperties( QgsMapCanvas *mapCanvas, QWidget *pa
pbnSelectionColor->setContext( QStringLiteral( "gui" ) );
pbnSelectionColor->setColor( myColor );
pbnSelectionColor->setDefaultColor( defaultSelectionColor );
pbnSelectionColor->setColorDialogTitle( tr( "Selection color" ) );
pbnSelectionColor->setColorDialogTitle( tr( "Selection Color" ) );
pbnSelectionColor->setAllowOpacity( true );

//get the color for map canvas background and set button color accordingly (default white)
@@ -297,7 +297,7 @@ QgsRasterLayerProperties::QgsRasterLayerProperties( QgsMapLayer *lyr, QgsMapCanv
mMaximumOversamplingSpinBox->setValue( resampleFilter->maxOversampling() );
}

btnColorizeColor->setColorDialogTitle( tr( "Select color" ) );
btnColorizeColor->setColorDialogTitle( tr( "Select Color" ) );
btnColorizeColor->setContext( QStringLiteral( "symbology" ) );

// Hue and saturation color control
@@ -42,7 +42,7 @@ QgsTextAnnotationDialog::QgsTextAnnotationDialog( QgsMapCanvasAnnotationItem *it
mTextEdit->setDocument( mTextDocument.get() );
}

mFontColorButton->setColorDialogTitle( tr( "Select font color" ) );
mFontColorButton->setColorDialogTitle( tr( "Select Font Color" ) );
mFontColorButton->setAllowOpacity( true );
mFontColorButton->setContext( QStringLiteral( "symbology" ) );

@@ -233,7 +233,7 @@ QgsShadowEffectWidget::QgsShadowEffectWidget( QWidget *parent )
setupUi( this );

mShadowColorBtn->setAllowOpacity( false );
mShadowColorBtn->setColorDialogTitle( tr( "Select shadow color" ) );
mShadowColorBtn->setColorDialogTitle( tr( "Select Shadow Color" ) );
mShadowColorBtn->setContext( QStringLiteral( "symbology" ) );
mShadowOffsetAngleSpnBx->setClearValue( 0 );

@@ -391,7 +391,7 @@ QgsGlowWidget::QgsGlowWidget( QWidget *parent )
setupUi( this );

mColorBtn->setAllowOpacity( false );
mColorBtn->setColorDialogTitle( tr( "Select glow color" ) );
mColorBtn->setColorDialogTitle( tr( "Select Glow Color" ) );
mColorBtn->setContext( QStringLiteral( "symbology" ) );

mSpreadUnitWidget->setUnits( QgsUnitTypes::RenderUnitList() << QgsUnitTypes::RenderMillimeters << QgsUnitTypes::RenderPixels << QgsUnitTypes::RenderMapUnits
@@ -31,7 +31,7 @@ QgsExpressionLineEdit::QgsExpressionLineEdit( QWidget *parent )
: QWidget( parent )
, mLineEdit( nullptr )
, mCodeEditor( nullptr )
, mExpressionDialogTitle( tr( "Expression dialog" ) )
, mExpressionDialogTitle( tr( "Expression Dialog" ) )
, mDa( nullptr )
, mExpressionContextGenerator( nullptr )
, mLayer( nullptr )

0 comments on commit ce92ff6

Please sign in to comment.
You can’t perform that action at this time.