[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Strange observation with latest stable releases
From: detlev <detlev () die-offenbachs ! de>
Date: 2010-07-26 17:19:31
Message-ID: 201007261919.31456.detlev () die-offenbachs ! de
[Download RAW message or body]
On Sonntag, 25. Juli 2010, Phil Thompson wrote:
> On Sun, 25 Jul 2010 19:11:00 +0200, Antonio Valentino
>
> <antonio.valentino@tiscali.it> wrote:
> > Hi,
> >
> > Il giorno Sun, 25 Jul 2010 18:26:15 +0200
> >
> > detlev <detlev@die-offenbachs.de> ha scritto:
> >> Hi,
> >>
> >> in the past code like
> >>
> >> @pyqtSlot(QTreeWidgetItem, QTreeWidgetItem)
> >>
> >> def on_logTree_currentItemChanged(self, current, previous):
> >> used to work. Such a method got called, whenever the current item of
> >> the tree changed. However, with latest stable releases this is not
> >> the case anymore. If I remove the decorator line, everything is back
> >> at normal. What is going on here?
> >>
> >> Regards,
> >> Detlev
>
> Should be fixed in tonight's PyQt snapshot.
>
> > I'm experimenting similar effects with
> >
> > @QtCore.pyqtSlot(QtCore.QModelIndex)
> > @QtCore.pyqtSlot(QtCore.QModelIndex, int, int)
> > @QtCore.pyqtSlot(QtGui.QListWidgetItem, QtGui.QListWidgetItem)
> > @QtCore.pyqtSlot(QtGui.QGraphicsScene, QtCore.QPointF,
> >
> > QtCore.Qt.MouseButtons)
> >
> > I've still not investigated but by sure by sure after upgrading
> >
> > sip 4.10 --> 4.10.5
> > PyQt4 4.7 --> 4.7.4
> >
> > the behavior is changed.
>
> The fix is for QListWidgetItem, QTableWidgetItem and QTreeWidgetItem. If
> there are still issues with other classes (eg. QModelIndex) then it's a
> different problem.
>
> Phil
> _______________________________________________
> PyQt mailing list PyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
The fix seems to work. Thanks Phil.
Detlev
--
Detlev Offenbach
detlev@die-offenbachs.de
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic