I think I solved the problem.

The Python GC erases the window, unless you store it somewhere. I started over, 
and the problem started to occur after a seemingly innocent refactoring. After 
I returned the window and stored in a var, it worked.

Pepijn

On Nov 4, 2011, at 10:09 PM, Pepijn de Vos wrote:

> oops, posted below to the google group. That doesn't work, right? Or is it a 
> two-way-mirror?
> 
> Pepijn
> 
> Begin forwarded message:
> 
>> From: Pepijn de Vos <[email protected]>
>> Subject: Re: [PySide] interactive development
>> Date: November 4, 2011 3:48:47 PM GMT+01:00
>> To: [email protected]
>> 
>> Ok, I'm making some progress. Only, this is just not working, but it does 
>> not throw any exceptions either.
>> 
>> http://pastebin.com/XCeJtPdK
>> 
>> The model is not included, but it's a simple subclass of QStringListModel. 
>> When I run it, nothing happens, and even my beautiful SIGINT is ignored.
>> 
>> By the way, calling QStringListModel.stringList returns a copy, this makes 
>> it tricky to append to the model. i.e.
>> 
>> >>> myModel.stringList.append("foo")
>> 
>> Pepijn
>> 
>> On Oct 28, 2011, at 9:34 AM, anatoly techtonik wrote:
>> 
>>> On Friday, October 28, 2011 10:08:34 AM UTC+3, Pepijn de Vos wrote:
>>> Thanks.
>>> Using that as my search term, I found this thread: 
>>> http://groups.google.com/group/pyside/browse_thread/thread/119c67971132f78a
>>> 
>>> What confuses me now is that there is both a google group and a python 
>>> mailing list.
>>> 
>>> They are the same. But Groups are better searched and more convenient to 
>>> read from web. 
>> 
> 
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.pyside.org/listinfo/pyside

_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to