[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] How to get Qt signals delivered to a pure python thread.
From: Ilya Kulakov <kulakov.ilya () gmail ! com>
Date: 2015-01-08 10:59:39
Message-ID: C011CFCA-83E1-449B-B00A-E4E2497828FF () gmail ! com
[Download RAW message or body]
> Don't understand what "within qeventloop" means. You can create an eventloop and \
> call processEvents repeatedly instead of exec_(). If you look at qeventloop.cpp QT \
> sources you can see that exec() is based on a while (!d->exit)
> processEvents(flags | WaitForMoreEvents | EventLoopExec);
Oh then it looks like I did something wrong… Then if not exec, how QEventLoop \
registers in the thread? When it's time to deliver anything to my thread, how Qt \
would find out where to send them?
As of now I'm using a qobject that proxies communication.
_______________________________________________
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