Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:not': 0.03; 'tutorial': 0.03; 'mrab': 0.05; 'subject:Python': 0.06; '<>,': 0.07; 'indeed,': 0.09; 'newest': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '16:05': 0.16; 'callable.': 0.16; 'link,': 0.16; 'url:qt-project': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'trying': 0.19; 'everyone,': 0.19; 'cc:addr:python.org': 0.22; 'why.': 0.24; 'guys': 0.24; 'looks': 0.24; 'question': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'code': 0.31; 'url:wiki': 0.31; 'thanks!': 0.32; 'url:python': 0.33; 'problem': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'skip:s 60': 0.36; 'url:listinfo': 0.36; 'doing': 0.36; 'url:org': 0.36; 'should': 0.36; 'clear': 0.37; 'christian': 0.38; 'mine': 0.38; 'explain': 0.39; 'skip:& 20': 0.39; 'url:mail': 0.40; 'read': 0.60; 'signal': 0.60; 'subject:"': 0.60; 'hope': 0.61; 'new': 0.61; "you're": 0.61; 'different': 0.65; 'here': 0.66; 'url:v': 0.71; 'url:youtube': 0.71; 'url:watch': 0.77; 'working,': 0.84; 'old,': 0.85; '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:from:date:message-id:subject:cc :content-type; bh=H0md832gK10pc1vkaYOz/MDRm96rCglMNd6Kx0PbcxA=; b=YSlpsrAzNTAqdmjQjHzP1ugYX3HMQFe6T83/QXFpCcuSSTDBlB81MdpXqLkkZnrWHK cp/uYsdKJK9hcxk89brfchfjyl7LpCH5RWvRvi5pSTi4LP8MK4dAufkjh97dFOQK9ZZH sA23zmXrYvspvC1z+hyvirsiexiN58yJNnsLssXVX4H+mLPIppwlH3OYbyrRRuwZ6Ejr n8EEjNSbxv0V2yhVz7S21p8oH4mo0V7MAU/qtK1W9osy/wjhumi4HBQKXRfiE2R7cEmX zwl7JWlmv9IdpRbzJx9iCBbrdmlN/IMt3ZuXJ+MnRikjXewu9C9AmlZENoXyRuLFngGd mSLQ== X-Received: by 10.152.43.14 with SMTP id s14mr811220lal.28.1409426286978; Sat, 30 Aug 2014 12:18:06 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <5402208C.5080201@mrabarnett.plus.com> References: <5402208C.5080201@mrabarnett.plus.com> From: Juan Christian Date: Sat, 30 Aug 2014 16:17:46 -0300 Subject: Re: PySide 1.2.2 and Python 3.4.1 - "native Qt signal is not callable" Cc: python-list@python.org Content-Type: multipart/alternative; boundary=001a11c2382e2c2d770501dda1bf X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 102 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1409426294 news.xs4all.nl 2864 [2001:888:2000:d::a6]:33833 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:77326 --001a11c2382e2c2d770501dda1bf Content-Type: text/plain; charset=UTF-8 Yes, indeed, my code was a mess! I did a clear code here (http://pastebin.com/XsVLSVky) that's fully working, thanks! 2014-08-30 16:05 GMT-03:00 MRAB : > On 2014-08-30 14:35, Juan Christian wrote: > >> Hello everyone, I have a question regarding PySide 1.2.2 and Python 3.4.1 >> >> I have this code that I made following a >> Python tutorial , mine is a >> >> bit different because the tutorial is a bit old, and I'm trying to use >> Python newest features . >> >> As I read in the doc, PySide Signal and Slots now work differently, and >> I'm trying to use this new way (lines 32 - 34). >> >> But, as you guys can see in the pastebin link, it's not working, but I >> don't have a clue why. I hope someone can explain me what I did wrong. >> >> Judging from the traceback, the problem is that you're trying to call a > signal, but it's not callable. > > After a brief look, I found this: > > https://qt-project.org/wiki/Signals_and_Slots_in_PySide > > To me it looks like you should be doing this instead (untested): > > self.fromComboBox.currentIndexChanged.connect(self.update_ui) > > -- > https://mail.python.org/mailman/listinfo/python-list > --001a11c2382e2c2d770501dda1bf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes, indeed, my code was a mess!

I did = a clear code here (http://pastebin= .com/XsVLSVky) that's fully working, thanks!
--001a11c2382e2c2d770501dda1bf--