Added PyQt4 sample code