[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] How to get Qt signals delivered to a pure python thread.
From: Ilya Kulakov <kulakov.ilya () gmail ! com>
Date: 2015-01-07 15:11:36
Message-ID: E0A2680D-7EFA-4807-B684-E5A554B112B1 () gmail ! com
[Download RAW message or body]
I have a python thread that mainly serves a network connection. In this thread (due \
to the logic/architecture of my app) I need connect to a slot of QApplication \
clipboard. Something straightforward like connect does not work because my thread \
does not have a Qt event loop. However if I connect with a DirectConnect, I'll get my \
callback called, but sometimes it simply stops to work: no events are delivered.
Is there any utility classes in PyQt to subscribe to Qt events from non-Qt threads?
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic