The Text class inherits QTextEdit Qt class.
Widget's input value
A string or any object that can be converted to a string.
Widget's attributes
- ro
- This attribute holds if the text edit is read-only.
- html
- If this attribute is set to True, the text edit interprets and render HTML tags. Otherwise plain text is assumed. The default is False.
- wrap
- If this attribute is set to True lines are wrapped at text edit width. If set to False, wrapping is disabled. If set to an integer value, the wrapping will occur at the corresponding column, text will be wrapped anywhere. The default is True.
- use_tab
- This attribute holds whether Tab changes focus or is accepted as input. The default is False, Tab changes focus.
Widget's output value
If html is True, the returned value is an unicode HTML representation of the text edit content. Otherwise, the returned value is an unicode plain string.