org::kde::kirigami::SelectableLabel

Search for usage in LXR

org::kde::kirigami::SelectableLabel Class Reference
Inheritance diagram for org::kde::kirigami::SelectableLabel:

Properties

alias cursorShape
 

Additional Inherited Members

- Public Member Functions inherited from QtQuick.Controls.TextArea
void append (string text)
 
void copy ()
 
void cut ()
 
void deselect ()
 
 editingFinished ()
 
string getFormattedText (int start, int end)
 
string getText (int start, int end)
 
void insert (int position, string text)
 
bool isRightToLeft (int start, int end)
 
 linkActivated (string)
 
 linkHovered (string)
 
void moveCursorSelection (int position, SelectionMode mode)
 
void paste ()
 
int positionAt (int x, int y)
 
rectangle positionToRectangle (position)
 
 pressAndHold (event)
 
 pressed (event)
 
void redo ()
 
 released (event)
 
string remove (int start, int end)
 
void select (int start, int end)
 
void selectAll ()
 
void selectWord ()
 
void undo ()
 

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 org::kde::kirigami::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-2023 The KDE developers.
Generated on Mon Feb 6 2023 04:13:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.