Adapt to PyQt5.