MQWidget.Label class

A label class.

Super classes: MQWidget.WidgetBase

Property

get set Type Name Description
x x string text a displayed string
x x string fontName a font name
x x bool fontBold a bold font
x x float fontScale a font scale
x x MQWidget.Color fontColor a font color
x x string alignment an alignment for a text
[left] left
[right] right
[center] center
x x bool verticalText whether a text is displayed horizontally or vertically
x x bool wordWrap a word wrap
x x bool frame a frame displaying
x x bool shadowText a shadow displaying behide a text
x string systemSVGFile a filename for a system .svg file
x x float imageScale a scaling for a svg image

Method

Member Description
Label Constructor.

Label([parent])

Constructor.

Parameters:
MQWidget.WidgetBase parent - A parent widget