Re: [PyQt] Validation in Qtablewidget

2009-10-13 Thread Giorgio Luciano
found this in the archive.. I guess it can help http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20050202/45051583/validating_tableitems.py -- View this message in context: http://www.nabble.com/Validation-in-Qtablewidget-tp25856188p25868699.html Sent from the PyQt mailing list

Re: [PyQt] QTable,QTableView bug

2009-10-13 Thread Phil Thompson
On Tue, 13 Oct 2009 09:37:23 +0600, Igor Prischepoff i...@tyumbit.ru wrote: Traceback (most recent call last): File main.py, line 17, in module form = MyWidget(None) File main.py, line 13, in __init__ self.setupUi(self) File string, line 14, in setupUi AttributeError:

Re: [PyQt] Freezes and crashes with signal autoconnection

2009-10-13 Thread Phil Thompson
On Sun, 11 Oct 2009 14:36:37 -0700 (PDT), Christian Roche christian.roche...@gmail.com wrote: Phil Thompson-5 wrote: Can you try with the latest installer (though it does contain a nasty thread-related regression). Do you have a test case? Phil Hi Phil, I'm currently using PyQt

Re: [PyQt] QLibraryInfo and images

2009-10-13 Thread Scott Frankel
Hi David, Thanks for considering my question. On Oct 5, 2009, at 5:58 PM, David Boddie wrote: On Thu, 1 Oct 2009 23:04:49 -0700, Scott Frankel wrote: Can a qt.conf file be used to specify an images directory using the QLibraryInfo.LibraryLocation enum? Maybe you could use the Data entry

Re: [PyQt] Dialog Window's Position Offset

2009-10-13 Thread Brent Villalobos
Thanks. I recall reading that document a long time ago and it didn't click until now. Unfortunately, it looks like I fall into that category of window managers where QWidget.pos() will just return the wrong value at times for certain windows. Hans-Peter Jansen wrote: Am Dienstag 13 Oktober

[PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-13 Thread Victor Stinner
Hi, I'm using Debian Sid, and my program crash since the last upgrade. The last upgrade installed PyQt 4.6 with SIP 4.9. The crash is in sip_api_is_py_method(): if cls is not a PyTypeObject*, the dict value is a pointer to something is the memory, but not to a PyDictObject*. Attached patch

Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-13 Thread Phil Thompson
On Tue, 13 Oct 2009 21:25:34 +0200, Victor Stinner victor.stin...@haypocalc.com wrote: Hi, I'm using Debian Sid, and my program crash since the last upgrade. The last upgrade installed PyQt 4.6 with SIP 4.9. The crash is in sip_api_is_py_method(): if cls is not a PyTypeObject*, the

Re: [PyQt] Dialog Window's Position Offset

2009-10-13 Thread Brent Villalobos
FYI, there was a ticket to Nokia about this issue and it was closed citing that it is a bug in GNOME's window manager. http://qt.nokia.com/developer/task-tracker/index_html?method=entryid=107952 Brent Villalobos wrote: Thanks. I recall reading that document a long time ago and it didn't click

Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-13 Thread Victor Stinner
Hi, A friend told me that there are snapshots. So I tested the last snapshot and the sip_api_is_py_method()'s crash is still present. But the other bug (methods redefined in Python) is different: I get an error on the number of arguments. So here is a second patch against the snapshot. It

Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-13 Thread Phil Thompson
On Tue, 13 Oct 2009 23:10:32 +0200, Victor Stinner victor.stin...@haypocalc.com wrote: Hi, A friend told me that there are snapshots. So I tested the last snapshot and the sip_api_is_py_method()'s crash is still present. But the other bug (methods redefined in Python) is different: I get

Re: [PyQt] QLibraryInfo and images

2009-10-13 Thread Scott Frankel
On Oct 13, 2009, at 1:35 PM, Hans-Peter Jansen wrote: Am Dienstag 13 Oktober 2009 schrieb Scott Frankel: Hi Scott, you might try the pyinstaller svn version. It did quite some progress lately. There might still some issues left with plugins, but they can be resolved easily. My mac

Re: [PyQt] Crash in sip_api_is_py_method() with PyQt 4.6

2009-10-13 Thread Christian Caron
I get these errors as well, when patching a bound customEvent. On Oct 13, 2009, at 2:35 PM, Phil Thompson wrote: On Tue, 13 Oct 2009 23:10:32 +0200, Victor Stinner victor.stin...@haypocalc.com wrote: Hi, A friend told me that there are snapshots. So I tested the last snapshot and the

Re: [PyQt] Freezes and crashes with signal autoconnection

2009-10-13 Thread Christian Roche
Phil Thompson-5 wrote: I think this is all one problem and is nothing to do with threads. There is a (necessary) change of behaviour (documented in the current snapshot) when wrapping a Python sub-class of a QObject in a QVariant. Previously this was first wrapped in a PyQt_PyObject