Skip to content
Permalink
Browse files

Replace minimise by minimize

  • Loading branch information
DelazJ committed Dec 29, 2016
1 parent 7911994 commit c440cecedfb52cd0adbf1c936d9fe87ccbfa7fd0
@@ -878,7 +878,7 @@ void QgsComposer::changeEvent( QEvent* event )
#endif
case QEvent::WindowStateChange:
{
/* Listen out for window un-minimisation and restore composer map states.
/* Listen out for window un-minimization and restore composer map states.
* We can't use showEvent to detect this due to QT Bug 36675 (see #6085).
*/
QWindowStateChangeEvent* changeEv = static_cast< QWindowStateChangeEvent* >( event );
@@ -3471,7 +3471,7 @@ void QgsComposer::writeXml( QDomNode& parentNode, QDomDocument& doc )
QDomElement composerElem = doc.createElement( QStringLiteral( "Composer" ) );
composerElem.setAttribute( QStringLiteral( "title" ), mTitle );

//change preview mode of minimised / hidden maps before saving XML (show contents only on demand)
//change preview mode of minimized / hidden maps before saving XML (show contents only on demand)
QMap< QgsComposerMap*, int >::const_iterator mapIt = mMapsToRestore.constBegin();
for ( ; mapIt != mMapsToRestore.constEnd(); ++mapIt )
{
@@ -703,7 +703,7 @@ void QgsGPSInformationWidget::displayGPSInformation( const QgsGPSInformation& in
QgsRectangle myExtentLimit( mpCanvas->extent() );
myExtentLimit.scale( mSpinMapExtentMultiplier->value() * 0.01 );

// only change the extents if the point is beyond the current extents to minimise repaints
// only change the extents if the point is beyond the current extents to minimize repaints
if ( radRecenterMap->isChecked() ||
( radRecenterWhenNeeded->isChecked() && !myExtentLimit.contains( myPoint ) ) )
{
@@ -393,7 +393,7 @@ QList<QColor> QgsLimitedRandomColorRamp::randomColors( int count,
for ( int i = 0; i < count; ++i )
{
//increment hue by golden ratio (approx 137.507 degrees)
//as this minimises hue nearness as count increases
//as this minimizes hue nearness as count increases
//see http://basecase.org/env/on-rainbows for more details
currentHueAngle += 137.50776;
//scale hue to between hueMax and hueMin
@@ -548,7 +548,7 @@ void eVisGenericEventBrowserGui::displayImage()
//keep the extent the same just center the map canvas in the display so our feature is in the middle
QgsRectangle myRect( myPoint.x() - ( mCanvas->extent().width() / 2 ), myPoint.y() - ( mCanvas->extent().height() / 2 ), myPoint.x() + ( mCanvas->extent().width() / 2 ), myPoint.y() + ( mCanvas->extent().height() / 2 ) );

// only change the extents if the point is beyond the current extents to minimise repaints
// only change the extents if the point is beyond the current extents to minimize repaints
if ( !mCanvas->extent().contains( myPoint ) )
{
mCanvas->setExtent( myRect );
@@ -6274,7 +6274,7 @@ font-style: italic;</string>
<item>
<widget class="QLabel" name="label_14">
<property name="text">
<string>Minimise placing labels</string>
<string>Minimize placing labels</string>
</property>
</widget>
</item>

0 comments on commit c440cec

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