info
Widgets for displaying non-plot information from within the terminal
Classes:
|
A simple timer that counts. |
- class Timer(self, text: str, /, parent: PySide6.QtWidgets.QWidget | None = None, f: PySide6.QtCore.Qt.WindowType = Default(Qt.WindowFlags), *, textFormat: PySide6.QtCore.Qt.TextFormat | None = None, pixmap: PySide6.QtGui.QPixmap | None = None, scaledContents: bool | None = None, alignment: PySide6.QtCore.Qt.AlignmentFlag | None = None, wordWrap: bool | None = None, margin: int | None = None, indent: int | None = None, openExternalLinks: bool | None = None, textInteractionFlags: PySide6.QtCore.Qt.TextInteractionFlag | None = None, hasSelectedText: bool | None = None, selectedText: str | None = None)[source]
- class Timer(self, /, parent: PySide6.QtWidgets.QWidget | None = None, f: PySide6.QtCore.Qt.WindowType = Default(Qt.WindowFlags), *, text: str | None = None, textFormat: PySide6.QtCore.Qt.TextFormat | None = None, pixmap: PySide6.QtGui.QPixmap | None = None, scaledContents: bool | None = None, alignment: PySide6.QtCore.Qt.AlignmentFlag | None = None, wordWrap: bool | None = None, margin: int | None = None, indent: int | None = None, openExternalLinks: bool | None = None, textInteractionFlags: PySide6.QtCore.Qt.TextInteractionFlag | None = None, hasSelectedText: bool | None = None, selectedText: str | None = None)
Bases:
QLabelA simple timer that counts… time…
Uses a
QtCore.QTimerconnected toTimer.update_time().Initialize self. See help(type(self)) for accurate signature.
Methods:
start_timer([update_interval])- Parameters:
update_interval (float) -- How often (in ms) the timer should be updated.
you can read the sign ya punk
Called every (update_interval) milliseconds to set the text of the timer.
Attributes:
- start_timer(update_interval=1000)[source]
- Parameters:
update_interval (float) – How often (in ms) the timer should be updated.
- staticMetaObject = PySide6.QtCore.QMetaObject("Timer" inherits "QLabel": )