RE: [PyQt] QSqlQueryModel works but QSqlTableModel doesn't work

2008-03-05 Thread Ivan Coronado
I don't think that are the permissions, anyway I tried to log in as root and I still have the same problem. I'm using mysql and connecting to it trought QODBC. All the other tables works well! I'm desperate! Thanks again for the help -Mensaje original- De: [EMAIL PROTECTED]

Re: [PyQt] Qt 3: wrapping QSettings subclass fails

2008-03-05 Thread Phil Thompson
On Tuesday 04 March 2008, Arve Knudsen wrote: On Mon, Mar 3, 2008 at 5:39 PM, Phil Thompson [EMAIL PROTECTED] wrote: On Monday 03 March 2008, Arve Knudsen wrote: Hello all I've run into a problem wrapping a subclass of Qt 3's QSettings. The problem is that QSettings' copy

[PyQt] mysql in pyqt4 for windows

2008-03-05 Thread Mario Daniel Carugno
I've downloaded the pyqt4 binary package for windows, and comes with sql drivers for odbc and sqlite3. I need the mysql driver. Can it be installed easy or do i have to compile qt libs ? How can i get it ? Thank you ___ PyQt mailing list

Re: [PyQt] mysql in pyqt4 for windows

2008-03-05 Thread Phil Thompson
On Wednesday 05 March 2008, Mario Daniel Carugno wrote: I've downloaded the pyqt4 binary package for windows, and comes with sql drivers for odbc and sqlite3. I need the mysql driver. Can it be installed easy or do i have to compile qt libs ? How can i get it ? You have to compile everything

Re: [PyQt] Wrapping style classes with SIP for styling pythonapplication.

2008-03-05 Thread Phil Thompson
On Wednesday 05 March 2008, Igor Prischepoff wrote: Hello,Phil. Attached is my test case with crashing styles qtguimod.sip - added 2 lines which include qcommonstyle.sip,qmotifstyle.sip qcommonstyle.sip - hand-made wrapper qmotifstyle.sip - hand-made wrapper test_norwegian.py - testing

[PyQt] PyKDE-3.16.1 release

2008-03-05 Thread Jim Bublitz
A new PyKDE3 release is up at Riverbank Computing: http://www.riverbankcomputing.co.uk/pykde/index.php This release removes the need to patch the PyKDE3 source code, and should also remove any of the konsole_part issues some people were having (konsole_part is no longer supported). The

[PyQt] PyKDE4-4.0.0 release available

2008-03-05 Thread Jim Bublitz
The first PyKDE4 tarball release is available at Riverbank Computing http://www.riverbankcomputing.co.uk/pykde/index.php This release will build against KDE 4.0.0 or 4.0.1 (the difference between the two is a total of 3 new methods). With the exception of a couple of small bug fixes, this

[PyQt] PyQt

2008-03-05 Thread Jon Chambers
Hi, I'm trying to write a program that creates an onscreen keyboard that uses an 2-analogue stick joypad for input. I'm having issues becuase the joystick needs to be polled regularly. I'm using a QTimer to call a paintEvent update() that polls the joystick in the main class (Keyboard). However

Re: [PyQt] PyQt

2008-03-05 Thread Matt Newell
On Wednesday 05 March 2008 15:58:26 Jon Chambers wrote: Hi, I'm trying to write a program that creates an onscreen keyboard that uses an 2-analogue stick joypad for input. I'm having issues becuase the joystick needs to be polled regularly. I'm using a QTimer to call a paintEvent update()

RE: [PyQt] PyQt

2008-03-05 Thread Peter Shinners
I'm using a QTimer  to call a paintEvent update()  that polls the joystick in the main class (Keyboard). However there's some other drawing i want to do when the joystick is polled. However the drawing is supposed to be done by a different class with its own graphics etc (called Ring) I

[PyQt] Re: PyQt

2008-03-05 Thread Jon Chambers
Thanks for the speedy responses! I'm now trying to create a non-paintEvent function that calls an update if necessary. But now when i do self.connect(self.timer, QtCore.SIGNAL('timeout()'), self.pollJoysticks()) i get an error: Argument 3 (i.e. the pyFunction call) is of invalid type. but here (

Re: [PyQt] Re: PyQt

2008-03-05 Thread Jim Bublitz
On Wednesday 05 March 2008 16:29, Jon Chambers wrote: Thanks for the speedy responses! I'm now trying to create a non-paintEvent function that calls an update if necessary. But now when i do self.connect(self.timer, QtCore.SIGNAL('timeout()'), self.pollJoysticks()) Remove the parens from

[PyQt] pyqt + opencv

2008-03-05 Thread tony dennis
Hi everyone. is there some know how to integrate pyqt and opencv. Now I am working an image processing project. i want to use pyqt to provide GUI and opencv to process image. But opencv returns the image object as cvMat, anybody know how to display the cvMat image on a QLabel?