Skip to content

PythonQt.Qt.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 (shared captured text)
baseUri function (self, node: Any) -> Any X.baseUri(node) -> PythonQt.QtCore.QUrl (shared captured text)
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) (shared captured text)
createIndex function (self, data: Any, additionalData: Any) -> Any X.createIndex(data, additionalData) -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex (shared captured text)
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 (shared captured text)
elementById function (self, id: Any) -> Any X.elementById(id) -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex (shared captured text)
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 (shared captured text)
kind function (self, ni: Any) -> Any (shared captured text)
name function (self, ni: Any) -> Any X.name(ni) -> PythonQt.QtXmlPatterns.QXmlName (shared captured text)
namePool function (self) -> Any X.namePool() -> PythonQt.QtXmlPatterns.QXmlNamePool (shared captured text)
namespaceBindings function (self, arg__1: Any) -> tuple X.namespaceBindings(arg__1) -> tuple (shared captured text)
namespaceForPrefix function (self, ni: Any, prefix: Any) -> int X.namespaceForPrefix(ni, prefix) -> int (shared captured text)
nextFromSimpleAxis function (self, axis: Any, origin: Any) -> Any X.nextFromSimpleAxis(axis, origin) -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex (shared captured text)
nodesByIdref function (self, idref: Any) -> tuple X.nodesByIdref(idref) -> tuple (shared captured text)
root function (self, n: Any) -> Any X.root(n) -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex (shared captured text)
sourceLocation function (self, index: Any) -> Any X.sourceLocation(index) -> PythonQt.QtXmlPatterns.QSourceLocation (shared captured text)
stringValue function (self, node: Any) -> str X.stringValue(node) -> str (shared captured text)
typedValue function (self, n: Any) -> Any X.typedValue(n) -> object (shared captured text)