What is the purpose of the aqt module?

It contains the GUI-related functionality of Anki.

From the add-on docs:

‘aqt’ in the qt folder contains the UI part of Anki. Anki’s UI is built upon PyQt, Python bindings for the cross-platform GUI toolkit Qt. PyQt follows Qt’s API very closely, so the documentation can be very useful when you want to know how to use a particular GUI component.

2 Likes