Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81624 > unrolled thread

Re: Fwd: Python Signal/Slot + QThred code analysis

Started byJuan Christian <juan0christian@gmail.com>
First post2014-11-27 11:58 +0000
Last post2014-11-27 11:58 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Fwd: Python Signal/Slot + QThred code analysis Juan Christian <juan0christian@gmail.com> - 2014-11-27 11:58 +0000

#81624 — Re: Fwd: Python Signal/Slot + QThred code analysis

FromJuan Christian <juan0christian@gmail.com>
Date2014-11-27 11:58 +0000
SubjectRe: Fwd: Python Signal/Slot + QThred code analysis
Message-ID<mailman.16365.1417089532.18130.python-list@python.org>

[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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web