The buddy accelerator, if any, is disabled. The label resizes itself if auto-resizing is enabled. Any previous content is cleared. The buddy accelerator, if any, is disabled. The label resizes itself if auto-resizing is enabled.
Any previous content is cleared.
The default setting is AutoText, i.e. QLabel will try to auto-detect the format of text. If text is interpreted as a plain text, and a buddy has been set, the buddy accelerator key is updated from the new text. The label resizes itself if auto-resizing is enabled. Note that Qlabel is well suited to display small rich text documents only. For large documents, use QTextView instead.