Re: [PyQt] Reporting Bugs in PyQt/Qt

2010-11-30 Thread Ian
On 29/11/2010 22:44, Andreas Pakulat wrote: There are many references to an example which might have helped. This is at http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/itemviews-simpletreemodel.html This gives a 404. Double H. I'd expect the sample to be part of the

Re: [PyQt] Reporting Bugs in PyQt/Qt

2010-11-30 Thread Phil Thompson
On Tue, 30 Nov 2010 10:35:03 +, Ian hobso...@gmail.com wrote: On 29/11/2010 22:44, Andreas Pakulat wrote: There are many references to an example which might have helped. This is at http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/itemviews-simpletreemodel.html This

[PyQt] Reporting Bugs in PyQt/Qt

2010-11-29 Thread Ian
Hi Everyone I have four bugs to report. Where should they be reported? 1) The PyQt documentation contains a lot of things like this: at http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qabstractitemview.html#selectionChanged quote QAbstractItemView.selectionChanged (self,

Re: [PyQt] Reporting Bugs in PyQt/Qt

2010-11-29 Thread Phil Thompson
On Mon, 29 Nov 2010 12:42:53 +, Ian hobso...@gmail.com wrote: Hi Everyone I have four bugs to report. Where should they be reported? PyQt bugs should be reported on this mailing list. Qt bugs should be reported to Nokia. 1) The PyQt documentation contains a lot of things like this: at

Re: [PyQt] Reporting Bugs in PyQt/Qt

2010-11-29 Thread Andreas Pakulat
On 29.11.10 12:42:53, Ian wrote: 2) When you call setSortingEnabled(True) on a QTreeView the model's sort routine is called twice. No sort is necessary in my use case, because the data is already sorted correctly. However I would accept a single sort column 0, ascending. Besides,

Re: [PyQt] Reporting Bugs in PyQt/Qt

2010-11-29 Thread Andreas Pakulat
On 29.11.10 18:44:58, Ian wrote: On 29/11/2010 13:09, Andreas Pakulat wrote: 4) My table has exactly 5 columns of data - ['Name','Ref','Street','Town','Contacts']. If I return 5 from columnCount() then I don't get any headers! If I return 6 then the headers appear - and include an empty

Re: [PyQt] Reporting Bugs in PyQt/Qt

2010-11-29 Thread Ian
On 29/11/2010 19:21, Andreas Pakulat wrote: On 29.11.10 18:44:58, Ian wrote: On 29/11/2010 13:09, Andreas Pakulat wrote: 4) My table has exactly 5 columns of data - ['Name','Ref','Street','Town','Contacts']. If I return 5 from columnCount() then I don't get any headers! If I return 6 then the

Re: [PyQt] Reporting Bugs in PyQt/Qt

2010-11-29 Thread Wolfgang Rohdewald
On Montag 29 November 2010, Ian wrote: Having chased down the definition of the role - not in the class or method, and not linked from either location http://doc.qt.nokia.com/4.7/qabstractitemmodel.html#data with a note: See also http://doc.qt.nokia.com/4.7/qt.html#ItemDataRole-enum there you

Re: [PyQt] Reporting Bugs in PyQt/Qt

2010-11-29 Thread Andreas Pakulat
On 29.11.10 21:05:43, Ian wrote: Hi Andreas, Thank you for the pointer. I have just googled and found the documentation that mentions this. It is not in the class I am using, nor in the method I am using, nor is it very clear when I find it. Hmmm. Having chased down the definition of