Warning, /utilities/filelight/src/qml/SettingsPage.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0002 // SPDX-FileCopyrightText: 2022 Harald Sitter <sitter@kde.org> 0003 0004 import QtQuick 2.15 0005 import QtQuick.Layouts 1.15 0006 import QtQuick.Controls 2.15 as QQC2 0007 import org.kde.kirigami 2.19 as Kirigami 0008 import QtQuick.Window 2.15 0009 0010 import org.kde.filelight 1.0 0011 0012 QQC2.Pane { 0013 ColumnLayout { 0014 id: layout 0015 anchors.fill: parent 0016 spacing: 0 0017 0018 QQC2.TabBar { 0019 Layout.fillWidth: true 0020 id: bar 0021 QQC2.TabButton { 0022 text: i18nc("@title", "Scanning") 0023 } 0024 QQC2.TabButton { 0025 text: i18nc("@title", "Appearance") 0026 } 0027 } 0028 0029 QQC2.Frame { 0030 Layout.fillWidth: true 0031 Layout.fillHeight: true 0032 0033 StackLayout { 0034 anchors.fill: parent 0035 currentIndex: bar.currentIndex 0036 SettingsPageScanning {} 0037 SettingsPageAppearance {} 0038 } 0039 0040 Connections { 0041 target: layout.Window.window 0042 function onClosing() { 0043 Config.write(); 0044 } 0045 } 0046 } 0047 } 0048 }