profiler_widget¶
- class janim.gui.popup.profiler_widget.ProfilerWidget(viewer: AnimViewer)¶
基类:
QWidget- setup_ui() None¶
- setup_options() QWidget¶
- setup_slots() None¶
- on_hint_button_clicked() None¶
- staticMetaObject = PySide6.QtCore.QMetaObject("ProfilerWidget" inherits "QWidget": )¶
- class janim.gui.popup.profiler_widget.ProfilerGraph(viewer: AnimViewer)¶
基类:
QWidget- RECORDS_MAXLEN = 200¶
- FILL_COLOR = PySide6.QtGui.QColor.fromRgbF(0.117647, 0.117647, 0.117647, 1.000000)¶
- MIN_VISIBLE_RATIO = 0.01¶
- TOP_MARGIN_RATIO = 0.2¶
- SHRINK_RATIO = 0.5¶
- SHRINK_MARGIN = 0.1¶
- EXPAND_INTERVAL = 100¶
- SHRINK_INTERVAL = 2500¶
- set_normalize(flag: bool) None¶
- resizeEvent(event, /) None¶
- paintEvent(event, /) None¶
- mouseMoveEvent(event: QMouseEvent, /) None¶
- staticMetaObject = PySide6.QtCore.QMetaObject("ProfilerGraph" inherits "QWidget": )¶