37 activeFocusOnTab: false
41 leftPadding: undefined
42 rightPadding: undefined
43 bottomPadding: undefined
45 property alias readOnly: textEdit.readOnly
46 property alias selectByMouse: textEdit.selectByMouse
47 property alias color: textEdit.color
48 property alias selectedTextColor: textEdit.selectedTextColor
49 property alias selectionColor: textEdit.selectionColor
50 property alias text: textEdit.text
51 property alias baseUrl: textEdit.baseUrl
52 property var cursorShape
53 property alias horizontalAlignment: textEdit.horizontalAlignment
54 property alias verticalAlignment: textEdit.verticalAlignment
55 property alias textFormat: textEdit.textFormat
56 property alias wrapMode: textEdit.wrapMode
58 property alias activeFocusOnPress: textEdit.activeFocusOnPress
59 property alias cursorDelegate: textEdit.cursorDelegate
60 property alias cursorPosition: textEdit.cursorPosition
61 property alias cursorVisible: textEdit.cursorVisible
62 property alias inputMethodHints: textEdit.inputMethodHints
63 property alias mouseSelectionMode: textEdit.mouseSelectionMode
64 property alias overwriteMode: textEdit.overwriteMode
65 property alias persistentSelection: textEdit.persistentSelection
66 property alias renderType: textEdit.renderType
67 property alias selectByKeyboard: textEdit.selectByKeyboard
68 property alias tabStopDistance: textEdit.tabStopDistance
69 property alias textMargin: textEdit.textMargin
71 readonly property alias canPaste: textEdit.canPaste
72 readonly property alias canRedo: textEdit.canRedo
73 readonly property alias canUndo: textEdit.canUndo
74 readonly property alias inputMethodComposing: textEdit.inputMethodComposing
75 readonly property alias length: textEdit.length
76 readonly property alias lineCount: textEdit.lineCount
77 readonly property alias selectionEnd: textEdit.selectionEnd
78 readonly property alias selectionStart: textEdit.selectionStart
79 readonly property alias contentHeight: textEdit.contentHeight
80 readonly property alias contentWidth: textEdit.contentWidth
81 readonly property alias hoveredLink: textEdit.hoveredLink
82 readonly property alias preeditText: textEdit.preeditText
83 readonly property alias selectedText: textEdit.selectedText
84 readonly property alias cursorRectangle: textEdit.cursorRectangle
85 readonly property alias cursorSelection: textEdit.cursorSelection
86 readonly property alias effectiveHorizontalAlignment: textEdit.effectiveHorizontalAlignment
87 readonly property alias textDocument: textEdit.textDocument
89 signal editingFinished()
91 signal linkActivated(string link)
92 signal linkHovered(string link)
94 onLinkActivated: link => Qt.openUrlExternally(link)
97 property var flickable: undefined
98 property var placeholderText: undefined
99 property var placeholderTextColor: undefined
101 signal pressAndHold(MouseEvent event)
102 signal pressed(MouseEvent event)
103 signal released(MouseEvent event)
106 contentItem: TextEdit {
117 property alias cursorShape: hoverHandler.cursorShape
119 activeFocusOnTab: root.activeFocusOnTab
120 color: Kirigami.Theme.textColor
124 selectedTextColor: Kirigami.Theme.highlightedTextColor
125 selectionColor: Kirigami.Theme.highlightColor
126 textFormat: TextEdit.AutoText
127 verticalAlignment: TextEdit.AlignTop
128 wrapMode: TextEdit.WordWrap
130 onLinkActivated: root.linkActivated(textEdit.hoveredLink)
131 onLinkHovered: root.linkHovered(textEdit.hoveredLink)
132 onEditingFinished: root.editingFinished()
134 Accessible.selectableText: true
135 Accessible.editable: false
145 cursorShape: root.cursorShape ? root.cursorShape : (textEdit.hoveredLink ? Qt.PointingHandCursor : Qt.IBeamCursor)
150 enabled: !textEdit.selectByMouse
152 acceptedDevices: PointerDevice.Mouse | PointerDevice.TouchPad | PointerDevice.Stylus
153 acceptedButtons: Qt.LeftButton
155 onTapped: root.clicked()
159 enabled: textEdit.selectByMouse
161 acceptedDevices: PointerDevice.Mouse | PointerDevice.TouchPad | PointerDevice.Stylus
162 acceptedButtons: Qt.RightButton