python Programming Glossary: self.list_widget
Updating GUI elements in MultiThreaded PyQT http://stackoverflow.com/questions/9957195/updating-gui-elements-in-multithreaded-pyqt url list_widget QtCore.QThread.__init__ self self.url url self.list_widget list_widget def run self info urllib2.urlopen self.url .info.. def run self info urllib2.urlopen self.url .info self.list_widget.addItem ' s n s' self.url info class MainWindow QtGui.QWidget.. def __init__ self super MainWindow self .__init__ self.list_widget QtGui.QListWidget self.button QtGui.QPushButton Start self.button.clicked.connect..
|