Skip to content
Permalink
Browse files
Flip all labelling spin boxes to QgsSpinBox/QgsDoubleSpinBox
  • Loading branch information
nyalldawson committed Dec 6, 2014
1 parent 26e06e6 commit 759a148
Show file tree
Hide file tree
Showing 3 changed files with 443 additions and 120 deletions.
@@ -64,6 +64,16 @@ QgsLabelingGui::QgsLabelingGui( QgsVectorLayer* layer, QgsMapCanvas* mapCanvas,
mLineDistanceUnitWidget->setUnits( QStringList() << tr( "mm" ) << tr( "map units" ), 1 );
mRepeatDistanceUnitWidget->setUnits( QStringList() << tr( "mm" ) << tr( "map units" ), 1 );

mFontLineHeightSpinBox->setClearValue( 1.0 );
mShapeRotationDblSpnBx->setClearValue( 0.0 );
mShapeOffsetXSpnBx->setClearValue( 0.0 );
mShapeOffsetYSpnBx->setClearValue( 0.0 );
mPointOffsetXSpinBox->setClearValue( 0.0 );
mPointOffsetYSpinBox->setClearValue( 0.0 );
mPointAngleSpinBox->setClearValue( 0.0 );
mFontLetterSpacingSpinBox->setClearValue( 0.0 );
mFontWordSpacingSpinBox->setClearValue( 0.0 );

mCharDlg = new QgsCharacterSelectorDialog( this );

mRefFont = lblFontPreview->font();

0 comments on commit 759a148

Please sign in to comment.