def pyqt4_load_ui(fname): """Read Qt Designer .ui `fname` Args: fname (str): Absolute path to .ui file """ from PyQt4 import uic return uic.loadUi(fname)