Implement same interface in PyQt, using the same .ui file.