Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81624
| References | (8 earlier) <CAAp0bGtv13QaPhfTx+tzSe6ZpQ9RCLiWrG1Cv+qfEw3JZ41o9g@mail.gmail.com> <547545CF.60208@gmail.com> <CAAp0bGuMRmEXXFpHaVx0MBoQ72N3MYXYwnnxpS58w-LSV6vTdw@mail.gmail.com> <5476A134.7050407@gmail.com> <5476A48C.1050607@gmail.com> |
|---|---|
| From | Juan Christian <juan0christian@gmail.com> |
| Date | 2014-11-27 11:58 +0000 |
| Subject | Re: Fwd: Python Signal/Slot + QThred code analysis |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16365.1417089532.18130.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
On Thu Nov 27 2014 at 2:12:40 AM Michael Torrie <torriem@gmail.com> wrote:
Hmm, I hit a wall. There's no main.ui file. Can you rework your code
so that you have a single file (plus a separate ui file that's okay),
that simulates the url request, that I can execute easily.
As you asked, here it's, everything on one module and without network
calls, http://pastebin.com/ibS9FSSd
The main.ui is a XML, http://pastebin.com/Eq9hNMBX , just save it as
main.ui and it will work. I think now you have everything in order to test
the app.
What I have in mind is simple (I think), have the Outpost get the data
using QThread, and when it got everything needed emit a signal. So when I
have something like 'var = Outpost('123')', when I get the signal I'll know
that I can call 'var.trades, var.posts' and it won't give me NullErrors or
something like that.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Fwd: Python Signal/Slot + QThred code analysis Juan Christian <juan0christian@gmail.com> - 2014-11-27 11:58 +0000
csiph-web