Properties of type QmlLabel¶
Below is a list of the available properties provided by the QmlLabel type. Click on a property name to see its detailed description and examples.
| Property | Description |
|---|---|
| text | The plain text displayed by the label. Can be set in constructor or at runtime. |
| pixmap | The image displayed by the label, managed via QmlPixmap*. Setting null clears the image. |
| alignment | The alignment of the content (text or pixmap) within the label. Default is Qt.AlignLeft \| Qt.AlignVCenter. |
| visible | Whether the label is visible. Inherited from QWidget. |
| enabled | Whether the label is enabled. Inherited from QWidget. |