wordWrap : bool This property holds the item text word-wrapping policy.
If this property is true then the item text is wrapped where necessary at word-breaks; otherwise it is not wrapped at all. This property is true by default.
Note that even of wrapping is enabled, the cell will not be expanded to fit all text. Ellipsis will be inserted according to the current textElideMode.
所以你还要设定textElideMode。
你把textElideMode设定为Qt::ElideNone试试看?
[ 此帖被alexltr在2011-04-18 13:40重新编辑 ]