info

Widgets for displaying non-plot information from within the terminal

Classes:

Timer(, *, textFormat, pixmap, ...)

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: QLabel

A simple timer that counts… time…

Uses a QtCore.QTimer connected to Timer.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.

stop_timer()

you can read the sign ya punk

update_time()

Called every (update_interval) milliseconds to set the text of the timer.

Attributes:

staticMetaObject

start_timer(update_interval=1000)[source]
Parameters:

update_interval (float) – How often (in ms) the timer should be updated.

stop_timer()[source]

you can read the sign ya punk

update_time()[source]

Called every (update_interval) milliseconds to set the text of the timer.

staticMetaObject = PySide6.QtCore.QMetaObject("Timer" inherits "QLabel": )