Pages
API Documentation
On this page

SelectableLabel QML Type

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

  • Import Statement: import org.kde.kirigami
  • Inherits: Control

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

[read-only] canPaste : alias

[read-only] canRedo : alias

[read-only] canUndo : alias

color : alias

[read-only] contentHeight : alias

[read-only] contentWidth : alias

cursorDelegate : alias

cursorPosition : alias

[read-only] cursorRectangle : alias

[read-only] cursorSelection : alias

cursorShape : var

cursorVisible : alias

[read-only] effectiveHorizontalAlignment : alias

horizontalAlignment : alias

[read-only] inputMethodComposing : alias

inputMethodHints : alias

[read-only] length : alias

[read-only] lineCount : alias

mouseSelectionMode : alias

overwriteMode : alias

persistentSelection : alias

[read-only] preeditText : alias

readOnly : alias

renderType : alias

selectByKeyboard : alias

selectByMouse : alias

[read-only] selectedText : alias

selectedTextColor : alias

selectionColor : alias

[read-only] selectionEnd : alias

[read-only] selectionStart : alias

tabStopDistance : alias

text : alias

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

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.