SelectableLabel

Search for usage in LXR

SelectableLabel Class Reference

Properties

alias activeFocusOnPress
 
alias baseUrl
 
alias canPaste
 
alias canRedo
 
alias canUndo
 
alias color
 
alias contentHeight
 
alias contentWidth
 
bool contextMenuEnabled
 
alias cursorDelegate
 
alias cursorPosition
 
alias cursorRectangle
 
alias cursorSelection
 
var cursorShape
 
alias cursorVisible
 
alias effectiveHorizontalAlignment
 
var flickable
 
alias horizontalAlignment
 
alias hoveredLink
 
alias inputMethodComposing
 
alias inputMethodHints
 
alias length
 
alias lineCount
 
alias mouseSelectionMode
 
alias overwriteMode
 
alias persistentSelection
 
var placeholderText
 
var placeholderTextColor
 
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
 

Signals

void clicked ()
 
void editingFinished ()
 
void linkActivated (string link)
 
void linkHovered (string link)
 
void pressAndHold (MouseEvent event)
 
void pressed (MouseEvent event)
 
void released (MouseEvent event)
 

Detailed Description

This is a label which supports text selection.

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
Since
org.kde.kirigami 2.20
5.95

Definition at line 30 of file SelectableLabel.qml.

Property Documentation

◆ activeFocusOnPress

alias SelectableLabel::activeFocusOnPress
read

Definition at line 70 of file SelectableLabel.qml.

◆ baseUrl

alias SelectableLabel::baseUrl
read

Definition at line 58 of file SelectableLabel.qml.

◆ canPaste

alias SelectableLabel::canPaste
read
Remarks
This property is read-only

Definition at line 95 of file SelectableLabel.qml.

◆ canRedo

alias SelectableLabel::canRedo
read
Remarks
This property is read-only

Definition at line 98 of file SelectableLabel.qml.

◆ canUndo

alias SelectableLabel::canUndo
read
Remarks
This property is read-only

Definition at line 101 of file SelectableLabel.qml.

◆ color

alias SelectableLabel::color
read

Definition at line 50 of file SelectableLabel.qml.

◆ contentHeight

alias SelectableLabel::contentHeight
read
Remarks
This property is read-only

Definition at line 119 of file SelectableLabel.qml.

◆ contentWidth

alias SelectableLabel::contentWidth
read
Remarks
This property is read-only

Definition at line 122 of file SelectableLabel.qml.

◆ contextMenuEnabled

bool SelectableLabel::contextMenuEnabled
read

Definition at line 44 of file SelectableLabel.qml.

◆ cursorDelegate

alias SelectableLabel::cursorDelegate
read

Definition at line 72 of file SelectableLabel.qml.

◆ cursorPosition

alias SelectableLabel::cursorPosition
read

Definition at line 74 of file SelectableLabel.qml.

◆ cursorRectangle

alias SelectableLabel::cursorRectangle
read
Remarks
This property is read-only

Definition at line 134 of file SelectableLabel.qml.

◆ cursorSelection

alias SelectableLabel::cursorSelection
read
Remarks
This property is read-only

Definition at line 137 of file SelectableLabel.qml.

◆ cursorShape

var SelectableLabel::cursorShape
read

Definition at line 60 of file SelectableLabel.qml.

◆ cursorVisible

alias SelectableLabel::cursorVisible
read

Definition at line 76 of file SelectableLabel.qml.

◆ effectiveHorizontalAlignment

alias SelectableLabel::effectiveHorizontalAlignment
read
Remarks
This property is read-only

Definition at line 140 of file SelectableLabel.qml.

◆ flickable

var SelectableLabel::flickable
read

Definition at line 153 of file SelectableLabel.qml.

◆ horizontalAlignment

alias SelectableLabel::horizontalAlignment
read

Definition at line 62 of file SelectableLabel.qml.

◆ hoveredLink

alias SelectableLabel::hoveredLink
read
Remarks
This property is read-only

Definition at line 125 of file SelectableLabel.qml.

◆ inputMethodComposing

alias SelectableLabel::inputMethodComposing
read
Remarks
This property is read-only

Definition at line 104 of file SelectableLabel.qml.

◆ inputMethodHints

alias SelectableLabel::inputMethodHints
read

Definition at line 78 of file SelectableLabel.qml.

◆ length

alias SelectableLabel::length
read
Remarks
This property is read-only

Definition at line 107 of file SelectableLabel.qml.

◆ lineCount

alias SelectableLabel::lineCount
read
Remarks
This property is read-only

Definition at line 110 of file SelectableLabel.qml.

◆ mouseSelectionMode

alias SelectableLabel::mouseSelectionMode
read

Definition at line 80 of file SelectableLabel.qml.

◆ overwriteMode

alias SelectableLabel::overwriteMode
read

Definition at line 82 of file SelectableLabel.qml.

◆ persistentSelection

alias SelectableLabel::persistentSelection
read

Definition at line 84 of file SelectableLabel.qml.

◆ placeholderText

var SelectableLabel::placeholderText
read

Definition at line 155 of file SelectableLabel.qml.

◆ placeholderTextColor

var SelectableLabel::placeholderTextColor
read

Definition at line 157 of file SelectableLabel.qml.

◆ preeditText

alias SelectableLabel::preeditText
read
Remarks
This property is read-only

Definition at line 128 of file SelectableLabel.qml.

◆ readOnly

alias SelectableLabel::readOnly
read

Definition at line 46 of file SelectableLabel.qml.

◆ renderType

alias SelectableLabel::renderType
read

Definition at line 86 of file SelectableLabel.qml.

◆ selectByKeyboard

alias SelectableLabel::selectByKeyboard
read

Definition at line 88 of file SelectableLabel.qml.

◆ selectByMouse

alias SelectableLabel::selectByMouse
read

Definition at line 48 of file SelectableLabel.qml.

◆ selectedText

alias SelectableLabel::selectedText
read
Remarks
This property is read-only

Definition at line 131 of file SelectableLabel.qml.

◆ selectedTextColor

alias SelectableLabel::selectedTextColor
read

Definition at line 52 of file SelectableLabel.qml.

◆ selectionColor

alias SelectableLabel::selectionColor
read

Definition at line 54 of file SelectableLabel.qml.

◆ selectionEnd

alias SelectableLabel::selectionEnd
read
Remarks
This property is read-only

Definition at line 113 of file SelectableLabel.qml.

◆ selectionStart

alias SelectableLabel::selectionStart
read
Remarks
This property is read-only

Definition at line 116 of file SelectableLabel.qml.

◆ tabStopDistance

alias SelectableLabel::tabStopDistance
read

Definition at line 90 of file SelectableLabel.qml.

◆ text

alias SelectableLabel::text
read

Definition at line 56 of file SelectableLabel.qml.

◆ textDocument

alias SelectableLabel::textDocument
read
Remarks
This property is read-only

Definition at line 143 of file SelectableLabel.qml.

◆ textFormat

alias SelectableLabel::textFormat
read

Definition at line 66 of file SelectableLabel.qml.

◆ textMargin

alias SelectableLabel::textMargin
read

Definition at line 92 of file SelectableLabel.qml.

◆ verticalAlignment

alias SelectableLabel::verticalAlignment
read

Definition at line 64 of file SelectableLabel.qml.

◆ wrapMode

alias SelectableLabel::wrapMode
read

Definition at line 68 of file SelectableLabel.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.