[PyQt] New-style signal bug with QGraphicsItem

2009-06-06 Thread Alexey Nikitenko
Hi!I found this:class GItem(QtGui.QGraphicsRectItem):    event = QtCore.pyqtSignal()gitem = GItem()gitem.event.emit()throws TypeError: pyqtSignal must be bound to a QObject, not 'GItem'.Fresh PyQt 4.5 SIP 4.8, Python 2.5, mingw.Thanks. ___ PyQt mailing li

[PyQt] keyPressEvent

2009-06-06 Thread \Q\
hello, i'm a pyqt noob... I have 2 QTableView (tView1 an tView2) on a QMainWindow ,What i need is to know how to find the 'sender' of a keyPressEvent that i have received on a QMainWindow , in my specific situation, if the event is by tView1 or tView2: [...] class MainWindow(QMainWindow, ui_c

Re: [PyQt] QSettings.registerFormat unavailable in PyQt4?

2009-06-06 Thread Phil Thompson
On Sat, 06 Jun 2009 12:17:21 +0200, Giovanni Bajo wrote: > On Sat, 06 Jun 2009 11:02:18 +0100, Phil Thompson > wrote: >> On Sat, 06 Jun 2009 02:56:55 +0200, Giovanni Bajo >> wrote: >>> On Sat, 6 Jun 2009 01:19:39 +0200, David Boddie >>> wrote: On Fri Jun 5 19:25:01 BST 2009, Giovanni Bajo

[PyQt] ANN hgview 1.0.0 released

2009-06-06 Thread David Douard
Let me introduce you the latest kid of the Logilab team: `hgview 1.0.0`_. hgview is a very helpful tool for daily work using the excellent DVCS Mercurial (which we heavily use at Logilab). It allows to easily and visually navigate in your hg repository revision graphlog. It is written in Pytho

Re: [PyQt] QSettings.registerFormat unavailable in PyQt4?

2009-06-06 Thread Giovanni Bajo
On Sat, 06 Jun 2009 11:02:18 +0100, Phil Thompson wrote: > On Sat, 06 Jun 2009 02:56:55 +0200, Giovanni Bajo > wrote: >> On Sat, 6 Jun 2009 01:19:39 +0200, David Boddie >> wrote: >>> On Fri Jun 5 19:25:01 BST 2009, Giovanni Bajo wrote: >>> On 6/4/2009 10:18 PM, Phil Thompson wrote: >>> >>

Re: [PyQt] ANN PyQt v4.5, SIP v4.8 Released

2009-06-06 Thread Phil Thompson
On Sat, 6 Jun 2009 06:45:56 +0200, Gerard Vermeulen wrote: > On Fri, 05 Jun 2009 13:45:42 +0100 > Phil Thompson wrote: > >> PyQt v4.5 and SIP v4.8 have been released and are available from the >> usual download pages. >> >> Highlights of the new PyQt release include support for Python v3 and >>

Re: [PyQt] QSettings.registerFormat unavailable in PyQt4?

2009-06-06 Thread Phil Thompson
On Sat, 06 Jun 2009 02:56:55 +0200, Giovanni Bajo wrote: > On Sat, 6 Jun 2009 01:19:39 +0200, David Boddie > wrote: >> On Fri Jun 5 19:25:01 BST 2009, Giovanni Bajo wrote: >> >>> On 6/4/2009 10:18 PM, Phil Thompson wrote: >> >>> > It can't be wrapped because of the nature of the function pointe

[PyQt] PyQt4 for Python 3

2009-06-06 Thread Mark Summerfield
Hi, I've started converting the examples for "Rapid GUI Programming with Python and Qt" to Python 3. I've only hit two problems, one of which I think is a PyQt bug. (1) Bug? Every .ui file converted by pyuic4 gives me an error message like this: $ ./imagechanger.pyw Traceback (most r