Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81161
| Date | 2014-11-20 20:06 -0700 |
|---|---|
| From | Michael Torrie <torriem@gmail.com> |
| Subject | Re: How to access Qt components loaded from file? |
| References | <CAAp0bGvE_4gONgiAOjW7K2XNY7cUJz5xPB7o9rGdGS=BXCwHCQ@mail.gmail.com> <546B3FE4.3050204@telenet.be> <CAAp0bGuNzkfFsPK2WFpPv3jHsdTBUrL+VAVQQYMAmva9nAMWfg@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16077.1416539178.18130.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
On 11/20/2014 01:25 PM, Juan Christian wrote: > **Back to the list > > So, as I said the PyQt doc is using C o.0 > > Yes, I read the tutorials, I'll google for some books and things related. Okay so I took a long look at the example code that was on stackoverflow and figured it out. It's not quite as complete as I thought, and it's only partially functioning. I rewrote it to function a little better. Hopefully it will give you an example. Working with QThread and then moving the worker object to that thread is apparently the recommended way of doing it, but it makes signal handling a two-stage affair. Basically the worker thread has to notify Qthread that it's finished using a finished signal which has to be connected to the QThread's quit() method. That in turn emits its own finished signal which the GUI can trap. It seems a bit convoluted to me. anyway I've attached the working example.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: How to access Qt components loaded from file? Michael Torrie <torriem@gmail.com> - 2014-11-20 20:06 -0700
csiph-web