starting to understand pyqt