[PyQt] sip-4.7.8-snapshot-20081007 breaks PyQt-x11-gpl-3.17.4

2008-10-08 Thread Gerard Vermeulen
Phil, I get the error below after plugging the upgrade from sip-4.7.8-snapshot-20080920 to sip-4.7.8-snapshot-20081007 in my build scripts: make[1]: Entering directory `/home/packer/CVS/PyQwt/BUILD/PyQt-x11-gpl-3.17.4/qt' g++ -c -pipe -fno-exceptions -fPIC -g -Wall -W -D_REENTRANT -DQT_THREAD_SUP

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

2008-10-08 Thread Erick Tryzelaar
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 Phil! Did you also add support to do: QMetaObject.invokeMethod(o.openUrl, ...) The commit me

Re: [PyQt] Extracting QSqlQuery results in PyQt4

2008-10-08 Thread mir amicitas
I took your suggestion and tried out sqlite3 and also apsw. Using either of these modules the unpacking time is reduced to 1-2 seconds. Furthermore just cycling through the results takes 1-1.5 seconds, meaning that adding the results to a list is much quicker than using QSqlQuery ( less than 1 se

Re: [PyQt] Waiting on non-QT events.

2008-10-08 Thread Matt Smith
Okay I looked at the example: > http://pastebin.com/f16019559 and it appears that Bridge is a little bit unnecessary when you could just emit the signal from your QThread as it is?. So I tried to make an example following what you did; http://pastebin.com/m192d4d3f That brings me to a ques

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

2008-10-08 Thread Filip GruszczyƄski
When I run following code (of course with some implementation of tree objects): class QCategorizedItemModel(QAbstractItemModel): def __init__(self, tree): QAbstractItemModel.__init__(self) self.__root = tree def root(self):

Re: [PyQt] Waiting on non-QT events.

2008-10-08 Thread Marcell Mars
On Wed, Oct 8, 2008 at 5:16 PM, Mistobaan <[EMAIL PROTECTED]> wrote: >> http://pastebin.com/f16019559 > > I am wrong or the line 21 never gets called, so everything still happens on > one single thread? it's started after Gamepad.start() which trigger Gamepad.run() then... i have it in commented c

Re: [PyQt] Extracting QSqlQuery results in PyQt4

2008-10-08 Thread Aaron Digulla
mir amicitas schrieb: > 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: > >

Re: [PyQt] QWebKit issue with certain URLs

2008-10-08 Thread Aaron Digulla
alan moore schrieb: > Hello. > I was trying to use QWebKit to create a basic browser to use with thin > clients at our public library. Everything was looking good, but I have > found a URL on our server that simply will not load in a QWebview. I > have tried this using PyQT4.4 on Ubuntu Hardy Her

Re: [PyQt] QSqlTableModel and complex queries

2008-10-08 Thread Aaron Digulla
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 ripped all the code out again and wrote my own impl

[PyQt] Extracting QSqlQuery results in PyQt4

2008-10-08 Thread mir amicitas
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: ##

[PyQt] UPCScan 0.6

2008-10-08 Thread Aaron Digulla
Hello, I've got hold of a barcode laser scanner and started to write a tool to scan my large DVD, book and comic collection. It's written in Python and PyQt4. The announcement can be found in my blog: http://darkviews.blogspot.com/2008/10/upcscan-06-its-qt-man.html If you're looking for an examp

Re: [PyQt] Waiting on non-QT events.

2008-10-08 Thread Mistobaan
http://pastebin.com/f16019559 I am wrong or the line 21 never gets called, so everything still happens on one single thread? Fabrizio ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Waiting on non-QT events.

2008-10-08 Thread Marcell Mars
this is how i solved my problem... i run the non-qt process as thread and inherit class Bridge which emits the Qt signals for me... hope it will help you: http://pastebin.com/f16019559 i'm sure there are more elegant solutions and i would like to learn about them... __

Re: [PyQt] QtUiTools, QUiLoader and uic module

2008-10-08 Thread Phil Thompson
On Wed, 08 Oct 2008 17:29:27 +0400, Vsevolod Novikov <[EMAIL PROTECTED]> wrote: > Hi All, > > Does anybody know, is it planning to implement QtUiTools module and > QUiLoader class in the PyQt, instead of the uic module? It looks > preferable to use Qt native classes to load .ui files dynamically

[PyQt] QtUiTools, QUiLoader and uic module

2008-10-08 Thread Vsevolod Novikov
Hi All, Does anybody know, is it planning to implement QtUiTools module and QUiLoader class in the PyQt, instead of the uic module? It looks preferable to use Qt native classes to load .ui files dynamically. Regards, Vsevolod Novikov ___ PyQt mailin