diff options
Diffstat (limited to 'src/imports/controls/universal/Label.qml')
-rw-r--r-- | src/imports/controls/universal/Label.qml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/imports/controls/universal/Label.qml b/src/imports/controls/universal/Label.qml index 7630364c..9b50f4f5 100644 --- a/src/imports/controls/universal/Label.qml +++ b/src/imports/controls/universal/Label.qml @@ -1,9 +1,9 @@ /**************************************************************************** ** -** Copyright (C) 2015 The Qt Company Ltd. +** Copyright (C) 2016 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** -** This file is part of the Qt Labs Controls module of the Qt Toolkit. +** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL3$ ** Commercial License Usage @@ -35,12 +35,13 @@ ****************************************************************************/ import QtQuick 2.6 -import Qt.labs.templates 1.0 as T -import Qt.labs.controls.universal 1.0 +import QtQuick.Templates 2.0 as T +import QtQuick.Controls.Universal 2.0 T.Label { id: control - color: !control.enabled ? Universal.baseLowColor : Universal.baseHighColor + opacity: enabled ? 1.0 : 0.2 + color: control.Universal.foreground linkColor: Universal.accent } |