example of how to use PyQt5 to wrap a simple widget