mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
More decimals in georef pdf report
git-svn-id: http://svn.osgeo.org/qgis/trunk@13700 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
6b8c37b5ce
commit
15897aaeeb
@ -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 );
|
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 );
|
parameterTable->setHeaderLabels( headers );
|
||||||
QStringList row;
|
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 );
|
parameterTable->addRow( row );
|
||||||
composition->addItem( parameterTable );
|
composition->addItem( parameterTable );
|
||||||
parameterTable->setSceneRect( QRectF( 2, parameterLabel->rect().bottom() + parameterLabel->transform().dy() + 5, 50, 20 ) );
|
parameterTable->setSceneRect( QRectF( 2, parameterLabel->rect().bottom() + parameterLabel->transform().dy() + 5, 50, 20 ) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user