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 bool contextMenuEnabled: true
52 property alias readOnly: textEdit.readOnly
53 property alias selectByMouse: textEdit.selectByMouse
54 property alias color: textEdit.color
55 property alias selectedTextColor: textEdit.selectedTextColor
56 property alias selectionColor: textEdit.selectionColor
57 property alias text: textEdit.text
58 property alias baseUrl: textEdit.baseUrl
59 property var cursorShape
60 property alias horizontalAlignment: textEdit.horizontalAlignment
61 property alias verticalAlignment: textEdit.verticalAlignment
62 property alias textFormat: textEdit.textFormat
63 property alias wrapMode: textEdit.wrapMode
65 property alias activeFocusOnPress: textEdit.activeFocusOnPress
66 property alias cursorDelegate: textEdit.cursorDelegate
67 property alias cursorPosition: textEdit.cursorPosition
68 property alias cursorVisible: textEdit.cursorVisible
69 property alias inputMethodHints: textEdit.inputMethodHints
70 property alias mouseSelectionMode: textEdit.mouseSelectionMode
71 property alias overwriteMode: textEdit.overwriteMode
72 property alias persistentSelection: textEdit.persistentSelection
73 property alias renderType: textEdit.renderType
74 property alias selectByKeyboard: textEdit.selectByKeyboard
75 property alias tabStopDistance: textEdit.tabStopDistance
76 property alias textMargin: textEdit.textMargin
78 readonly property alias canPaste: textEdit.canPaste
79 readonly property alias canRedo: textEdit.canRedo
80 readonly property alias canUndo: textEdit.canUndo
81 readonly property alias inputMethodComposing: textEdit.inputMethodComposing
82 readonly property alias length: textEdit.length
83 readonly property alias lineCount: textEdit.lineCount
84 readonly property alias selectionEnd: textEdit.selectionEnd
85 readonly property alias selectionStart: textEdit.selectionStart
86 readonly property alias contentHeight: textEdit.contentHeight
87 readonly property alias contentWidth: textEdit.contentWidth
88 readonly property alias hoveredLink: textEdit.hoveredLink
89 readonly property alias preeditText: textEdit.preeditText
90 readonly property alias selectedText: textEdit.selectedText
91 readonly property alias cursorRectangle: textEdit.cursorRectangle
92 readonly property alias cursorSelection: textEdit.cursorSelection
93 readonly property alias effectiveHorizontalAlignment: textEdit.effectiveHorizontalAlignment
94 readonly property alias textDocument: textEdit.textDocument
96 signal editingFinished()
98 signal linkActivated(string link)
99 signal linkHovered(string 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
135 persistentSelection: contextMenu.visible
137 onLinkActivated: root.linkActivated(textEdit.hoveredLink)
138 onLinkHovered: root.linkHovered(textEdit.hoveredLink)
139 onEditingFinished: root.editingFinished()
150 cursorShape: root.cursorShape ? root.cursorShape : (textEdit.hoveredLink ? Qt.PointingHandCursor : Qt.IBeamCursor)
155 enabled: !textEdit.selectByMouse
157 acceptedDevices: PointerDevice.Mouse | PointerDevice.TouchPad | PointerDevice.Stylus
158 acceptedButtons: Qt.LeftButton
160 onTapped: root.clicked()
164 enabled: textEdit.selectByMouse && root.contextMenuEnabled
166 acceptedDevices: PointerDevice.Mouse | PointerDevice.TouchPad | PointerDevice.Stylus
167 acceptedButtons: Qt.RightButton