an example of using pyqt