PythonQt.QtXmlPatterns.QSourceLocation
QSourceLocation
PythonQtInstanceWrapper object
Native bases: PythonQtInstanceWrapper
Supplemental documentation: Qt 5 reference:
Detailed Description
QSourceLocation is a simple value based class that has three properties, uri(), line(), and column(), that, taken together, identify a certain point in a resource, e.g., a file or an in-memory document.
line() and column() refer to character counts (not byte counts), and they both start from 1, as opposed to 0.
Source: https://doc.qt.io/archives/qt-5.15/qsourcelocation.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 |
|---|---|---|---|
__init__ |
function | (self, *args: Any, **kwargs: Any) -> None |
Native constructor; consult class documentation for supported overloads. (shared captured text) |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
column |
function | (self) -> int |
X.column() -> int |
delete |
function | (self, *args: Any, **kwargs: Any) -> Any |
Deletes the C++ object (at your own risk, my friend!) (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) |
isNull |
function | (self) -> bool |
X.isNull() -> bool |
line |
function | (self) -> int |
X.line() -> int |
setColumn |
function | (self, newColumn: int) -> None |
Sets the column number to newColumn. 0 is an invalid column number. |
setLine |
function | (self, newLine: int) -> None |
Sets the line number to newLine. 0 is an invalid line number. |
setUri |
function | (self, newUri: Any) -> None |
Sets the URI to newUri. |
uri |
function | (self) -> Any |
X.uri() -> PythonQt.QtCore.QUrl |