Libplasma

Label.qml
1/*
2 SPDX-FileCopyrightText: 2016 Marco Martin <mart@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7import QtQuick
8import QtQuick.Templates as T
9import org.kde.kirigami as Kirigami
10
11T.Label {
12 id: control
13
14 // Work around Qt bug where left aligned text is not right aligned
15 // in RTL mode unless horizontalAlignment is explicitly set.
16 // https://bugreports.qt.io/browse/QTBUG-95873
17 horizontalAlignment: Text.AlignLeft
18
19 activeFocusOnTab: false
20
21 //font data is the system one by default
22 color: Kirigami.Theme.textColor
23 linkColor: Kirigami.Theme.linkColor
24
25 opacity: enabled ? 1 : 0.6
26
27 Accessible.role: Accessible.StaticText
28 Accessible.name: text
29}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:06:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.