Skip to content
Permalink
Browse files
Print units of residual as well.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13553 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mmassing committed May 23, 2010
1 parent 8b0c4b4 commit e3d87c8afa28fdbe46d991972760bfd1532fd864
Showing with 3 additions and 8 deletions.
  1. +3 −8 src/plugins/georeferencer/qgsgcplistmodel.cpp
@@ -112,14 +112,9 @@ void QgsGCPListModel::updateModel()

// // Setup table header
QStringList itemLabels;
if ( wldTransform )
{
itemLabels << "on/off" << "id" << "srcX" << "srcY" << "dstX" << "dstY" << QString( "dX[" ) + tr( "map units" ) + "]" << QString( "dY[" ) + tr( "map units" ) + "]" << "residual";
}
else
{
itemLabels << "on/off" << "id" << "srcX" << "srcY" << "dstX" << "dstY" << QString( "dX[" ) + tr( "pixels" ) + "]" << QString( "dY[" ) + tr( "pixels" ) + "]" << "residual";
}
QString unitType = wldTransform ? tr( "map units" ) : tr ("pixels");
itemLabels << "on/off" << "id" << "srcX" << "srcY" << "dstX" << "dstY" << QString( "dX[" ) + unitType + "]" << QString( "dY[" ) + unitType + "]" << "residual[" + unitType + "]";

setHorizontalHeaderLabels( itemLabels );
setRowCount( mGCPList->size() );

0 comments on commit e3d87c8

Please sign in to comment.