[PyQt] Issue with QFtp

2012-02-17 Thread Detlev Offenbach
Hi, there is an issue with QFtp. This module includes an enum QFtp.Command, that has a member called QFtp.None. However, if that is used it causes a syntax error (None is a keyword). Therefore it should be changed to QFtp.None_. Regards, Detlev -- Detlev Offenbach det...@die-offenbachs.de

[PyQt] activated signal

2012-02-17 Thread Mads Ipsen
Hi, I have a QTableView. If I connect with self.connect(self.table, QtCore.SIGNAL('activated(const QModelIndex &)'), self.tableActivated) the method tableActivated() is *not* called when I double-click a cell or enter via space press etc. However, if I do self.connect(self.table, QtCo

Re: [PyQt] how to get all the signal from a QObject/QWidget ? and other Q about signals

2012-02-17 Thread Phil Thompson
On Thu, 16 Feb 2012 15:19:18 -0800, Emmanuel Mayssat wrote: > I have a widget inside another widget. > > 1/ > I would like to have a ~for loop that propagate all the signals of the > inner widget as if they were emitted by the container widget. > That is for each signals > self.connect(myChild, S

Re: [PyQt] dynamic signal creation

2012-02-17 Thread Phil Thompson
On Thu, 16 Feb 2012 18:54:20 -0800, Emmanuel Mayssat wrote: > Is it possible to create signals dynamically? > That is > > class LObject(QObject): > def __init__(self, parent): > self.dataChanged = pyqtSignal() > self.dataChanged.emit() No - it's a Qt limitation. Phil ___