Re: [PyQt] QWebkit / QWebFrame

2012-01-10 Thread Andreas Pakulat
On 09.01.12 16:30:43, James Polk wrote: Howdy, I believe Guru Hans-Peter ;-) posted a collection of PyQt examples that he converted into Python from the Qt C++ examples.. In one titled fancybrowser.py There's a few lines that read...         @QtCore.pyqtSlot()         def

Re: [PyQt] Override QStyledItemDelegate.initStyleOption not working?

2012-01-10 Thread Phil Thompson
On Tue, 10 Jan 2012 00:11:49 +0100, Andreas Pakulat ap...@gmx.de wrote: Hi, I'd like to customize the display of a model via a styleditemdelegate, in particular I want to add a decorating icon depending on some custom role from the model. As far as I can see the easiest way to do this

Re: [PyQt] Gesture programming in PyQt

2012-01-10 Thread Detlev Offenbach
Am Montag, 9. Januar 2012, 22:17:45 schrieb Phil Thompson: On Mon, 09 Jan 2012 19:11:18 +0100, Detlev Offenbach det...@die-offenbachs.de wrote: Am Montag, 9. Januar 2012, 09:58:39 schrieb Phil Thompson: On Sun, 08 Jan 2012 18:05:52 +0100, Detlev Offenbach det...@die-offenbachs.de

Re: [PyQt] Gesture programming in PyQt

2012-01-10 Thread Phil Thompson
On Tue, 10 Jan 2012 19:28:09 +0100, Detlev Offenbach det...@die-offenbachs.de wrote: Am Montag, 9. Januar 2012, 22:17:45 schrieb Phil Thompson: On Mon, 09 Jan 2012 19:11:18 +0100, Detlev Offenbach det...@die-offenbachs.de wrote: Am Montag, 9. Januar 2012, 09:58:39 schrieb Phil Thompson:

Re: [PyQt] Override QStyledItemDelegate.initStyleOption not working?

2012-01-10 Thread Andreas Pakulat
On 10.01.12 21:19:18, Andreas Pakulat wrote: On 10.01.12 10:19:13, Phil Thompson wrote: On Tue, 10 Jan 2012 00:11:49 +0100, Andreas Pakulat ap...@gmx.de wrote: Hi, I'd like to customize the display of a model via a styleditemdelegate, in particular I want to add a decorating icon

[PyQt] Odd sorting behaviour in QSortProxyModel

2012-01-10 Thread David Townshend
Hi I've found something rather odd that happens when sorting in a QSortFilterProxyModel with datetime.date datatypes.  If I call sort() on a column containing datetime.date values, it doesn't appear to do anything.  If I then call sort on another column, then on the first column again, it works.