On 18.07.07 14:58:11, Tom Brown wrote:
> Hi,
>
> I am using PyQt4 with Qt 4.2.3. I have subclassed QAbstractItemModel to
> create
> a custom model for a custom combobox. I have overridden the setData() method
> and keep getting this error:
>
> TypeError: invalid result type from ECBModel.setDa
Hi,
I am using PyQt4 with Qt 4.2.3. I have subclassed QAbstractItemModel to create
a custom model for a custom combobox. I have overridden the setData() method
and keep getting this error:
TypeError: invalid result type from ECBModel.setData()
When I remove the call to emit(), the error goes a
Hello,
Is there a recommended way of using super() on PyQt objects? Is that
considered in general a horrible idea? Here's the problem. We have a few mixin
classes we use in our code, and we multiply inherit them. Some of these mixins
change the event handling behavior. Here's a simple example:
cl
I just found it, very annoying :
it was the BOM inside my utf8 encoded files.
Sorry,
Kib²:
-
blog : http://kib2.webfactional.com/
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
On Wednesday 18 July 2007 6:28 pm, Giovanni Bajo wrote:
> On 7/18/2007 10:32 AM, Giovanni Bajo wrote:
> >>> I copied the list removal code back into the destructor (keeping a
> >>> duped copy in the disable() slot), and it seems to work.
> >>>
> >>> Do you agree on this fix? Testcases are really ha
Hi,
I have some problems with my app : when I load a file (utf8 encoded)
inside a QTextEdit, the first char is just unknown to it.
It's very problematic as the first char is used to render
reSTructuredText markup, so the titles won't appear correctly in my
(pseudo) browser/
Here's a little
On 7/18/2007 10:32 AM, Giovanni Bajo wrote:
I copied the list removal code back into the destructor (keeping a duped
copy in the disable() slot), and it seems to work.
Do you agree on this fix? Testcases are really hard and tiresome to
extract so I'd rather avoid it if it's not really really ne
On 7/17/2007 3:47 PM, Phil Thompson wrote:
I copied the list removal code back into the destructor (keeping a duped
copy in the disable() slot), and it seems to work.
Do you agree on this fix? Testcases are really hard and tiresome to
extract so I'd rather avoid it if it's not really really nec