PythonQt.QtXmlPatterns.QSourceLocation · declarations 001
Back to PythonQt.QtXmlPatterns.QSourceLocation
column
column() -> int
X.column() -> int
Supplemental documentation: Qt 5 reference:
qint64 QSourceLocation::column() const
Returns the current column number. The column number refers to the count of characters, not bytes. The first column is column 1, not 0. The default value is -1, indicating the column number is unknown.
See also setColumn().
Upstream PySide2 reference signatures (binding differences may apply):
column(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qsourcelocation.html#column
isNull
isNull() -> bool
X.isNull() -> bool
Supplemental documentation: Qt 5 reference:
bool QSourceLocation::isNull() const
Returns true if this
QSourceLocation doesn't
identify anything.
For a default constructed
QSourceLocation, this
function returns true. The same applies for any other
QSourceLocation whose
uri() is invalid.
Upstream PySide2 reference signatures (binding differences may apply):
isNull(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qsourcelocation.html#isNull
line
line() -> int
X.line() -> int
Supplemental documentation: Qt 5 reference:
qint64 QSourceLocation::line() const
Returns the current line number. The first line number is 1, not 0. The default value is -1, indicating the line number is unknown.
See also setLine().
Upstream PySide2 reference signatures (binding differences may apply):
line(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qsourcelocation.html#line
setColumn
setColumn(newColumn: int) -> None
X.setColumn(newColumn)
Supplemental documentation: Qt 5 reference:
void QSourceLocation::setColumn(qint64 newColumn)
Sets the column number to newColumn. 0 is an invalid column number. The first column number is 1.
See also column().
Upstream PySide2 reference signatures (binding differences may apply):
setColumn(self, newColumn: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qsourcelocation.html#setColumn
setLine
setLine(newLine: int) -> None
X.setLine(newLine)
Supplemental documentation: Qt 5 reference:
void QSourceLocation::setLine(qint64 newLine)
Sets the line number to newLine. 0 is an invalid line number. The first line number is 1.
See also line().
Upstream PySide2 reference signatures (binding differences may apply):
setLine(self, newLine: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qsourcelocation.html#setLine
setUri
setUri(newUri: Any) -> None
X.setUri(newUri)
Supplemental documentation: Qt 5 reference:
void QSourceLocation::setUri(const QUrl \&newUri)
Sets the URI to newUri.
See also uri().
Upstream PySide2 reference signatures (binding differences may apply):
setUri(self, newUri: PySide2.QtCore.QUrl) -> None
Source: https://doc.qt.io/archives/qt-5.15/qsourcelocation.html#setUri
uri
uri() -> Any
X.uri() -> PythonQt.QtCore.QUrl
Supplemental documentation: Qt 5 reference:
QUrl QSourceLocation::uri() const
Returns the resource that this
QSourceLocation refers to.
For example, the resource could be a file in the local file system, if the URI scheme is
file.
See also setUri().
Upstream PySide2 reference signatures (binding differences may apply):
uri(self) -> PySide2.QtCore.QUrl
Source: https://doc.qt.io/archives/qt-5.15/qsourcelocation.html#uri