StaticText QML Type
Specifies how to add static text to a scene. More...
|Import Statement:||import QtQuick .|
|Since:||Qt Quick Ultralite 1.0|
StaticText displays plain text and, in most ways, behaves like Text.
The main difference is that
StaticText requires the text property to be fixed and known at compile-time. It must be either a string literal, or a translated literal like
This limitation allows StaticText to be more CPU and memory efficient than regular Text elements.
See also the compatibility page.
Available under certain Qt licenses.
Find out more.