Sets the label contents to a plain text containing the printed value of num. Does nothing if this is equal to the current contents of the label. 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 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.