- Qt 6.11
- Qt Quick
- QML Types
- TextEdit
- Qt 6.11.1 Reference Documentation

# List of All Members for TextEdit

This is the complete list of members for TextEdit, including inherited members.

- activeFocusOnPress : bool
- baseUrl : url
- bottomPadding : real
- canPaste : bool [read-only]
- canRedo : bool [read-only]
- canUndo : bool [read-only]
- color : color
- contentHeight : real [read-only]
- contentWidth : real [read-only]
- cursorDelegate : Component
- cursorPosition : int
- cursorRectangle : rectangle [read-only]
- cursorSelection : QtQuick::TextSelection `(preliminary)` [read-only]
- cursorVisible : bool
- effectiveHorizontalAlignment : enumeration [read-only]
- font.bold : bool
- font.capitalization : enumeration
- font.contextFontMerging : bool `(since 6.8)`
- font.family : string
- font.features : object `(since 6.6)`
- font.hintingPreference : enumeration
- font.italic : bool
- font.kerning : bool
- font.letterSpacing : real
- font.pixelSize : int
- font.pointSize : real
- font.preferShaping : bool
- font.preferTypoLineMetrics : bool `(since 6.8)`
- font.strikeout : bool
- font.styleName : string
- font.underline : bool
- font.variableAxes : object `(since 6.7)`
- font.weight : int
- font.wordSpacing : real
- horizontalAlignment : enumeration
- hoveredLink : string [read-only]
- inputMethodComposing : bool [read-only]
- inputMethodHints : enumeration
- leftPadding : real
- length : int [read-only]
- lineCount : int [read-only]
- mouseSelectionMode : enumeration
- overwriteMode : bool
- padding : real
- persistentSelection : bool
- preeditText : string [read-only]
- readOnly : bool
- renderType : enumeration
- rightPadding : real
- selectByKeyboard : bool
- selectByMouse : bool
- selectedText : string [read-only]
- selectedTextColor : color
- selectionColor : color
- selectionEnd : int [read-only]
- selectionStart : int [read-only]
- tabStopDistance : real
- text : string
- textDocument : TextDocument [read-only]
- textFormat : enumeration
- textMargin : real
- topPadding : real
- verticalAlignment : enumeration
- wrapMode : enumeration
- void append(string text)
- void clear()
- void copy()
- void cut()
- void deselect()
- editingFinished()
- string getFormattedText(int start, int end)
- string getText(int start, int end)
- void insert(int position, string text)
- bool isRightToLeft(int start, int end)
- linkActivated(string link)
- string linkAt(real x, real y)
- linkHovered(string link)
- void moveCursorSelection(int position, SelectionMode mode)
- void paste()
- int positionAt(int x, int y)
- rectangle positionToRectangle(position)
- void redo()
- string remove(int start, int end)
- void select(int start, int end)
- void selectAll()
- void selectWord()
- textEdited() `(since 6.9)`
- void undo()

The following members are inherited from Item.

- activeFocus : bool [read-only]
- activeFocusOnTab : bool
- anchors
  - anchors.alignWhenCentered : bool
  - anchors.baseline : AnchorLine
  - anchors.baselineOffset : real
  - anchors.bottom : AnchorLine
  - anchors.bottomMargin : real
  - anchors.centerIn : Item
  - anchors.fill : Item
  - anchors.horizontalCenter : AnchorLine
  - anchors.horizontalCenterOffset : real
  - anchors.left : AnchorLine
  - anchors.leftMargin : real
  - anchors.margins : real
  - anchors.right : AnchorLine
  - anchors.rightMargin : real
  - anchors.top : AnchorLine
  - anchors.topMargin : real
  - anchors.verticalCenter : AnchorLine
  - anchors.verticalCenterOffset : real
- antialiasing : bool
- baselineOffset : int
- children : list<Item>
- childrenRect
  - childrenRect.height : real [read-only]
  - childrenRect.width : real [read-only]
  - childrenRect.x : real [read-only]
  - childrenRect.y : real [read-only]
- clip : bool
- containmentMask : QObject*
- data : list<QtObject> [default]
- enabled : bool
- focus : bool
- focusPolicy : enumeration `(since 6.7)`
- height : real
- implicitHeight : real
- implicitWidth : real
- layer.effect : Component
- layer.enabled : bool
- layer.format : enumeration
- layer.live : bool `(since 6.5)`
- layer.mipmap : bool
- layer.samplerName : string
- layer.samples : enumeration
- layer.smooth : bool
- layer.sourceRect : rect
- layer.textureMirroring : enumeration
- layer.textureSize : size
- layer.wrapMode : enumeration
- opacity : real
- palette : Palette `(since 6.0)`
- parent : Item
- resources : list<QtObject>
- rotation : real
- scale : real
- smooth : bool
- state : string
- states : list<State>
- transform : list<Transform> [read-only]
- transformOrigin : enumeration
- transitions : list<Transition>
- visible : bool
- visibleChildren : list<Item>
- width : real
- x : real
- y : real
- z : real
- Item childAt(real x, real y)
- bool contains(point point)
- void dumpItemTree() `(since 6.3)`
- void forceActiveFocus()
- void forceActiveFocus(Qt::FocusReason reason)
- bool grabToImage(callback, targetSize)
- point mapFromGlobal(real x, real y)
- point mapFromItem(Item item, point p)
- rect mapFromItem(Item item, rect r)
- point mapFromItem(Item item, real x, real y)
- rect mapFromItem(Item item, real x, real y, real width, real height)
- point mapToGlobal(real x, real y)
- point mapToItem(Item item, point p)
- rect mapToItem(Item item, rect r)
- point mapToItem(Item item, real x, real y)
- rect mapToItem(Item item, real x, real y, real width, real height)
- Item nextItemInFocusChain(bool forward)

The following members are inherited from QtObject.

- objectName : string