Skip to content
Permalink
Browse files

Replaces ProjectionEnable Icons and text

Replaces the OFT enable and Disable Icons to use the same CRS Icon as in options

Changes behavior on CRS TEXT showing when OTF is off, instead of when it's ON.
  • Loading branch information
SrNetoChan committed Jan 16, 2017
1 parent 0fdd168 commit 14c4dea4db1b10c1dc25b43130b8e9d0b41ed39a
@@ -1 +1 @@
<svg height="6.208889mm" viewBox="0 0 22 22" width="6.208889mm" xmlns="http://www.w3.org/2000/svg"><g fill="none" stroke="#808080" transform="translate(-50.518291 30.188971)"><circle cx="61.518291" cy="-19.188971" r="10.5"/><circle cx="61.518291" cy="-19.188971" r="7.0215659"/><path d="m51.51828-19.188997c0 0 4-3.5 10-3.5 6 0 10 3.5 10 3.5"/><path d="m71.42989-18.888297c0 0-3.91161 3.6993-9.91161 3.6993-6 0-10-4-10-4"/><path d="m61.51828-9.1889966c0 0-4-3.9943504-4-10.0000004 0-6.00565 4-10 4-10"/><path d="m61.51828-29.188997c0 0 4 5 4 9.906 0 4.906-4 10.0940004-4 10.0940004"/><path d="m50.014763 22.897345h14.151977v14.151977h-14.151977z" stroke-linejoin="bevel" stroke-width="1.41100454" transform="matrix(.70658584 -.70762734 .70658584 .70762734 0 0)"/></g></svg>
<svg enable-background="new 0 0 24 24" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientTransform="matrix(.66608453 0 0 .65964018 .00697546 .13907045)" gradientUnits="userSpaceOnUse" x1=".98339999" x2="23.6108" y1="6.6645999" y2="8.6442003"><stop offset="0" stop-color="#f5f5f5"/><stop offset=".2503" stop-color="#e4e4e4"/><stop offset=".7217" stop-color="#c9c9c9"/><stop offset="1" stop-color="#bfbfbf"/></linearGradient><path d="m14.027389 8.3562082c0 3.2896258-2.700307 5.9624878-6.0273991 5.9624878-3.3290905 0-6.0273989-2.672862-6.0273989-5.9624878 0-3.2949027 2.6989744-5.967105 6.0273989-5.967105 3.3270921 0 6.0273991 2.6722023 6.0273991 5.967105z" fill="#e6e6e6" stroke="#ccc" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m7.9999899 2.7030919c3.1718941 3.1418662 3.1718941 8.1597481 0 11.3029341" fill="none" stroke="#ccc" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m7.9999899 2.7030919c-3.1725606 3.1418662-3.1725606 8.1597481 0 11.3029341" fill="none" stroke="#ccc" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m2.2896472 8.3562082c1.268891 0 10.1511278 0 11.4206848 0" fill="none" stroke="#ccc" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m12.440775 4.5883435c-1.781776 1.2651899-6.866665 1.3634762-8.8822368 0" fill="none" stroke="#ccc" stroke-linecap="round" stroke-linejoin="round" stroke-width=".74999994"/><path d="m12.440775 12.120115c-2.295993-1.231548-6.4663482-1.315982-8.8822368 0" fill="none" stroke="#ccc" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m15.593353 7.4254559c0 0-2.966074 1.3278557-7.5933631 1.3278557-1.959484 0-3.6209248-.238043-4.8854319-.5125542-1.7220354-.3738353-2.70793182-.8153015-2.70793182-.8153015l5.64773072-5.7579992c0 0 1.165648.2803472 1.945633.2803472.779985 0 1.9462993-.2803472 1.9462993-.2803472z" style="fill-opacity:.8;stroke:#b3b3b3;stroke-width:.99999994;stroke-linecap:round;stroke-linejoin:bevel;fill:url(#a)"/><path d="m7.9999899 8.7533116v-3.7909522-3.0152152" fill="none" stroke="#b3b3b3" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m13.60176 5.4584089c0 0-2.186755.9070053-5.6017701.9070053-3.4143493 0-5.6017709-.9070053-5.6017709-.9070053" fill="none" stroke="#b3b3b3" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m11.704085 3.4352925c0 0-1.445403.5290314-3.7040951.5290314-2.2580266 0-3.7047622-.5290314-3.7047622-.5290314" fill="none" stroke="#b3b3b3" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m8.8432529 1.8752435l3.2038661 6.5324167" fill="none" stroke="#b3b3b3" stroke-linecap="round" stroke-linejoin="round"/><path d="m7.158059 1.8752435l-3.2058649 6.5324167" fill="none" stroke="#b3b3b3" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m1.569747 1.569748l12.860506 12.860504" fill="none" stroke="#666" stroke-width="2"/><path d="m14.430252 1.569747l-12.860504 12.860506" fill="none" stroke="#666" stroke-width="2"/></svg>
@@ -1 +1 @@
<svg height="6.208889mm" viewBox="0 0 22 22" width="6.208889mm" xmlns="http://www.w3.org/2000/svg"><g fill="none" stroke="#000" transform="translate(-50.518291 30.188971)"><circle cx="61.518291" cy="-19.188971" r="10.5"/><circle cx="61.518291" cy="-19.188971" r="7.0215659"/><path d="m51.51828-19.188997c0 0 4-3.5 10-3.5 6 0 10 3.5 10 3.5"/><path d="m71.42989-18.888297c0 0-3.91161 3.6993-9.91161 3.6993-6 0-10-4-10-4"/><path d="m61.51828-9.1889966c0 0-4-3.9943504-4-10.0000004 0-6.00565 4-10 4-10"/><path d="m61.51828-29.188997c0 0 4 5 4 9.906 0 4.906-4 10.0940004-4 10.0940004"/><path d="m50.014763 22.897345h14.151977v14.151977h-14.151977z" stroke-linejoin="bevel" stroke-width="1.41100454" transform="matrix(.70658584 -.70762734 .70658584 .70762734 0 0)"/></g></svg>
<svg enable-background="new 0 0 24 24" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientTransform="matrix(.66608453 0 0 .65964018 .00697546 .13907045)" gradientUnits="userSpaceOnUse" x1=".98339999" x2="23.6108" y1="6.6645999" y2="8.6442003"><stop offset="0" stop-color="#f5f5f5"/><stop offset=".2503" stop-color="#e4e4e4"/><stop offset=".7217" stop-color="#c9c9c9"/><stop offset="1" stop-color="#bfbfbf"/></linearGradient><path d="m14.027389 8.3562082c0 3.2896258-2.700307 5.9624878-6.0273991 5.9624878-3.3290905 0-6.0273989-2.672862-6.0273989-5.9624878 0-3.2949027 2.6989744-5.967105 6.0273989-5.967105 3.3270921 0 6.0273991 2.6722023 6.0273991 5.967105z" fill="#e6e6e6" stroke="#808080" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m7.9999899 2.7030919c3.1718941 3.1418662 3.1718941 8.1597481 0 11.3029341" fill="none" stroke="#808080" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m7.9999899 2.7030919c-3.1725606 3.1418662-3.1725606 8.1597481 0 11.3029341" fill="none" stroke="#808080" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m2.2896472 8.3562082c1.268891 0 10.1511278 0 11.4206848 0" fill="none" stroke="#808080" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m12.440775 4.5883435c-1.781776 1.2651899-6.866665 1.3634762-8.8822368 0" fill="none" stroke="#808080" stroke-linecap="round" stroke-linejoin="round" stroke-width=".74999994"/><path d="m12.440775 12.120115c-2.295993-1.231548-6.4663482-1.315982-8.8822368 0" fill="none" stroke="#808080" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m15.593353 7.4254559c0 0-2.966074 1.3278557-7.5933631 1.3278557-1.959484 0-3.6209248-.238043-4.8854319-.5125542-1.7220354-.3738353-2.70793182-.8153015-2.70793182-.8153015l5.64773072-5.7579992c0 0 1.165648.2803472 1.945633.2803472.779985 0 1.9462993-.2803472 1.9462993-.2803472z" style="fill-opacity:.8;stroke:#666;stroke-width:.99999994;stroke-linecap:round;stroke-linejoin:bevel;fill:url(#a)"/><path d="m7.9999899 8.7533116v-3.7909522-3.0152152" fill="none" stroke="#666" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m13.60176 5.4584089c0 0-2.186755.9070053-5.6017701.9070053-3.4143493 0-5.6017709-.9070053-5.6017709-.9070053" fill="none" stroke="#666" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m11.704085 3.4352925c0 0-1.445403.5290314-3.7040951.5290314-2.2580266 0-3.7047622-.5290314-3.7047622-.5290314" fill="none" stroke="#666" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/><path d="m8.8432529 1.8752435l3.2038661 6.5324167" fill="none" stroke="#666" stroke-linecap="round" stroke-linejoin="round"/><path d="m7.158059 1.8752435l-3.2058649 6.5324167" fill="none" stroke="#666" stroke-linecap="round" stroke-linejoin="round" stroke-width=".99999994"/></svg>
@@ -10275,13 +10275,13 @@ void QgisApp::updateCrsStatusBar()

if ( mMapCanvas->mapSettings().hasCrsTransformEnabled() )
{
mOnTheFlyProjectionStatusButton->setText( tr( "%1 (OTF)" ).arg( mOnTheFlyProjectionStatusButton->text() ) );
mOnTheFlyProjectionStatusButton->setToolTip(
tr( "Current CRS: %1 (OTF enabled)" ).arg( mMapCanvas->mapSettings().destinationCrs().description() ) );
mOnTheFlyProjectionStatusButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mIconProjectionEnabled.svg" ) ) );
}
else
{
mOnTheFlyProjectionStatusButton->setText( tr( "%1 (OTF off)" ).arg( mOnTheFlyProjectionStatusButton->text() ) );
mOnTheFlyProjectionStatusButton->setToolTip(
tr( "Current CRS: %1 (OTF disabled)" ).arg( mMapCanvas->mapSettings().destinationCrs().description() ) );
mOnTheFlyProjectionStatusButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mIconProjectionDisabled.svg" ) ) );

0 comments on commit 14c4dea

Please sign in to comment.
You can’t perform that action at this time.