Description
This is a theme conform label, displaying a text.
API Properties
- alias color
- Provides access to the label's color
- alias smooth
- bool, true if the text should be smoothed
- bool elideText
- True if the text should elide if it's to long
- alias text
- Provides access to the label's text string
- alias textFormat
- Provides access to the label's text format
- alias wrapMode
- Provides access to the label's wrap mode
- alias font
- Provides access to the label's font
- string background
- Sets the source for the background image
Signal
-
Functions
-
Example
Label {
id: myLabel
text: qsTr("Label")
width: 200
height: 50
}