[PyQt] Fix for /HoldGIL/ functions with exceptions enabled.

2012-11-06 Thread Matt Newell
The generateCatch/generateCatchBlock functions weren't taking into account the function specific HoldGIL setting, resulting in a compile error: error: ‘_save’ was not declared in this scope This simple patch fixes the problem. Matt diff -r 76a18a32f759 sipgen/gencode.c --- a/sipgen/gencode.c

Re: [PyQt] button delegate in a tableview

2012-11-06 Thread Erik . Janssens
The delegate itself can only paint, it cannot react to clicks, you should implement the createEditor method, the editor then reacts to clicks On Tuesday, November 06, 2012 09:59:03 PM Cristobal Infante wrote: Hi, I am trying to embed a button per row inside a tableview. My botton are drawing

[PyQt] button delegate in a tableview

2012-11-06 Thread Cristobal Infante
Hi, I am trying to embed a button per row inside a tableview. My botton are drawing correctly as delegates but are not reacting to any clicks. Should I be setting flags for this column? so far I have something like: if index.column() == 14: flags |= QtCore.Qt.ItemIsSelectable | QtCore

Re: [PyQt] Build fail pyqt 4.9.5 or snapshot with qtwebkit 2.3

2012-11-06 Thread Phil Thompson
On Mon, 5 Nov 2012 16:40:59 -0500, Anke Boersma wrote: > Error messages: > http://paste.chakra-project.org/3165/ > Qt 4.8.3, KDE 4.9.3 > No issues building pyqt on qtwebkit 2.2, so wondering if there is any > workaround to make pyqt build on 2.3 version, since adding spell check to > qt browsers