PythonQt.QtXmlPatterns.QXmlItem · declarations 001
Back to PythonQt.QtXmlPatterns.QXmlItem
isAtomicValue
isAtomicValue() -> bool
X.isAtomicValue() -> bool
Supplemental documentation: Qt 5 reference:
bool QXmlItem::isAtomicValue() const
Returns true if this item is an atomic value. Returns false if it is a node or null.
See also isNull() and isNode().
Upstream PySide2 reference signatures (binding differences may apply):
isAtomicValue(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qxmlitem.html#isAtomicValue
isNode
isNode() -> bool
X.isNode() -> bool
Supplemental documentation: Qt 5 reference:
bool QXmlItem::isNode() const
Returns true if this item is a Node. Returns false if it is an atomic value or null.
See also isNull() and isAtomicValue().
Upstream PySide2 reference signatures (binding differences may apply):
isNode(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qxmlitem.html#isNode
isNull
isNull() -> bool
X.isNull() -> bool
Supplemental documentation: Qt 5 reference:
bool QXmlItem::isNull() const
Returns true if this QXmlItem is neither a node nor an atomic value. Default constructed instances of QXmlItem are null.
Upstream PySide2 reference signatures (binding differences may apply):
isNull(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qxmlitem.html#isNull
toAtomicValue
toAtomicValue() -> Any
X.toAtomicValue() -> object
Supplemental documentation: Qt 5 reference:
QVariant QXmlItem::toAtomicValue() const
If this QXmlItem represents an atomic value, it is converted to an appropriate QVariant and returned. If this QXmlItem is not an atomic value, the return value is a default constructed QVariant. You can call isAtomicValue() to test whether the item is an atomic value.
See also isAtomicValue().
Upstream PySide2 reference signatures (binding differences may apply):
toAtomicValue(self) -> typing.Any
Source: https://doc.qt.io/archives/qt-5.15/qxmlitem.html#toAtomicValue
toNodeModelIndex
toNodeModelIndex() -> Any
X.toNodeModelIndex() -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex
Supplemental documentation: Qt 5 reference:
QXmlNodeModelIndex QXmlItem::toNodeModelIndex() const
If this QXmlItem represents a node, it returns the item as a QXmlNodeModelIndex. If this QXmlItem is not a node, the return value is undefined. You can call isNode() to test whether the item is a node.
See also isNode().
Upstream PySide2 reference signatures (binding differences may apply):
toNodeModelIndex(self) -> PySide2.QtXmlPatterns.QXmlNodeModelIndex
Source: https://doc.qt.io/archives/qt-5.15/qxmlitem.html#toNodeModelIndex