python Programming Glossary: qtcore.pyqtsignal
time.sleep() required to keep QThread responsive? http://stackoverflow.com/questions/14665636/time-sleep-required-to-keep-qthread-responsive class ApplicationWindow QtGui.QMainWindow get_data QtCore.pyqtSignal def __init__ self parent None QtGui.QMainWindow.__init__ self.. self.canvas.draw class Worker QtCore.QObject pixel_list QtCore.pyqtSignal list list done QtCore.pyqtSignal def __init__ self parent None.. QtCore.QObject pixel_list QtCore.pyqtSignal list list done QtCore.pyqtSignal def __init__ self parent None QtCore.QObject.__init__ self parent..
multiprocessing GUI schemas to combat the “Not Responding” blocking http://stackoverflow.com/questions/15698251/multiprocessing-gui-schemas-to-combat-the-not-responding-blocking to communicate back to the main GUI thread update_signal QtCore.pyqtSignal int done_signal QtCore.pyqtSignal def __init__ self parent worker.. GUI thread update_signal QtCore.pyqtSignal int done_signal QtCore.pyqtSignal def __init__ self parent worker QtCore.QThread.__init__ self.. will spawn a process class Tab QtGui.QTabWidget start_comp QtCore.pyqtSignal def __init__ self parent this_worker self.parent parent self.this_worker..
Background thread with QThread in PyQt http://stackoverflow.com/questions/6783194/background-thread-with-qthread-in-pyqt longer abstract class SomeObject QtCore.QObject finished QtCore.pyqtSignal def longRunning self count 0 while count 5 time.sleep 1 print..
How to capture output of Python's interpreter and show in a Text widget? http://stackoverflow.com/questions/8356336/how-to-capture-output-of-pythons-interpreter-and-show-in-a-text-widget QtCore class EmittingStream QtCore.QObject textWritten QtCore.pyqtSignal str def write self text self.textWritten.emit str text Now in..
PyQt - how to detect and close UI if it's already running? http://stackoverflow.com/questions/8786136/pyqt-how-to-detect-and-close-ui-if-its-already-running SingleApplication QtGui.QApplication messageAvailable QtCore.pyqtSignal object def __init__ self argv key QtGui.QApplication.__init__..
Updating GUI elements in MultiThreaded PyQT http://stackoverflow.com/questions/9957195/updating-gui-elements-in-multithreaded-pyqt QtGui class DownloadThread QtCore.QThread data_downloaded QtCore.pyqtSignal object def __init__ self url QtCore.QThread.__init__ self self.url..
|