Code Samples from Zet Code PyQt4 tutorial