"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 http://doc.qt.io/qt-5.6/richtext-html-subset.html for available classes.)

Assignment

Label