4.14. Label widget class

The Label class inherits QLabel Qt class.

Widget's input value

A string or any object that can be converted to a string.

Widget's attributes

wrap
If this attribute is set to True then label text is wrapped where necessary at word-breaks.
align
This attribute holds the alignment of the label's contents. Possible values are : left, right, top, bottom, center, hcenter, vcenter, justify.
buddy
This attribute holds the name of the label's buddy widget. When the user presses the shortcut key indicated by this label, the keyboard focus is transferred to the label's buddy widget.

Widget's output value

An unicode string.