Skip to content

PythonQt.QtCore.QElapsedTimer · declarations 001

Back to PythonQt.QtCore.QElapsedTimer

ClockType instance-attribute

ClockType: type

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

MachAbsoluteTime instance-attribute

MachAbsoluteTime: Any

MonotonicClock instance-attribute

MonotonicClock: Any

PerformanceCounter instance-attribute

PerformanceCounter: Any

SystemTime instance-attribute

SystemTime: Any

TickCounter instance-attribute

TickCounter: Any

clockType

clockType() -> Any

X.clockType()

Upstream PySide2 reference signatures (binding differences may apply):

clockType() -> PySide2.QtCore.QElapsedTimer.ClockType

Source: https://doc.qt.io/archives/qt-5.15/qelapsedtimer.html#clockType

elapsed

elapsed() -> int

X.elapsed() -> int

Upstream PySide2 reference signatures (binding differences may apply):

elapsed(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qelapsedtimer.html#elapsed

hasExpired

hasExpired(timeout: int) -> bool

X.hasExpired(timeout) -> bool

Upstream PySide2 reference signatures (binding differences may apply):

hasExpired(self, timeout: int) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qelapsedtimer.html#hasExpired

invalidate

invalidate() -> None

X.invalidate()

Upstream PySide2 reference signatures (binding differences may apply):

invalidate(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qelapsedtimer.html#invalidate

isMonotonic

isMonotonic() -> bool

X.isMonotonic() -> bool

Upstream PySide2 reference signatures (binding differences may apply):

isMonotonic() -> bool

Source: https://doc.qt.io/archives/qt-5.15/qelapsedtimer.html#isMonotonic

isValid

isValid() -> bool

X.isValid() -> bool

Upstream PySide2 reference signatures (binding differences may apply):

isValid(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qelapsedtimer.html#isValid

msecsSinceReference

msecsSinceReference() -> int

X.msecsSinceReference() -> int

Upstream PySide2 reference signatures (binding differences may apply):

msecsSinceReference(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qelapsedtimer.html#msecsSinceReference

msecsTo

msecsTo(other: Any) -> int

X.msecsTo(other) -> int

Upstream PySide2 reference signatures (binding differences may apply):

msecsTo(self, other: PySide2.QtCore.QElapsedTimer) -> int

Source: https://doc.qt.io/archives/qt-5.15/qelapsedtimer.html#msecsTo

nsecsElapsed

nsecsElapsed() -> int

X.nsecsElapsed() -> int

Upstream PySide2 reference signatures (binding differences may apply):

nsecsElapsed(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qelapsedtimer.html#nsecsElapsed

restart

restart() -> int

X.restart() -> int

Upstream PySide2 reference signatures (binding differences may apply):

restart(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qelapsedtimer.html#restart

secsTo

secsTo(other: Any) -> int

X.secsTo(other) -> int

Upstream PySide2 reference signatures (binding differences may apply):

secsTo(self, other: PySide2.QtCore.QElapsedTimer) -> int

Source: https://doc.qt.io/archives/qt-5.15/qelapsedtimer.html#secsTo

start

start() -> None

X.start()

Upstream PySide2 reference signatures (binding differences may apply):

start(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qelapsedtimer.html#start