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


Groups > comp.lang.python > #81020

Re: How to access Qt components loaded from file?

X-FeedAbuse http://nntpfeed.proxad.net/abuse.pl feeded by 78.192.65.63
Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!news.muarf.org!news.ecp.fr!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.030
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'subject:file': 0.07; 'deploy': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'gui': 0.12; '(when': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:access': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'wed,': 0.18; 'bit': 0.19; 'working.': 0.19; '(in': 0.22; 'cc:addr:python.org': 0.22; 'decide': 0.24; 'fairly': 0.24; 'cc:2**0': 0.24; 'nearly': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'operations.': 0.31; "user's": 0.31; 'sense': 0.34; 'maybe': 0.34; 'subject:from': 0.34; 'basic': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'subject:?': 0.36; 'should': 0.36; 'two': 0.37; 'being': 0.38; 'christian': 0.38; 'nov': 0.38; 'little': 0.38; 'either': 0.39; 'how': 0.40; 'balance': 0.61; 'traffic': 0.61; 'simple': 0.61; "you're": 0.61; 'pick': 0.64; 'talking': 0.65; 'within': 0.65; 'periodically': 0.68; '5:15': 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=Rfh6L88tRAOTDaPEzS3JMYiXwz8B+Nqs2F7/z9WTjyA=; b=L6e3FJCX6HocFSpCJFwMmHeOADSjtM+ih42UsR//yoOgVXuo2zvl2U6rJ88nj1vt26 u2KkNteMpQcmKPhjt2Flx1d8RMnmc6hyFzXjS4vb/UAWP/hXSXCqk/EIRaKqJVBLp5GP sPl9S7h/1h3kWxPMbWXsSmZIsiPh46fBTwZK91a9JNn9PCI1PL6zRPc+m7UQ/VHSI8AY b0pRvYBp2UHBG/GnlvASah+9+m03+upSBBYv5SzXz011Iq8svoGzlNl33oter+cYDGKJ E/EW5+5cbJbF4KbBVuK1kocJSCeeCDiPk+P3QsfhWEJF8X3cGgFVZHrAgA//H/BQi3WT dcEQ==
MIME-Version 1.0
X-Received by 10.107.167.213 with SMTP id q204mr40962647ioe.23.1416353796552; Tue, 18 Nov 2014 15:36:36 -0800 (PST)
In-Reply-To <CAAp0bGttSSzLL_K_vzWRb+E+mAHdSYVk-8PSARFKG=JWJ4rMng@mail.gmail.com>
References <CAAp0bGvE_4gONgiAOjW7K2XNY7cUJz5xPB7o9rGdGS=BXCwHCQ@mail.gmail.com> <546B3FE4.3050204@telenet.be> <CAAp0bGuiJaU6jeK5uzwyhfax1tm5PBesxwByt-En5mU2v0+8Zg@mail.gmail.com> <CAAp0bGu5z-jPm4cgm1u1CfwQPpDqy9G1A3ciwmaaSJcCrBeSPA@mail.gmail.com> <546B6A4B.90107@telenet.be> <CAAp0bGttSSzLL_K_vzWRb+E+mAHdSYVk-8PSARFKG=JWJ4rMng@mail.gmail.com>
Date Wed, 19 Nov 2014 10:36:36 +1100
Subject Re: How to access Qt components loaded from file?
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15985.1416353804.18130.python-list@python.org> (permalink)
Lines 19
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416353804 news.xs4all.nl 2892 [2001:888:2000:d::a6]:35917
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:81020

Show key headers only | View raw


On Wed, Nov 19, 2014 at 5:15 AM, Juan Christian
<juan0christian@gmail.com> wrote:
>
> Thanks, it's working. What would be a "professional" approach if I want to
> constantly call a URL to get it's content and access this data within the
> GUI?
>

"Constantly" doesn't make much sense when you're talking about network
operations. There are two basic approaches: either you re-fetch
periodically and update the GUI (in which case you have to decide how
frequently), or you re-fetch on some trigger (when it's changed, or
when the user's about to need it, or something). Either way, you have
to balance network traffic versus promptness of update, and it's
nearly impossible to pick perfectly. But if you don't mind it being a
little clunky, you should be able to pick something fairly simple and
deploy it, and then maybe refine it a bit afterward.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: How to access Qt components loaded from file? Chris Angelico <rosuav@gmail.com> - 2014-11-19 10:36 +1100

csiph-web