added draft for pyqt4 version