PyQt5 – QThread subclass that reimplements run() but also handles events This link explains that QThread can be used in one of two ways: