Improved interaction with extents widget in statusbar so that the text contents of the widget can be copied and pasted

git-svn-id: http://svn.osgeo.org/qgis/trunk@14222 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2010-09-13 07:24:35 +00:00
parent 72a38f627c
commit da194b70ef

View File

@ -5694,7 +5694,7 @@ void QgisApp::extentsViewToggled( bool theFlag )
//extents view mode!
mToggleExtentsViewButton->setIcon( getThemeIcon( "extents.png" ) );
mCoordsEdit->setToolTip( tr( "Map coordinates for the current view extents" ) );
mCoordsEdit->setEnabled( false );
mCoordsEdit->setReadOnly( true );
showExtents();
}
else
@ -5702,7 +5702,7 @@ void QgisApp::extentsViewToggled( bool theFlag )
//mouse cursor pos view mode!
mToggleExtentsViewButton->setIcon( getThemeIcon( "tracking.png" ) );
mCoordsEdit->setToolTip( tr( "Map coordinates at mouse cursor position" ) );
mCoordsEdit->setEnabled( true );
mCoordsEdit->setReadOnly( false );
mCoordsLabel->setText( tr( "Coordinate:" ) );
}
}