TextArea is a multiline editor that resizes vertically to fit all input characters. More...
The position of the cursor in the TextArea.
See also TextEdit::cursorPosition.
Sets the horizontal and vertical alignment of the text within the TextArea item's width and height. By default, the text is top-left aligned.
For details of the options, see: TextEdit::horizontalAlignment
If this is true, the text field can only be viewed, it cannot be edited.
If this is false, the text field can be edited.
See also TextEdit::readOnly.
This read-only property provides the text that is currently selected in the text field.
See also TextEdit::selectedText.
The cursor position after the last character in the current selection.
See also selectionstart, selectedText, cursorPosition, and TextEdit::selectionEnd.
The cursor position before the first character in the current selection.
See also selectionEnd, selectedText, cursorPosition, and TextEdit::selectionStart.
This determines if the text is displayed as rich text or plain text. By default it will and determine if the text is rich text or plain text and display it appropriately.
See TextEdit::textFormat for the enumeration details.
This determines if text in the TextArea is wrapped or not.
See TextEdit::wrapMode for details of the different modes.
Moves the currently selected text to the system clipboard.
See also TextEdit::cut().
Returns the character position at x pixels from the left edge of the text field and y pixels from the top edge of the text field.
See also TextEdit::positionAt().
Returns the rectangle that the cursor would occupy if it was placed at pos character position.
This is similar to setting the cursorPosition, and then querying the cursor rectangle, but the cursorPosition is not changed.
See also cursorPosition and TextEdit::positionToRectangle().
Causes the text from start to end to be selected.
See also selectionStart, selectionEnd, and TextEdit::select().
Causes all text in the text field to be selected.
See also TextEdit::selectAll().
Causes the word closest to the current cursor position to be selected.
See also TextEdit::selectWord().