Helpers for pyqt4 gui development. (also not well coded.)