PDA

View Full Version : Word wrap of QLabel



jimfan
15th February 2008, 23:55
Hi All,

I am just wondering is there a simple way to do character wrap if word wrap is not applicable? For example, if there's a very long word and needs to wrap around how do I set it to wrap on characters.

Thanks,

ashukla
16th February 2008, 04:49
Hi All,

I am just wondering is there a simple way to do character wrap if word wrap is not applicable? For example, if there's a very long word and needs to wrap around how do I set it to wrap on characters.

Thanks,
See this
http://doc.trolltech.com/4.3/qtextedit.html#wordWrapMode-prop
and
http://doc.trolltech.com/4.3/qlabel.html#wordWrap-prop