For some reasons I cannot use QTextEdit instead of QPlainTextEdit,

the problem is in QPlainTextEdit there is no explicit way to specify a wrap width. e.g 25 character one line.
there is only NoWrap and WidgetWrap

anyone knows how to make it like in QTextEdit?