Re: [PyQt] saving/restoring geometry

2008-03-11 Thread Giovanni Bajo
On Mon, 2008-03-10 at 16:03 -0500, Darren Dale wrote: Could anyone suggest how to save and restore the size and position of a dock widget and an mdi subwindow? There's QMainWindow.saveState() / restoreState(), if it's not too much. -- Giovanni Bajo

[PyQt] QSqlTableModel: how to check the UPDATE statement inside the model?

2008-03-11 Thread Sibylle Koczian
Hello, somewhere in the QSqlTableModel code there must be SQL statements for UPDATE, INSERT and DELETE, to make the model editable. Right? I can't find methods to view these statements - is it necessary to dig into the C++ code to find them? Background: I'm still trying to edit data in a

[PyQt] The pyQT book

2008-03-11 Thread Alexandre Radicchi
Hi all, sorry for posting an off-topic message, but since I accidentally bought two copies of Rapid GUI Programming with Python and Qt I would be happy if I could sell one of them. Is anyone interested in the deal? thanks guys, Alex. - Inviato da

[PyQt] QMutex::lock: Deadlock detected in thread -1210615616

2008-03-11 Thread Sergio Campos
Hi everyone, I'm new to pyqt, and i'm developing a small application. when i run it using root (i need to do it) it delivers this error message: QMutex::lock: Deadlock detected in thread -1210615616 and the program hangs. Any thoughts on what can be causing this? thank you! PS: using ubuntu

Re: [PyQt] saving/restoring geometry

2008-03-11 Thread Darren Dale
On Monday 10 March 2008 05:03:59 pm Darren Dale wrote: Could anyone suggest how to save and restore the size and position of a dock widget and an mdi subwindow? I found the answer to my dock question by looking through the eric4 source code: use QSettings and QMainWindow.saveState().

[PyQt] PyKDE4-4.0.2 release

