Help me maintain aspect ratio of widget within QSplitter when resizing using PyQt5

Printable View