Re: [PyKDE] Problem with setModel on QTreeView

2006-01-22 Thread Phil Thompson
On Sunday 22 January 2006 12:53 am, Andreas Pakulat wrote: Hi, using setModel() on a QTreeView results in the TreeView loosing it's model, if I don't save a separate reference to it. Following code doesn't work: tree = QtGui.QTreeView() tree.setModel(SomeTreeModel(tree)) tree.show() The

Re: [PyKDE] Problem with setModel on QTreeView

2006-01-22 Thread Andreas Pakulat
On 22.01.06 11:34:34, Phil Thompson wrote: On Sunday 22 January 2006 12:53 am, Andreas Pakulat wrote: Hi, using setModel() on a QTreeView results in the TreeView loosing it's model, if I don't save a separate reference to it. Following code doesn't work: tree = QtGui.QTreeView()

Re: [PyKDE] New PyKDE snapshot - help needed

2006-01-22 Thread David Boddie
On Sat, 21 Jan 2006 16:49:20, Jim Bublitz wrote: On Saturday 21 January 2006 14:11, Baz Walter wrote: On Saturday 21 Jan 2006 16:45, you wrote: No - I've never seen that happen. I'll have to take a look at configure.py and see what might cause that, but I can't imagine what I just

[PyKDE] Using UI files in your app with PyQt4

2006-01-22 Thread Torsten Marek
Hello all, with the latest pyuic snapshot (should appear somewhere next week) and latest PyQt4/sip snapshot, signal autoconnect now works, which was the last big point for pyuic. If you want to use pyuic code in your own application rather than generating the code statically, there are several

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-22 Thread Andreas Pakulat
On 22.01.06 15:19:13, Torsten Marek wrote: with the latest pyuic snapshot (should appear somewhere next week) and latest PyQt4/sip snapshot, signal autoconnect now works, which was the last big point for pyuic. Great. If you want to use pyuic code in your own application rather than

Re: [PyKDE] Problem with setModel on QTreeView

2006-01-22 Thread Andreas Pakulat
On 22.01.06 13:41:39, Andreas Pakulat wrote: BTW: Do you have any idea why I can't call model() right after setModel()? I get a None object back. It works when I do have a global reference to the model, but not if I create the Model right inside the setModel call. Forget that, I shouldn't

[PyKDE] PyQt4 X BadWindow Error

2006-01-22 Thread Doug Bell
Hi, I have a PyQt4 program that writes the following error message to the console when it exits (the id and serail numbers vary): X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 18 (X_ChangeProperty) Resource id in failed request:

[PyKDE] PyKDE-snapshot20060118 runtime failure when built with gcc295 (KConfigSkeleton)

2006-01-22 Thread Danny Pansters
(shortened) === Configuring for py24-kde-3.15.0,1 ( cd /work/a/ports/x11-toolkits/py-kde/work/PyKDE-snapshot20060118 /usr/local/bin/python configure.py -k /usr/local -v /usr/local/share/py-sip -d /usr/local/lib/python2.4/site-packages ) PyKDE version 3.15.0 Python version is 2.4.2 sip

Re: [PyKDE] PyKDE-snapshot20060118 runtime failure when built with gcc295 (KConfigSkeleton)

2006-01-22 Thread Jim Bublitz
On Sunday 22 January 2006 13:57, Danny Pansters wrote: gcc version 2.95.4-- This is on FreeBSD4 Post-install it imports dcop*.py to byte compile them (sorry if spacing may be messed up a bit): ( install -c -o root -g wheel -m 555

Re: [PyKDE] Using UI files in your app with PyQt4

2006-01-22 Thread Giovanni Bajo
Torsten Marek [EMAIL PROTECTED] wrote: def compileToType(filename): code_string = cStringIO.StringIO() widget_info = Compiler.compileUi(file(filename, r), code_string) # the buffer code_string now contains the generated Python code widget_module =

[PyKDE] PyKDE - looking for comments

2006-01-22 Thread Jim Bublitz
The PyKDE tarball contains (uncompressed) about 12MB of html files in the doc/classref directory. Compressed, this adds about 300KB to the size of the tarball (1.4MB including all html files). Since these are auto-generated (from sip/classref.txt and related files), and since I finally took the

[PyKDE] PyKDE snapshot 20060122

2006-01-22 Thread Jim Bublitz
I've just sent Phil a new PyKDE snapshot - it should be available at riverbankcomputing shortly. Barring any new bug reports, this should be the PyKDE 3.15.0 release. I'll do a 3.15.1 release after KDE 3.5.1 is released, but I doubt there will be many changes. This release has been backtested