[Kde-perl] After resizing Widget with table,
table contents not properly displayed
germain at ebooksfrance.org
Sat Aug 28 01:49:52 CEST 2004
Le Vendredi 27 Août 2004 12:58, Oliver Kreuer a écrit :
> So I compiled the small table example provided with Qt. And ... surprise
> ... this example functions correctly. But I can't figure out which
> mistakes I make using the QTable API.
I think your only "mistake" is how you use setStretchable().
It's rather intended (logically) to be set on the columns/rows, but you set it
on the table's member QHeader... not sure if this is really kosher.
Member widgets are usually touchy in Qt... they are accessible, yes, but it's
often a bad idea to bypass the parent if you can avoid it - as they are
rather involved in a master/slave relationship.
More information about the Kde-perl