Subgroup: Geometry

Class: QgsGeometryValidator

class qgis.core.QgsGeometryValidator(geoemtry: QgsGeometry, errors: Iterable[QgsGeometry.Error] = [], method: QgsGeometry.ValidationMethod = QgsGeometry.ValidatorQgisInternal)

Bases: PyQt5.QtCore.QThread

Constructor for QgsGeometryValidator.

Methods

addError
blockSignals
childEvent
children
connectNotify
currentThread
currentThreadId
customEvent
deleteLater
disconnect
disconnectNotify
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
event
eventDispatcher
eventFilter
exec
exec_
exit
findChild findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
findChildren findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
idealThreadCount
inherits
installEventFilter
isFinished
isInterruptionRequested
isRunning
isSignalConnected
isWidgetType
isWindowType
killTimer
loopLevel
metaObject
moveToThread
msleep
objectName
parent
priority
property
pyqtConfigure Each keyword argument is either the name of a Qt property or a Qt signal.
quit
receivers
removeEventFilter
requestInterruption
run
sender
senderSignalIndex
setEventDispatcher
setObjectName
setParent
setPriority
setProperty
setStackSize
setTerminationEnabled
signalsBlocked
sleep
stackSize
start
startTimer
stop
terminate
thread
timerEvent
tr
usleep
validateGeometry Validate geometry and produce a list of geometry errors
wait
yieldCurrentThread

Attributes

HighPriority
HighestPriority
IdlePriority
InheritPriority
LowPriority
LowestPriority
NormalPriority
TimeCriticalPriority
destroyed destroyed(self, QObject = None) [signal]
errorFound errorFound(self, QgsGeometry.Error) [signal]
finished finished(self) [signal]
objectNameChanged objectNameChanged(self, str) [signal]
started started(self) [signal]
staticMetaObject
addError(self, QgsGeometry.Error)
childEvent()
connectNotify()
customEvent()
disconnectNotify()
errorFound

errorFound(self, QgsGeometry.Error) [signal]

exec()
exec_()
isSignalConnected()
receivers()
run(self)
sender()
senderSignalIndex()
setTerminationEnabled()
stop(self)
timerEvent()
validateGeometry(geometry: QgsGeometry, method: QgsGeometry.ValidationMethod = QgsGeometry.ValidatorQgisInternal) → List[QgsGeometry.Error]

Validate geometry and produce a list of geometry errors