readOnly property

bool readOnly
getter/setter pair

Whether the text can be changed.

When this is set to true, the text cannot be modified by any shortcut or keyboard operation. The text is still selectable.

Defaults to false.

Implementation

bool readOnly;