"text"
Sets the text that should be displayed within the label.
Synopsis
shape.text(string text);
Parameter
Parameter | Description |
---|---|
shape | Object name |
text | Text to be displayed. |
Description
The function allows to set the text to be displayed. Can either be plaintext or rich text (HTML Subset, see Qt - Richtext HTML Subset for available classes.)
Assignment
Label