Warning, /utilities/kweather/src/qml/locationslist/AddLocationDialog.qml is written in an unsupported language. File is not indexed.
0001 // Copyright 2022 Devin Lin <espidev@gmail.com> 0002 // SPDX-License-Identifier: GPL-2.0-or-later 0003 0004 import QtQuick 0005 import QtQuick.Controls 0006 import QtQuick.Layouts 0007 import org.kde.kirigami as Kirigami 0008 0009 Kirigami.Dialog { 0010 id: root 0011 0012 standardButtons: Kirigami.Dialog.NoButton 0013 parent: applicationWindow().overlay 0014 title: i18n("Add Location") 0015 preferredHeight: Kirigami.Units.gridUnit * 20 0016 preferredWidth: Kirigami.Units.gridUnit * 20 0017 padding: 0 0018 0019 onOpened: addLocationListView.focusRequested() 0020 0021 AddLocationListView { 0022 id: addLocationListView 0023 clip: true 0024 onCloseRequested: root.close(); 0025 } 0026 } 0027