Warning, /utilities/kweather/src/qml/settings/SettingsDialog.qml is written in an unsupported language. File is not indexed.

0001 // SPDX-FileCopyrightText: 2022 Devin Lin <espidev@gmail.com>
0002 // SPDX-License-Identifier: GPL-2.0-or-later
0003 
0004 import QtQuick
0005 import QtQuick.Controls as Controls
0006 import QtQuick.Layouts
0007 
0008 import org.kde.kirigami as Kirigami
0009 
0010 Kirigami.Dialog {
0011     id: root
0012     title: i18n("Settings")
0013     standardButtons: Kirigami.Dialog.NoButton
0014     
0015     preferredWidth: Kirigami.Units.gridUnit * 35
0016     
0017     Kirigami.Theme.inherit: false
0018     Kirigami.Theme.colorSet: Kirigami.Theme.Window
0019     
0020     Controls.Control {
0021         id: control
0022         leftPadding: 0
0023         rightPadding: 0
0024         topPadding: Kirigami.Units.gridUnit
0025         bottomPadding: Kirigami.Units.gridUnit
0026         
0027         background: Rectangle {
0028             Kirigami.Theme.inherit: false
0029             Kirigami.Theme.colorSet: Kirigami.Theme.Window
0030             color: Kirigami.Theme.backgroundColor
0031         }
0032         
0033         contentItem: SettingsComponent {
0034             dialog: root
0035             width: control.width
0036         }
0037     }
0038 }