Re: [PyQt] QSqlTableModel and complex queries

2008-10-09 Thread Aaron Digulla
Quoting Mark Summerfield <[EMAIL PROTECTED]>: On 2008-10-08, Aaron Digulla wrote: Scott Frankel schrieb: > This seems beyond the scope of > QSqlRelationalTableModel. During my work on UPCScan, I've found that the QSqlRelationalTableModel and the related table view are too buggy and too limited

Re: [PyQt] QDesktopServices::setUrlHandler does not have the right types

2008-10-09 Thread Phil Thompson
On Wed, 8 Oct 2008 19:41:51 -0700, "Erick Tryzelaar" <[EMAIL PROTECTED]> wrote: > On Sun, Oct 5, 2008 at 6:57 AM, Phil Thompson > <[EMAIL PROTECTED]> wrote: >> This will be fixed in tonight's snapshot. You should be able to use >> either >> ("foo", o, "openUrl") or ("foo", o.openUrl). > > Thanks P

Re: [PyQt] QAbstractItemModel doesn't require to subclass data method

2008-10-09 Thread Phil Thompson
On Wed, 8 Oct 2008 22:58:05 +0200, "Filip GruszczyƄski" <[EMAIL PROTECTED]> wrote: > When I run following code (of course with some implementation of tree > objects): > > class QCategorizedItemModel(QAbstractItemModel): > > def __init__(self, tree): > QAbstractItemModel.__init

Re: [PyQt] QSqlTableModel and complex queries

2008-10-09 Thread Mark Summerfield
On 2008-10-08, Aaron Digulla wrote: > Scott Frankel schrieb: > > This seems beyond the scope of > > QSqlRelationalTableModel. > > During my work on UPCScan, I've found that the QSqlRelationalTableModel > and the related table view are too buggy and too limited to be useful. > In the end, I've rippe

Re: [PyQt] Extracting QSqlQuery results in PyQt4

2008-10-09 Thread Mark Summerfield
On 2008-10-08, mir amicitas wrote: > I am trying to use SQLite in a PyQt4 application. I am running into a > problem where it is taking a really long time to get the data out of > the QSqlQuery object after a query is completed. Here is a code > snippet with the relevant parts: > >