Skip to content

PythonQt.QtXmlPatterns.QSimpleXmlNodeModel

QSimpleXmlNodeModel

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

Subclassing QAbstractXmlNodeModel can be a significant task, because it requires implementing several, complex member functions. QSimpleXmlNodeModel provides default implementations of these member functions that are suitable for a wide range of node models.

Subclasses of QSimpleXmlNodeModel must be thread-safe.

Source: https://doc.qt.io/archives/qt-5.15/qsimplexmlnodemodel.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
FirstChild attribute Any (shared captured text)
InheritNamespaces attribute Any (shared captured text)
NextSibling attribute Any (shared captured text)
NodeCopySetting attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
Parent attribute Any (shared captured text)
PreserveNamespaces attribute Any (shared captured text)
PreviousSibling attribute Any (shared captured text)
SimpleAxis attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
attributes function (self, element: Any) -> tuple X.attributes(element) -> tuple
baseUri function (self, node: Any) -> Any X.baseUri(node) -> PythonQt.QtCore.QUrl
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
compareOrder function (self, ni1: Any, ni2: Any) -> Any X.compareOrder(ni1, ni2)
createIndex function (self, data: Any, additionalData: Any) -> Any X.createIndex(data, additionalData) -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
documentUri function (self, ni: Any) -> Any X.documentUri(ni) -> PythonQt.QtCore.QUrl
elementById function (self, id: Any) -> Any X.elementById(id) -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
isDeepEqual function (self, ni1: Any, ni2: Any) -> bool X.isDeepEqual(ni1, ni2) -> bool
kind function (self, ni: Any) -> Any
name function (self, ni: Any) -> Any X.name(ni) -> PythonQt.QtXmlPatterns.QXmlName
namePool function (self) -> Any X.namePool() -> PythonQt.QtXmlPatterns.QXmlNamePool
namespaceBindings function (self, arg__1: Any) -> tuple X.namespaceBindings(arg__1) -> tuple
namespaceForPrefix function (self, ni: Any, prefix: Any) -> int X.namespaceForPrefix(ni, prefix) -> int
nextFromSimpleAxis function (self, axis: Any, origin: Any) -> Any X.nextFromSimpleAxis(axis, origin) -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex
nodesByIdref function (self, idref: Any) -> tuple X.nodesByIdref(idref) -> tuple
root function (self, n: Any) -> Any X.root(n) -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex
sourceLocation function (self, index: Any) -> Any X.sourceLocation(index) -> PythonQt.QtXmlPatterns.QSourceLocation
stringValue function (self, node: Any) -> str X.stringValue(node) -> str
typedValue function (self, n: Any) -> Any X.typedValue(n) -> object