SelectableLabel QML Type

This is a label which supports text selection. More...

Import Statement: import org.kde.kirigami
Since: 5.95
Inherits:

Control

Properties

Signals

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 [read-only]


canRedo : alias [read-only]


canUndo : alias [read-only]


color : alias


contentHeight : alias [read-only]


contentWidth : alias [read-only]


cursorDelegate : alias


cursorPosition : alias


cursorRectangle : alias [read-only]


cursorSelection : alias [read-only]


cursorShape : var


cursorVisible : alias


effectiveHorizontalAlignment : alias [read-only]


horizontalAlignment : alias



inputMethodComposing : alias [read-only]


inputMethodHints : alias


length : alias [read-only]


lineCount : alias [read-only]


mouseSelectionMode : alias


overwriteMode : alias


persistentSelection : alias


preeditText : alias [read-only]


readOnly : alias


renderType : alias


selectByKeyboard : alias


selectByMouse : alias


selectedText : alias [read-only]


selectedTextColor : alias


selectionColor : alias


selectionEnd : alias [read-only]


selectionStart : alias [read-only]


tabStopDistance : alias


text : alias


textDocument : alias [read-only]


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.