[PySide] Question about QThred and QObject (Signal/Slot)

Juan Christian juan0christian at gmail.com
Wed Nov 26 02:21:10 CET 2014


Python 3.4.2
PySide 1.2.2

The code: http://pastebin.com/piR42XzQ
Main module: http://pastebin.com/CE2GN3nM

The 'main.ui' only have a QVBoxLayout and it's OK.

Traceback (most recent call last):
  File "D:/.../main.py", line 44, in output_slot
    outpost = Outpost('76561198077080978')
  File "D:\...\outpost.py", line 29, in __init__
    self.finished.emit()
TypeError: finished(QThread*) only accepts 1 arguments, 1 given!

Didn't understood the error...

Anyway, is this a good approach regarding threads and signal/slot?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20141126/61b23443/attachment.html>


More information about the PySide mailing list