Python pyqt4 qt designer tutorial. If using Qt 6 you will need v6.