diff options
Diffstat (limited to 'src/quickcontrols/universal/Label.qml')
-rw-r--r-- | src/quickcontrols/universal/Label.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/quickcontrols/universal/Label.qml b/src/quickcontrols/universal/Label.qml new file mode 100644 index 0000000000..e77f48d185 --- /dev/null +++ b/src/quickcontrols/universal/Label.qml @@ -0,0 +1,14 @@ +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +import QtQuick +import QtQuick.Templates as T +import QtQuick.Controls.Universal + +T.Label { + id: control + + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground + linkColor: Universal.accent +} |