SelectableLabel

Search for usage in LXR

SelectableLabel Class Reference
Inheritance diagram for SelectableLabel:

Properties

alias cursorShape
 

Additional Inherited Members

- Public Member Functions inherited from QtQuick.Controls.TextArea
 pressAndHold (MouseEvent event)
 
 pressed (MouseEvent event)
 
 released (MouseEvent event)
 

Detailed Description

This is a label which supports text selection.

You can use all elements of the QML TextArea component, in particular the "text" property to define the label text.

Example usage:

Kirigami.SelectableLabel {
text: "Label"
}
See also
https://bugreports.qt.io/browse/QTBUG-14077
Since
5.95
org.kde.kirigami 2.20

Definition at line 27 of file SelectableLabel.qml.

Property Documentation

◆ cursorShape

Qt::CursorShape SelectableLabel::cursorShape
read

This property holds the cursor shape that will appear whenever the mouse is hovering over the label.

default: Qt.IBeamCursor

Definition at line 37 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 Tue Mar 26 2024 11:18:46 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.