Skip to content
Permalink
Browse files
More decimals in georef pdf report
git-svn-id: http://svn.osgeo.org/qgis/trunk@13700 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jun 10, 2010
1 parent 6b8c37b commit 15897aaeeb5d21d5b32e70539e39f8d63f3e431d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/georeferencer/qgsgeorefplugingui.cpp
@@ -1375,7 +1375,7 @@ bool QgsGeorefPluginGui::writePDFReportFile( const QString& fileName, const QgsG
headers << tr( "Translation x" ) << tr( "Translation y" ) << tr( "Scale x" ) << tr( "Scale y" ) << tr( "Rotation [degrees]" ) << tr( "Mean error [%1]" ).arg( residualUnits );
parameterTable->setHeaderLabels( headers );
QStringList row;
row << QString::number( origin.x() ) << QString::number( origin.y() ) << QString::number( scaleX ) << QString::number( scaleY ) << QString::number( rotation * 180 / M_PI ) << QString::number( meanError );
row << QString::number( origin.x(), 'f', 3 ) << QString::number( origin.y(), 'f', 3 ) << QString::number( scaleX ) << QString::number( scaleY ) << QString::number( rotation * 180 / M_PI ) << QString::number( meanError );
parameterTable->addRow( row );
composition->addItem( parameterTable );
parameterTable->setSceneRect( QRectF( 2, parameterLabel->rect().bottom() + parameterLabel->transform().dy() + 5, 50, 20 ) );

0 comments on commit 15897aa

Please sign in to comment.