Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #77325 > unrolled thread
| Started by | MRAB <python@mrabarnett.plus.com> |
|---|---|
| First post | 2014-08-30 20:05 +0100 |
| Last post | 2014-08-30 20:05 +0100 |
| 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.
Re: PySide 1.2.2 and Python 3.4.1 - "native Qt signal is not callable" MRAB <python@mrabarnett.plus.com> - 2014-08-30 20:05 +0100
| From | MRAB <python@mrabarnett.plus.com> |
|---|---|
| Date | 2014-08-30 20:05 +0100 |
| Subject | Re: PySide 1.2.2 and Python 3.4.1 - "native Qt signal is not callable" |
| Message-ID | <mailman.13647.1409425556.18130.python-list@python.org> |
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)
Back to top | Article view | comp.lang.python
csiph-web