37 activeFocusOnTab: false
41 leftPadding: undefined
42 rightPadding: undefined
43 bottomPadding: undefined
45 Accessible.name: textEdit.text
46 Accessible.role: Accessible.StaticText
47 Accessible.selectableText: true
48 Accessible.editable: false
50 property alias readOnly: textEdit.readOnly
51 property alias selectByMouse: textEdit.selectByMouse
52 property alias color: textEdit.color
53 property alias selectedTextColor: textEdit.selectedTextColor
54 property alias selectionColor: textEdit.selectionColor
55 property alias text: textEdit.text
56 property alias baseUrl: textEdit.baseUrl
57 property var cursorShape
58 property alias horizontalAlignment: textEdit.horizontalAlignment
59 property alias verticalAlignment: textEdit.verticalAlignment
60 property alias textFormat: textEdit.textFormat
61 property alias wrapMode: textEdit.wrapMode
63 property alias activeFocusOnPress: textEdit.activeFocusOnPress
64 property alias cursorDelegate: textEdit.cursorDelegate
65 property alias cursorPosition: textEdit.cursorPosition
66 property alias cursorVisible: textEdit.cursorVisible
67 property alias inputMethodHints: textEdit.inputMethodHints
68 property alias mouseSelectionMode: textEdit.mouseSelectionMode
69 property alias overwriteMode: textEdit.overwriteMode
70 property alias persistentSelection: textEdit.persistentSelection
71 property alias renderType: textEdit.renderType
72 property alias selectByKeyboard: textEdit.selectByKeyboard
73 property alias tabStopDistance: textEdit.tabStopDistance
74 property alias textMargin: textEdit.textMargin
76 readonly property alias canPaste: textEdit.canPaste
77 readonly property alias canRedo: textEdit.canRedo
78 readonly property alias canUndo: textEdit.canUndo
79 readonly property alias inputMethodComposing: textEdit.inputMethodComposing
80 readonly property alias length: textEdit.length
81 readonly property alias lineCount: textEdit.lineCount
82 readonly property alias selectionEnd: textEdit.selectionEnd
83 readonly property alias selectionStart: textEdit.selectionStart
84 readonly property alias contentHeight: textEdit.contentHeight
85 readonly property alias contentWidth: textEdit.contentWidth
86 readonly property alias hoveredLink: textEdit.hoveredLink
87 readonly property alias preeditText: textEdit.preeditText
88 readonly property alias selectedText: textEdit.selectedText
89 readonly property alias cursorRectangle: textEdit.cursorRectangle
90 readonly property alias cursorSelection: textEdit.cursorSelection
91 readonly property alias effectiveHorizontalAlignment: textEdit.effectiveHorizontalAlignment
92 readonly property alias textDocument: textEdit.textDocument
94 signal editingFinished()
96 signal linkActivated(string link)
97 signal linkHovered(string link)
99 onLinkActivated: link => Qt.openUrlExternally(link)
102 property var flickable: undefined
103 property var placeholderText: undefined
104 property var placeholderTextColor: undefined
106 signal pressAndHold(MouseEvent event)
107 signal pressed(MouseEvent event)
108 signal released(MouseEvent event)
111 contentItem: TextEdit {
122 property alias cursorShape: hoverHandler.cursorShape
124 activeFocusOnTab: root.activeFocusOnTab
125 color: Kirigami.Theme.textColor
129 selectedTextColor: Kirigami.Theme.highlightedTextColor
130 selectionColor: Kirigami.Theme.highlightColor
131 textFormat: TextEdit.AutoText
132 verticalAlignment: TextEdit.AlignTop
133 wrapMode: TextEdit.WordWrap
136 onLinkActivated: root.linkActivated(textEdit.hoveredLink)
137 onLinkHovered: root.linkHovered(textEdit.hoveredLink)
138 onEditingFinished: root.editingFinished()
149 cursorShape: root.cursorShape ? root.cursorShape : (textEdit.hoveredLink ? Qt.PointingHandCursor : Qt.IBeamCursor)
154 enabled: !textEdit.selectByMouse
156 acceptedDevices: PointerDevice.Mouse | PointerDevice.TouchPad | PointerDevice.Stylus
157 acceptedButtons: Qt.LeftButton
159 onTapped: root.clicked()
163 enabled: textEdit.selectByMouse
165 acceptedDevices: PointerDevice.Mouse | PointerDevice.TouchPad | PointerDevice.Stylus
166 acceptedButtons: Qt.RightButton
168 onPressedChanged: if (pressed) {