Warning, /education/kstars/kstars/kstarslite/qml/dialogs/helpers/LocationLoading.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2016 Artem Fedoskin <afedoskin3@gmail.com> 0002 // SPDX-License-Identifier: GPL-2.0-or-later 0003 0004 import QtQuick.Controls 2.0 0005 import QtQuick 2.7 0006 import QtQuick.Layouts 1.1 0007 import "../../constants" 1.0 0008 import "../../modules" 0009 import QtPositioning 5.2 0010 0011 Popup { 0012 x: (window.width - width) / 2 0013 y: window.height / 6 0014 focus: true 0015 modal: true 0016 0017 background: Rectangle { 0018 anchors.fill: parent 0019 color: Num.sysPalette.base 0020 } 0021 0022 ColumnLayout { 0023 id: aboutDialog 0024 focus: true 0025 width: Math.min(window.width, window.height) / 3 * 2 0026 0027 Column { 0028 id: loadingColumn 0029 width: parent.width 0030 0031 BusyIndicator { 0032 anchors.horizontalCenter: parent.horizontalCenter 0033 } 0034 0035 KSLabel { 0036 id: fetchText 0037 width: parent.width 0038 wrapMode: Label.Wrap 0039 horizontalAlignment: Label.AlignHCenter 0040 text: locationEdit.loadingText 0041 } 0042 0043 Button { 0044 anchors.horizontalCenter: parent.horizontalCenter 0045 text: xi18n("Cancel") 0046 onClicked: { 0047 close() 0048 } 0049 } 0050 } 0051 } 0052 }