an example of using pyqt with the UI