Warning, /plasma/kdeplasma-addons/applets/fuzzy-clock/package/contents/ui/configAppearance.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2013 Bhushan Shah <bhush94@gmail.com> 0003 * SPDX-FileCopyrightText: 2013 Sebastian Kügler <sebas@kde.org> 0004 * SPDX-FileCopyrightText: 2014 Kai Uwe Broulik <kde@privat.broulik.de> 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0007 */ 0008 0009 import QtQuick 2.0 0010 import QtQuick.Controls 2.5 as QQC2 0011 import QtQuick.Layouts 1.0 0012 import org.kde.kirigami 2.5 as Kirigami 0013 import org.kde.kcmutils as KCM 0014 0015 KCM.SimpleKCM { 0016 property alias cfg_boldText: boldCheckBox.checked 0017 property alias cfg_italicText: italicCheckBox.checked 0018 0019 property alias cfg_fuzzyness: fuzzyness.value 0020 0021 Kirigami.FormLayout { 0022 QQC2.CheckBox { 0023 id: boldCheckBox 0024 Kirigami.FormData.label: i18nc("@title:group", "Font:") 0025 text: i18nc("@option:check", "Bold text") 0026 } 0027 0028 QQC2.CheckBox { 0029 id: italicCheckBox 0030 text: i18nc("@option:check", "Italic text") 0031 } 0032 0033 Item { 0034 Kirigami.FormData.isSection: true 0035 } 0036 0037 QQC2.Slider { 0038 id: fuzzyness 0039 Kirigami.FormData.label: i18nc("@title:group", "Fuzzyness:") 0040 from: 1 0041 to: 5 0042 stepSize: 1 0043 } 0044 0045 RowLayout { 0046 Layout.fillWidth: true 0047 0048 QQC2.Label { 0049 text: i18nc("@item:inrange", "Accurate") 0050 textFormat: Text.PlainText 0051 } 0052 0053 Item { 0054 Layout.fillWidth: true 0055 } 0056 0057 QQC2.Label { 0058 text: i18nc("@item:inrange", "Fuzzy") 0059 textFormat: Text.PlainText 0060 } 0061 } 0062 } 0063 }