gui.mixins:AutoSlot()

Provide a Qt slot for a typed python function or method.

Usage

Source

gui.mixins:AutoSlot(function)

To have only one source of truth, the type hints generate the appropriate slot automatically and automatically generates Qt Slot overloads.