SelectableLabel QML Type
This is a label which supports text selection. More...
Import Statement: | import org.kde.kirigami |
Since: | 5.95 |
Inherits: |
Properties
- activeFocusOnPress : alias
- baseUrl : alias
- canPaste : alias
- canRedo : alias
- canUndo : alias
- color : alias
- contentHeight : alias
- contentWidth : alias
- cursorDelegate : alias
- cursorPosition : alias
- cursorRectangle : alias
- cursorSelection : alias
- cursorShape : var
- cursorVisible : alias
- effectiveHorizontalAlignment : alias
- horizontalAlignment : alias
- hoveredLink : alias
- inputMethodComposing : alias
- inputMethodHints : alias
- length : alias
- lineCount : alias
- mouseSelectionMode : alias
- overwriteMode : alias
- persistentSelection : alias
- preeditText : alias
- readOnly : alias
- renderType : alias
- selectByKeyboard : alias
- selectByMouse : alias
- selectedText : alias
- selectedTextColor : alias
- selectionColor : alias
- selectionEnd : alias
- selectionStart : alias
- tabStopDistance : alias
- text : alias
- textDocument : alias
- textFormat : alias
- textMargin : alias
- verticalAlignment : alias
- wrapMode : alias
Signals
- clicked()
- editingFinished()
- linkActivated(string link)
- linkHovered(string link)
Detailed Description
The label uses TextEdit component, which is wrapped inside a Control component.
Example usage:
Kirigami.SelectableLabel { text: "Label" }
See also https://bugreports.qt.io/browse/QTBUG-14077.
Property Documentation
activeFocusOnPress : alias |
baseUrl : alias |
canPaste : alias |
canRedo : alias |
canUndo : alias |
color : alias |
contentHeight : alias |
contentWidth : alias |
cursorDelegate : alias |
cursorPosition : alias |
cursorRectangle : alias |
cursorSelection : alias |
cursorShape : var |
cursorVisible : alias |
effectiveHorizontalAlignment : alias |
horizontalAlignment : alias |
hoveredLink : alias |
inputMethodComposing : alias |
inputMethodHints : alias |
length : alias |
lineCount : alias |
mouseSelectionMode : alias |
overwriteMode : alias |
persistentSelection : alias |
preeditText : alias |
readOnly : alias |
renderType : alias |
selectByKeyboard : alias |
selectByMouse : alias |
selectedText : alias |
selectedTextColor : alias |
selectionColor : alias |
selectionEnd : alias |
selectionStart : alias |
tabStopDistance : alias |
text : alias |
textDocument : alias |
textFormat : alias |
textMargin : alias |
verticalAlignment : alias |
wrapMode : alias |
Signal Documentation
clicked() |
Note: The corresponding handler is onClicked
.
editingFinished() |
Note: The corresponding handler is onEditingFinished
.
linkActivated(string link) |
Note: The corresponding handler is onLinkActivated
.
linkHovered(string link) |
Note: The corresponding handler is onLinkHovered
.