mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
Fix spelling
This commit is contained in:
parent
4a31c5af9b
commit
b79f17b056
@ -207,7 +207,7 @@ mkDerivation
|
||||
dontWrapGApps = true; # wrapper params passed below
|
||||
|
||||
postFixup = lib.optionalString withGrass ''
|
||||
# GRASS has to be availble on the command line even though we baked in
|
||||
# GRASS has to be available on the command line even though we baked in
|
||||
# the path at build time using GRASS_PREFIX.
|
||||
# Using wrapGAppsHook also prevents file dialogs from crashing the program
|
||||
# on non-NixOS.
|
||||
|
@ -127,7 +127,7 @@ Returns the plot used to render the chart.
|
||||
|
||||
void setSourceLayer( QgsVectorLayer *layer );
|
||||
%Docstring
|
||||
Sets the source vector ``layer`` from which the plot data wil be
|
||||
Sets the source vector ``layer`` from which the plot data will be
|
||||
gathered from.
|
||||
|
||||
.. seealso:: :py:func:`sourceLayer`
|
||||
@ -144,7 +144,7 @@ gathered from.
|
||||
void setSortFeatures( bool sorted );
|
||||
%Docstring
|
||||
Sets whether features should be ``sorted`` when iterating through the
|
||||
vector layer from which the plot data wil be gathered from.
|
||||
vector layer from which the plot data will be gathered from.
|
||||
|
||||
.. seealso:: :py:func:`setSortAscending`
|
||||
|
||||
@ -156,7 +156,7 @@ vector layer from which the plot data wil be gathered from.
|
||||
bool sortFeatures() const;
|
||||
%Docstring
|
||||
Returns ``True`` if features should be sorted when iterating through the
|
||||
vector layer from which the plot data wil be gathered from.
|
||||
vector layer from which the plot data will be gathered from.
|
||||
|
||||
.. seealso:: :py:func:`sortAscending`
|
||||
|
||||
@ -168,7 +168,7 @@ vector layer from which the plot data wil be gathered from.
|
||||
void setSortAscending( bool ascending );
|
||||
%Docstring
|
||||
Sets whether features should be sorted in an ``ascending`` order when
|
||||
iterating through the vector layer from which the plot data wil be
|
||||
iterating through the vector layer from which the plot data will be
|
||||
gathered from.
|
||||
|
||||
This property has no effect is
|
||||
@ -184,7 +184,7 @@ This property has no effect is
|
||||
bool sortAscending() const;
|
||||
%Docstring
|
||||
Returns ``True`` if features should be sorted in an ascending order when
|
||||
iterating through the vector layer from which the plot data wil be
|
||||
iterating through the vector layer from which the plot data will be
|
||||
gathered from.
|
||||
|
||||
This property has no effect is
|
||||
@ -200,7 +200,7 @@ This property has no effect is
|
||||
void setSortExpression( const QString &expression );
|
||||
%Docstring
|
||||
Sets the ``expression`` used to sort features when iterating through the
|
||||
vector layer from which the plot data wil be gathered from.
|
||||
vector layer from which the plot data will be gathered from.
|
||||
|
||||
.. seealso:: :py:func:`setSortFeatures`
|
||||
|
||||
@ -212,7 +212,7 @@ vector layer from which the plot data wil be gathered from.
|
||||
QString sortExpression() const;
|
||||
%Docstring
|
||||
Returns the expression used to sort features when iterating through the
|
||||
vector layer from which the plot data wil be gathered from.
|
||||
vector layer from which the plot data will be gathered from.
|
||||
|
||||
.. seealso:: :py:func:`sortFeatures`
|
||||
|
||||
|
@ -278,7 +278,7 @@ Sets symbol to the button's default symbol, if set.
|
||||
.. versionadded:: 3.30
|
||||
%End
|
||||
|
||||
void setFixedSizeContraints( bool fixedSizeConstraints );
|
||||
void setFixedSizeConstraints( bool fixedSizeConstraints );
|
||||
%Docstring
|
||||
Sets whether the widget adopts fixed size constraints.
|
||||
|
||||
|
@ -127,7 +127,7 @@ Returns the plot used to render the chart.
|
||||
|
||||
void setSourceLayer( QgsVectorLayer *layer );
|
||||
%Docstring
|
||||
Sets the source vector ``layer`` from which the plot data wil be
|
||||
Sets the source vector ``layer`` from which the plot data will be
|
||||
gathered from.
|
||||
|
||||
.. seealso:: :py:func:`sourceLayer`
|
||||
@ -144,7 +144,7 @@ gathered from.
|
||||
void setSortFeatures( bool sorted );
|
||||
%Docstring
|
||||
Sets whether features should be ``sorted`` when iterating through the
|
||||
vector layer from which the plot data wil be gathered from.
|
||||
vector layer from which the plot data will be gathered from.
|
||||
|
||||
.. seealso:: :py:func:`setSortAscending`
|
||||
|
||||
@ -156,7 +156,7 @@ vector layer from which the plot data wil be gathered from.
|
||||
bool sortFeatures() const;
|
||||
%Docstring
|
||||
Returns ``True`` if features should be sorted when iterating through the
|
||||
vector layer from which the plot data wil be gathered from.
|
||||
vector layer from which the plot data will be gathered from.
|
||||
|
||||
.. seealso:: :py:func:`sortAscending`
|
||||
|
||||
@ -168,7 +168,7 @@ vector layer from which the plot data wil be gathered from.
|
||||
void setSortAscending( bool ascending );
|
||||
%Docstring
|
||||
Sets whether features should be sorted in an ``ascending`` order when
|
||||
iterating through the vector layer from which the plot data wil be
|
||||
iterating through the vector layer from which the plot data will be
|
||||
gathered from.
|
||||
|
||||
This property has no effect is
|
||||
@ -184,7 +184,7 @@ This property has no effect is
|
||||
bool sortAscending() const;
|
||||
%Docstring
|
||||
Returns ``True`` if features should be sorted in an ascending order when
|
||||
iterating through the vector layer from which the plot data wil be
|
||||
iterating through the vector layer from which the plot data will be
|
||||
gathered from.
|
||||
|
||||
This property has no effect is
|
||||
@ -200,7 +200,7 @@ This property has no effect is
|
||||
void setSortExpression( const QString &expression );
|
||||
%Docstring
|
||||
Sets the ``expression`` used to sort features when iterating through the
|
||||
vector layer from which the plot data wil be gathered from.
|
||||
vector layer from which the plot data will be gathered from.
|
||||
|
||||
.. seealso:: :py:func:`setSortFeatures`
|
||||
|
||||
@ -212,7 +212,7 @@ vector layer from which the plot data wil be gathered from.
|
||||
QString sortExpression() const;
|
||||
%Docstring
|
||||
Returns the expression used to sort features when iterating through the
|
||||
vector layer from which the plot data wil be gathered from.
|
||||
vector layer from which the plot data will be gathered from.
|
||||
|
||||
.. seealso:: :py:func:`sortFeatures`
|
||||
|
||||
|
@ -278,7 +278,7 @@ Sets symbol to the button's default symbol, if set.
|
||||
.. versionadded:: 3.30
|
||||
%End
|
||||
|
||||
void setFixedSizeContraints( bool fixedSizeConstraints );
|
||||
void setFixedSizeConstraints( bool fixedSizeConstraints );
|
||||
%Docstring
|
||||
Sets whether the widget adopts fixed size constraints.
|
||||
|
||||
|
@ -735,7 +735,7 @@ void QgsCameraController::onPositionChangedGlobeTerrainNavigation( Qt3DInput::QM
|
||||
const double rayDistMap = ( -quadB - sqrt( disc ) ) / ( 2 * quadA );
|
||||
if ( rayDistMap < 0 )
|
||||
{
|
||||
QgsDebugError( QStringLiteral( "Sphere intersection result negative, cancelling move" ) );
|
||||
QgsDebugError( QStringLiteral( "Sphere intersection result negative, canceling move" ) );
|
||||
return;
|
||||
}
|
||||
const QgsVector3D newPosMap = rayOriginMap + QgsVector3D( ray.direction() ) * rayDistMap;
|
||||
|
@ -66,7 +66,7 @@ void QgsLayoutItemChart::setPlot( QgsPlot *plot )
|
||||
return;
|
||||
}
|
||||
|
||||
// Logic to minimise plot data refresh to bare minimum
|
||||
// Logic to minimize plot data refresh to bare minimum
|
||||
bool requireRefresh = !mPlot || !plot;
|
||||
if ( mPlot && plot )
|
||||
{
|
||||
|
@ -143,7 +143,7 @@ class CORE_EXPORT QgsLayoutItemChart : public QgsLayoutItem
|
||||
QgsPlot *plot() { return mPlot.get(); }
|
||||
|
||||
/**
|
||||
* Sets the source vector \a layer from which the plot data wil be gathered from.
|
||||
* Sets the source vector \a layer from which the plot data will be gathered from.
|
||||
*
|
||||
* \see sourceLayer()
|
||||
*/
|
||||
@ -158,7 +158,7 @@ class CORE_EXPORT QgsLayoutItemChart : public QgsLayoutItem
|
||||
|
||||
/**
|
||||
* Sets whether features should be \a sorted when iterating through the vector layer from
|
||||
* which the plot data wil be gathered from.
|
||||
* which the plot data will be gathered from.
|
||||
*
|
||||
* \see setSortAscending()
|
||||
* \see setSortExpression()
|
||||
@ -168,7 +168,7 @@ class CORE_EXPORT QgsLayoutItemChart : public QgsLayoutItem
|
||||
|
||||
/**
|
||||
* Returns TRUE if features should be sorted when iterating through the vector layer from
|
||||
* which the plot data wil be gathered from.
|
||||
* which the plot data will be gathered from.
|
||||
*
|
||||
* \see sortAscending()
|
||||
* \see sortExpression()
|
||||
@ -178,7 +178,7 @@ class CORE_EXPORT QgsLayoutItemChart : public QgsLayoutItem
|
||||
|
||||
/**
|
||||
* Sets whether features should be sorted in an \a ascending order when iterating through the vector layer from
|
||||
* which the plot data wil be gathered from.
|
||||
* which the plot data will be gathered from.
|
||||
*
|
||||
* This property has no effect is sortFeatures() is FALSE.
|
||||
*
|
||||
@ -190,7 +190,7 @@ class CORE_EXPORT QgsLayoutItemChart : public QgsLayoutItem
|
||||
|
||||
/**
|
||||
* Returns TRUE if features should be sorted in an ascending order when iterating through the vector layer from
|
||||
* which the plot data wil be gathered from.
|
||||
* which the plot data will be gathered from.
|
||||
*
|
||||
* This property has no effect is sortFeatures() is FALSE.
|
||||
*
|
||||
@ -202,7 +202,7 @@ class CORE_EXPORT QgsLayoutItemChart : public QgsLayoutItem
|
||||
|
||||
/**
|
||||
* Sets the \a expression used to sort features when iterating through the vector layer from
|
||||
* which the plot data wil be gathered from.
|
||||
* which the plot data will be gathered from.
|
||||
*
|
||||
* \see setSortFeatures()
|
||||
* \see setSortAscending()
|
||||
@ -212,7 +212,7 @@ class CORE_EXPORT QgsLayoutItemChart : public QgsLayoutItem
|
||||
|
||||
/**
|
||||
* Returns the expression used to sort features when iterating through the vector layer from
|
||||
* which the plot data wil be gathered from.
|
||||
* which the plot data will be gathered from.
|
||||
*
|
||||
* \see sortFeatures()
|
||||
* \see sortAscending()
|
||||
|
@ -122,7 +122,7 @@ class CORE_EXPORT QgsLegendFilterProxyModel : public QgsLayerTreeFilterProxyMode
|
||||
|
||||
/**
|
||||
* Sets whether the legend is showing the default legend for a project (as opposed
|
||||
* to a customised legend).
|
||||
* to a customized legend).
|
||||
*/
|
||||
void setIsDefaultLegend( bool isDefault );
|
||||
|
||||
|
@ -51,7 +51,7 @@ class GUI_EXPORT QgsLegendLayerTreeProxyModel : public QgsLayerTreeProxyModel
|
||||
|
||||
/**
|
||||
* Sets whether the legend is showing the default legend for a project (as opposed
|
||||
* to a customised legend).
|
||||
* to a customized legend).
|
||||
*/
|
||||
void setIsDefaultLegend( bool isDefault );
|
||||
|
||||
|
@ -799,7 +799,7 @@ void QgsLineChartPlotWidget::mAddSymbolPushButton_clicked()
|
||||
|
||||
// Marker
|
||||
symbolButton = new QgsSymbolButton( this );
|
||||
symbolButton->setFixedSizeContraints( false );
|
||||
symbolButton->setFixedSizeConstraints( false );
|
||||
symbolButton->setSymbolType( Qgis::SymbolType::Marker );
|
||||
symbolButton->setShowNull( true );
|
||||
symbolButton->setSymbol( QgsPlotDefaultSettings::lineChartMarkerSymbol() );
|
||||
@ -863,7 +863,7 @@ void QgsLineChartPlotWidget::setPlot( QgsPlot *plot )
|
||||
|
||||
// Marker
|
||||
symbolButton = new QgsSymbolButton( this );
|
||||
symbolButton->setFixedSizeContraints( false );
|
||||
symbolButton->setFixedSizeConstraints( false );
|
||||
symbolButton->setSymbolType( Qgis::SymbolType::Marker );
|
||||
symbolButton->setShowNull( true );
|
||||
symbolButton->setSymbol( i < chartPlot->markerSymbolCount() ? chartPlot->markerSymbolAt( i )->clone() : nullptr );
|
||||
|
@ -65,7 +65,7 @@ void QgsSymbolButton::updateSizeHint()
|
||||
switch ( mType )
|
||||
{
|
||||
case Qgis::SymbolType::Marker:
|
||||
if ( mFixedSizeContraints )
|
||||
if ( mFixedSizeConstraints )
|
||||
{
|
||||
if ( mSymbol )
|
||||
{
|
||||
@ -831,16 +831,16 @@ bool QgsSymbolButton::showNull() const
|
||||
return mShowNull;
|
||||
}
|
||||
|
||||
void QgsSymbolButton::setFixedSizeContraints( bool fixedSizeConstraints )
|
||||
void QgsSymbolButton::setFixedSizeConstraints( bool fixedSizeConstraints )
|
||||
{
|
||||
mFixedSizeContraints = fixedSizeConstraints;
|
||||
mFixedSizeConstraints = fixedSizeConstraints;
|
||||
|
||||
updateSizeHint();
|
||||
}
|
||||
|
||||
bool QgsSymbolButton::fixedSizeConstraints() const
|
||||
{
|
||||
return mFixedSizeContraints;
|
||||
return mFixedSizeConstraints;
|
||||
}
|
||||
|
||||
bool QgsSymbolButton::isNull() const
|
||||
|
@ -280,7 +280,7 @@ class GUI_EXPORT QgsSymbolButton : public QToolButton
|
||||
*
|
||||
* \since QGIS 4.0
|
||||
*/
|
||||
void setFixedSizeContraints( bool fixedSizeConstraints );
|
||||
void setFixedSizeConstraints( bool fixedSizeConstraints );
|
||||
|
||||
signals:
|
||||
|
||||
@ -356,7 +356,7 @@ class GUI_EXPORT QgsSymbolButton : public QToolButton
|
||||
|
||||
bool mShowNull = false;
|
||||
|
||||
bool mFixedSizeContraints = true;
|
||||
bool mFixedSizeConstraints = true;
|
||||
|
||||
std::unique_ptr<QgsSymbol> mDefaultSymbol;
|
||||
|
||||
|
@ -169,7 +169,7 @@ bool QgsPdalIndexingTask::prepareOutputPath()
|
||||
return false;
|
||||
}
|
||||
|
||||
// this check is last so we only create the marker file if no error occured
|
||||
// this check is last so we only create the marker file if no error occurred
|
||||
if ( !marker.open( QIODevice::WriteOnly ) )
|
||||
{
|
||||
mErrorMessage = tr( "Directory is not writable: %1" ).arg( fi.canonicalPath() );
|
||||
|
@ -51,7 +51,7 @@ struct QgsOapifCollection
|
||||
//! Layer metadata
|
||||
QgsLayerMetadata mLayerMetadata;
|
||||
|
||||
//! Feature count when advertized (currently only through ldproxy's itemCount)
|
||||
//! Feature count when advertised (currently only through ldproxy's itemCount)
|
||||
int64_t mFeatureCount = -1;
|
||||
|
||||
//! Fills a collection from its JSON serialization
|
||||
|
@ -567,7 +567,7 @@ class PyQgsGdalProvider(QgisTestCase, RasterProviderTestCase):
|
||||
rl = QgsRasterLayer(tmpfile, "test")
|
||||
self.assertTrue(rl.isValid())
|
||||
provider = rl.dataProvider()
|
||||
# Data type is changed by QGIS becase of the scale
|
||||
# Data type is changed by QGIS because of the scale
|
||||
self.assertEqual(provider.dataType(1), Qgis.DataType.Float32)
|
||||
self.assertEqual(provider.bandScale(1), 0.001)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user