2008-03-11 Thread Jim Bublitz
PyKDE4-4.0.2 is now available at riverbankcomputing.com. It includes some minor fixes to problems that were preventing PyKDE4 from building against KDE 4.0.2, the addition to kdecore of some global functions for retrieving version info about KDE and PyKDE4 (see Using PyKDE4 in the

[PyQt] QPainter with with statement

2008-03-11 Thread Martin Teichmann
Hi list, I was just wondering if it wasn't a good idea to add the with-statement functionality to the QPainter class. If your program happens to raise an exception while QPainter is active, QPainter.end() might never be called and that leads to a lot of annoying error messages. I just propose

Re: [PyQt] PyKDE4-4.0.2 release

2008-03-11 Thread Detlev Offenbach
On Dienstag, 11. März 2008, Jim Bublitz wrote: PyKDE4-4.0.2 is now available at riverbankcomputing.com. It includes some minor fixes to problems that were preventing PyKDE4 from building against KDE 4.0.2, the addition to kdecore of some global functions for retrieving version info about KDE

Re: [PyQt] PyKDE4-4.0.2 release

2008-03-11 Thread Detlev Offenbach
On Dienstag, 11. März 2008, Jim Bublitz wrote: PyKDE4-4.0.2 is now available at riverbankcomputing.com. It includes some minor fixes to problems that were preventing PyKDE4 from building against KDE 4.0.2, the addition to kdecore of some global functions for retrieving version info about KDE

Re: [PyQt] Qt 4.4

2008-03-11 Thread Phil Thompson
On Tuesday 11 March 2008, Giovanni Bajo wrote: On 10/18/2007 10:45 AM, Phil Thompson wrote: What I actually do is to start with the first release candidate. I just realised I missed a word out here - What I *might* actually do. If I might, I'd rather have an intermediate release (or even

Re: [PyQt] QMutex::lock: Deadlock detected in thread -1210615616

2008-03-11 Thread Phil Thompson
On Tuesday 11 March 2008, Sergio Campos wrote: Hi everyone, I'm new to pyqt, and i'm developing a small application. when i run it using root (i need to do it) it delivers this error message: QMutex::lock: Deadlock detected in thread -1210615616 and the program hangs. Any thoughts on what

Re: [PyQt] PyKDE4-4.0.2 release

2008-03-11 Thread Jim Bublitz
On Tuesday 11 March 2008 10:48, Detlev Offenbach wrote: I have a dual installation of KDE. KDE4 is installed alongside KDE3, which is my main desktop. The environment variable KDEDIR is set to /opt/kde3 (openSUSE 10.3). This makes configure.py to pick up KDE3 instead of KDE4. Here is an

Re: [PyQt] PyKDE4-4.0.2 release

2008-03-11 Thread Detlev Offenbach
On Dienstag, 11. März 2008, Detlev Offenbach wrote: On Dienstag, 11. März 2008, Jim Bublitz wrote: PyKDE4-4.0.2 is now available at riverbankcomputing.com. It includes some minor fixes to problems that were preventing PyKDE4 from building against KDE 4.0.2, the addition to kdecore of some

Re: [PyQt] PyKDE4-4.0.2 release

2008-03-11 Thread Detlev Offenbach
On Dienstag, 11. März 2008, Jim Bublitz wrote: PyKDE4-4.0.2 is now available at riverbankcomputing.com. It includes some minor fixes to problems that were preventing PyKDE4 from building against KDE 4.0.2, the addition to kdecore of some global functions for retrieving version info about KDE

Re: [PyQt] PyKDE4-4.0.2 release

2008-03-11 Thread Detlev Offenbach
On Dienstag, 11. März 2008, Jim Bublitz wrote: PyKDE4-4.0.2 is now available at riverbankcomputing.com. It includes some minor fixes to problems that were preventing PyKDE4 from building against KDE 4.0.2, the addition to kdecore of some global functions for retrieving version info about KDE

Re: [PyQt] PyKDE4-4.0.2 release

2008-03-11 Thread Andreas Pakulat
On 11.03.08 18:48:21, Detlev Offenbach wrote: On Dienstag, 11. März 2008, Jim Bublitz wrote: PyKDE4-4.0.2 is now available at riverbankcomputing.com. It includes some minor fixes to problems that were preventing PyKDE4 from building against KDE 4.0.2, the addition to kdecore of some

[PyQt] PyKDE4 -4.0.2-1 release coming

2008-03-11 Thread Jim Bublitz
The release today has a few bugs which need fixing. The fixes are already done, but I need to test compile before uploading a new release, and that takes awhile - I have PyKDE4 on a slow machine. I also have a couple more potential bugs to check out. Although compiling on that machine doesn't

Re: [PyQt] PyKDE4-4.0.2 release

2008-03-11 Thread Jim Bublitz
On Tuesday 11 March 2008 11:39, Detlev Offenbach wrote: On Dienstag, 11. März 2008, Detlev Offenbach wrote: On Dienstag, 11. März 2008, Jim Bublitz wrote: PyKDE4-4.0.2 is now available at riverbankcomputing.com. It includes some minor fixes to problems that were preventing PyKDE4

Re: [PyQt] PyKDE4-4.0.2 release

2008-03-11 Thread Jim Bublitz
On Tuesday 11 March 2008 11:16, Detlev Offenbach wrote: On Dienstag, 11. März 2008, Jim Bublitz wrote: PyKDE4-4.0.2 is now available at riverbankcomputing.com. It includes some minor fixes to problems that were preventing PyKDE4 from building against KDE 4.0.2, the addition to kdecore of

Re: [PyQt] The pyQT book

2008-03-11 Thread Algis Kabaila
Date: Tue, 11 Mar 2008 14:01:36 +0100 (CET) From: Alexandre Radicchi [EMAIL PROTECTED] Subject: [PyQt] The pyQT book To: pyqt@riverbankcomputing.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 Hi all, sorry for posting an off-topic message, but since I accidentally

Re: [PyQt] QSqlTableModel: how to check the UPDATE statement inside the model?

2008-03-11 Thread Hans-Peter Jansen
Am Dienstag, 11. März 2008 schrieb Sibylle Koczian: Hello, somewhere in the QSqlTableModel code there must be SQL statements for UPDATE, INSERT and DELETE, to make the model editable. Right? I can't find methods to view these statements - is it necessary to dig into the C++ code to find

[PyQt] PyQt4 'apparently' interfering with ctypes.cdll.LoadLibrary()

2008-03-11 Thread Peter Howard
Context: Windows XP PyQt version from: PyQt-Py2.5-gpl-4.3.3-2.exe Python from: python-2.5.1.msi Fluid Synthesisor dll from: http://download.savannah.gnu.org/releases/fluid/fluidsynth-1.0.3-win32.zip I seem to be getting an interaction / coexistence problem with