Skip to content

Window

GuiWindow

GuiWindow()

add_qwidget

add_qwidget(qwidget: QWidget) -> None

Add custom pyside6 QWidget to the GUI

Parameters:

  • qwidget (QWidget) –

    QWidget instance to add

set_custom_icon_path

set_custom_icon_path(path: Path | str | None) -> None

Set GUI window and tray icon path

Parameters:

  • path (Path | str | None) –

    Icon path, default icon if None

set_led_icon

set_led_icon(color: str | tuple[int, int, int] | None, char: str = '') -> None

Set custom GUI window and tray icon as colored LED or character

Parameters:

  • color (str | tuple[int, int, int] | None) –

    Icon color name or RGB value, default icon if None

  • char (str, default: '' ) –

    One or two characters to draw on the icon