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


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

Re: PySide 1.2.2 and Python 3.4.1 - "native Qt signal is not callable"

Started byJuan Christian <juan0christian@gmail.com>
First post2014-08-30 16:17 -0300
Last post2014-08-30 16:17 -0300
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: PySide 1.2.2 and Python 3.4.1 - "native Qt signal is not callable" Juan Christian <juan0christian@gmail.com> - 2014-08-30 16:17 -0300

#77326 — Re: PySide 1.2.2 and Python 3.4.1 - "native Qt signal is not callable"

FromJuan Christian <juan0christian@gmail.com>
Date2014-08-30 16:17 -0300
SubjectRe: PySide 1.2.2 and Python 3.4.1 - "native Qt signal is not callable"
Message-ID<mailman.13648.1409426294.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

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 <python@mrabarnett.plus.com>:

> 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 <http://pastebin.com/5NXd4Jkk> that I made following a
>> Python tutorial <https://www.youtube.com/watch?v=8D_aEYiBU2c>, 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
>

[toc] | [standalone]


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


csiph-web