QPolargraphWidget#

class QPolargraph.hardware.QPolargraphWidget.QPolargraphWidget(*args, **kwargs)[source]#

Bases: QInstrumentWidget

Widget for controlling a polargraph scanner.

Connects a Polargraph device to the PolargraphWidget.ui layout via QInstrumentWidget. Hardware is located automatically at startup; if none is found, the widget offers to flash the acam3 firmware onto any detected Arduino via FlashDialog, then retries the connection. If no Arduino is present or the user declines, the widget falls back to FakePolargraph. Pass a FakePolargraph instance as device to skip the hardware search and flash offer entirely.

UIFILE: str | None = 'PolargraphWidget.ui'#
INSTRUMENT#

alias of Polargraph