mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
spelling fixes
This commit is contained in:
parent
90fc0bb226
commit
2ffe1a764b
@ -38,7 +38,7 @@ class QgsActionScopeRegistry : QObject
|
||||
/**
|
||||
* Create a new QgsActionScopeRegistry.
|
||||
* QGIS already creates a central registry. You will normally
|
||||
* want to use QgsApplication::actionScopeRegistry() to get acess
|
||||
* want to use QgsApplication::actionScopeRegistry() to get access
|
||||
* to that one instead.
|
||||
*
|
||||
* @note Added in QGIS 3.0
|
||||
|
@ -120,7 +120,7 @@ class QgsTask : QObject
|
||||
* Subtasks can have an optional list of dependent tasks, which must be completed
|
||||
* before the subtask can begin. By default subtasks are considered independent
|
||||
* of the parent task, ie they can be run either before, after, or at the same
|
||||
* time as the parent task. This behaviour can be overriden through the subTaskDependency
|
||||
* time as the parent task. This behaviour can be overridden through the subTaskDependency
|
||||
* argument.
|
||||
*
|
||||
* The parent task must be added to a QgsTaskManager for subtasks to be utilised.
|
||||
|
@ -263,7 +263,7 @@ class QgsStyle : QObject
|
||||
*/
|
||||
QStringList tagsOfSymbol( StyleEntity type, const QString& symbol );
|
||||
|
||||
/** Returns wheter a given tag is associated with the symbol
|
||||
/** Returns whether a given tag is associated with the symbol
|
||||
*
|
||||
* \param type is either SymbolEntity or ColorrampEntity
|
||||
* \param symbol is the name of the symbol or color ramp
|
||||
|
@ -56,7 +56,7 @@ class SplitLinesWithLines(GeoAlgorithm):
|
||||
self.addParameter(ParameterVector(self.INPUT_B,
|
||||
self.tr('Split layer'), [dataobjects.TYPE_VECTOR_LINE]))
|
||||
|
||||
self.addOutput(OutputVector(self.OUTPUT, self.tr('Splitted'), datatype=[dataobjects.TYPE_VECTOR_LINE]))
|
||||
self.addOutput(OutputVector(self.OUTPUT, self.tr('Split'), datatype=[dataobjects.TYPE_VECTOR_LINE]))
|
||||
|
||||
def processAlgorithm(self, progress):
|
||||
layerA = dataobjects.getObjectFromUri(self.getParameterValue(self.INPUT_A))
|
||||
|
@ -44,7 +44,7 @@ class CORE_EXPORT QgsActionScopeRegistry : public QObject
|
||||
/**
|
||||
* Create a new QgsActionScopeRegistry.
|
||||
* QGIS already creates a central registry. You will normally
|
||||
* want to use QgsApplication::actionScopeRegistry() to get acess
|
||||
* want to use QgsApplication::actionScopeRegistry() to get access
|
||||
* to that one instead.
|
||||
*
|
||||
* @note Added in QGIS 3.0
|
||||
|
@ -151,7 +151,7 @@ class CORE_EXPORT QgsTask : public QObject
|
||||
* Subtasks can have an optional list of dependent tasks, which must be completed
|
||||
* before the subtask can begin. By default subtasks are considered independent
|
||||
* of the parent task, ie they can be run either before, after, or at the same
|
||||
* time as the parent task. This behaviour can be overriden through the subTaskDependency
|
||||
* time as the parent task. This behaviour can be overridden through the subTaskDependency
|
||||
* argument. Note that subtasks should NEVER be dependent on their parent task, and violating
|
||||
* this constraint will prevent the task from completing successfully.
|
||||
*
|
||||
|
@ -333,7 +333,7 @@ class CORE_EXPORT QgsStyle : public QObject
|
||||
*/
|
||||
QStringList tagsOfSymbol( StyleEntity type, const QString& symbol );
|
||||
|
||||
/** Returns wheter a given tag is associated with the symbol
|
||||
/** Returns whether a given tag is associated with the symbol
|
||||
*
|
||||
* \param type is either SymbolEntity or ColorrampEntity
|
||||
* \param symbol is the name of the symbol or color ramp
|
||||
|
@ -91,7 +91,7 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="pbDeselectAll">
|
||||
<property name="text">
|
||||
<string>Unselect all</string>
|
||||
<string>Deselect all</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -548,7 +548,7 @@ class TestPyQgsPostgresProvider(unittest.TestCase, ProviderTestCase):
|
||||
default_clause = 'nextval(\'qgis_test."someData_pk_seq"\'::regclass)'
|
||||
self.assertEqual(vl.dataProvider().defaultValueClause(0), default_clause)
|
||||
|
||||
# check that provider default clause takes precendence over passed attribute values
|
||||
# check that provider default clause takes precedence over passed attribute values
|
||||
# this also checks that the inbuilt unique constraint handling is bypassed in the case of a provider default clause
|
||||
f = QgsVectorLayerUtils.createFeature(vl, attributes={1: 5, 3: 'map'})
|
||||
self.assertEqual(f.attributes(), [default_clause, 5, "'qgis'::text", "'qgis'::text", None, None])
|
||||
|
@ -161,7 +161,7 @@ class PyQgsVectorColorRamp(unittest.TestCase):
|
||||
self.assertEqual(s[3].offset, 0.8)
|
||||
self.assertEqual(s[3].color, QColor(50, 20, 10))
|
||||
|
||||
# test continous invert function
|
||||
# test continuous invert function
|
||||
r.invert()
|
||||
self.assertEqual(r.color(0), QColor(0, 200, 0))
|
||||
self.assertEqual(r.color(1), QColor(200, 0, 0))
|
||||
|
Loading…
x
Reference in New Issue
Block a user