Re: [PyQt] Parent/Child widget clipping

2012-02-02 Thread JPolk
LOL, no, not my cup of tea, thank you... But I appreciate all work that goes into making this PyQt thing fun to use! And you correctly surmise, that 'setGeom' in there was just for testing,.. Cheers! -- View this message in context:

Re: [PyQt] Parent/Child widget clipping

2012-02-01 Thread JPolk
...not sure if this is the proper or elegant way, but I found a workaroundby setting minWidth and minHeight self.widget.setMinimumWidth(minW) self.widget.setMinimumHeight(minH) ...then, once inserted into the TreeWidget, it retains it's height, and isn't clipped... -- View this

Re: [PyQt] Parent/Child widget clipping

2012-02-01 Thread Hans-Peter Jansen
On Wednesday 01 February 2012, 20:47:01 JPolk wrote: ...not sure if this is the proper or elegant way, but I found a workaroundby setting minWidth and minHeight self.widget.setMinimumWidth(minW) self.widget.setMinimumHeight(minH) ...then, once inserted into the TreeWidget, it

Re: [PyQt] Parent/Child widget clipping

2012-01-31 Thread JPolk
So after tinkering with this a bit more, I'm in another conundrum, lol... When I replace the 'child-table' (QTableWidget) with another kind of widget, and give a size using 'setGeometry'...the solution no longer works... Why is that? What am I doing wrong, Pete?

[PyQt] Parent/Child widget clipping

2012-01-30 Thread James Polk
Greetings All, Doing some prototyping where I have a simple QTreeWidget with 3 items. Each item has 3 simple children. Using QTreeWidget.setItemWidget()I set/insert a simple QTableWidget into a child of one of the tree's parent items (first column) The problem is that the child-table

Re: [PyQt] Parent/Child widget clipping

2012-01-30 Thread Hans-Peter Jansen
On Tuesday 31 January 2012, 00:07:24 James Polk wrote: Greetings All, Doing some prototyping where I have a simple QTreeWidget with 3 items. Each item has 3 simple children. Using QTreeWidget.setItemWidget()I set/insert a simple QTableWidget into a child of one of the tree's parent

Re: [PyQt] Parent/Child widget clipping

2012-01-30 Thread JPolk
Whoo! That did it, Peter!! Thank you, Sir! tips hat I owe you another beer! -- View this message in context: http://python.6.n6.nabble.com/Parent-Child-widget-clipping-tp4352146p4352262.html Sent from the PyQt mailing list archive at Nabble.com.