[PyKDE] Re: Inserting widgets "into" a QGroupBox (David Boddie)

2007-02-03 Thread Tony Cappellini
> After I applied the grid box, a red box appeared around the outline of the > grid layout, and squished everything vertically. >>OK. You're applying layouts that way! :-) ? I was following your directions. What should I have done differently? Is it normal for the group boxes to get squished o

Re: [PyKDE] QTreeView -- selecting text within cell

2007-02-03 Thread David Boddie
On Friday 02 February 2007 12:12:24 -0600, Kelly Burkhart wrote: > Is it possible to select a portion of text within a cell in a > QTreeView (or QTableView)?  I would like to treat one column of cells > as lines of text from which I can select text just like selecting in > an editor.  I do not nee

[PyKDE] Reduced testcase for lambda-related crash

2007-02-03 Thread Giovanni Bajo
Hi Phil, I managed to reduce another small crashing testcase: == #!/usr/bin/env python from qt import * import weakref class myref(weakref.ref): pass a = QObject(None) wr = myref(a) wr._callback = lambda: wr QObject.connect(a, SIGNAL("destroyed()"),

Re: [PyKDE] mysterious dcopext bug

2007-02-03 Thread Kovid Goyal
I figured out that this happens because the method getTorrentNumbers returns a QValueList. Does anyone know how I can unmarshall that? dcop_next doesn't seem to work. b = QByteArray() s = QDataStream (b, IO_WriteOnly) dcop_add(s, 1, 'int') ok, rtype, arr = dcop.call('ktorrent', 'KTorrent', 'get