Warning, /frameworks/qqc2-desktop-style/org.kde.desktop/Dial.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2017 Marco Martin <mart@kde.org>
0003     SPDX-FileCopyrightText: 2017 The Qt Company Ltd.
0004 
0005     SPDX-License-Identifier: LGPL-3.0-only OR GPL-2.0-or-later
0006 */
0007 
0008 
0009 import QtQuick
0010 import QtQuick.Controls
0011 import QtQuick.Templates as T
0012 import org.kde.kirigami as Kirigami
0013 import org.kde.qqc2desktopstyle.private as StylePrivate
0014 
0015 T.Dial {
0016     id: controlRoot
0017 
0018     implicitWidth: 128
0019     implicitHeight: 128
0020 
0021     background: StylePrivate.StyleItem {
0022         control: controlRoot
0023         visible: true
0024         elementType: "dial"
0025         horizontal: false
0026 
0027         maximum: controlRoot.to * 100
0028         minimum: controlRoot.from * 100
0029         step: controlRoot.stepSize * 100
0030         value: controlRoot.value * 100
0031 
0032         hasFocus: controlRoot.activeFocus
0033         hover: controlRoot.hovered
0034     }
0035 }