Warning, /education/kstars/kstars/kstarslite/qml/modules/popups/FOVPopup.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.6 0006 import QtQuick.Layouts 1.1 0007 import "../../constants" 1.0 0008 import "../../modules" 0009 import KStarsLiteEnums 1.0 0010 0011 Popup { 0012 id: fovPopup 0013 focus: true 0014 modal: true 0015 width: fovList.implicitWidth 0016 height: parent.height > fovList.implicitHeight ? fovList.implicitHeight : parent.height 0017 background: Rectangle { 0018 anchors.fill: parent 0019 color: Num.sysPalette.base 0020 } 0021 0022 KSListView { 0023 id: fovList 0024 anchors { 0025 fill: parent 0026 centerIn: parent 0027 } 0028 checkable: true 0029 0030 model: SkyMapLite.FOVSymbols 0031 onClicked: { 0032 SkyMapLite.setFOVVisible(index, checked) 0033 } 0034 } 0035 }