[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: Giuseppe Corbelli <giuseppe.corbelli () copanitalia ! com>
Date: 2015-01-08 15:04:19
Message-ID: 54AE9C73.307 () copanitalia ! com
[Download RAW message or body]
On 08/01/2015 11:59, Ilya Kulakov wrote:
>> 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?
Good question. I don't know.
Guess: event queues for each thread plus some thread-specific data? Sorry,
can't really help you.
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666318 Fax: +390302659932
E-mail: giuseppe.corbelli@copanitalia.com
_______________________________________________
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