5import QtQuick.Controls 2.0
7import "../constants" 1.0
14 property alias notification: notification
18 objectName:
"skyMapLiteWrapper"
24 target: colorSchemePopup
25 onColorSchemeChanged: {
32 onCurrentItemChanged: {
33 if(stackView.currentItem != initPage) {
36 skyMapLiteWrapper.width = 0
37 skyMapLiteWrapper.height = 0
38 skyMapLite.visible =
false
42 if(stackView.currentItem == initPage) {
43 skyMapLite.visible =
true
44 skyMapLiteWrapper.width =
Qt.binding(function() {
return skyMapLite.width})
45 skyMapLiteWrapper.height =
Qt.binding(function() {
return skyMapLite.height})
63 lockBG.color =
"#D40000"
68 background: Rectangle {
75 border.color:
"#AA0000"
79 source:
"../images/lock-closed.png"
80 anchors.centerIn: parent
95 source:
"../images/back.png"
96 anchors.centerIn: parent
117 tapCircle.x = pos.x - tapCircle.width * 0.5
118 tapCircle.y = pos.y - tapCircle.height * 0.5
121 onPointLiteChanged: {
122 contextMenu.openPoint()
125 onObjectLiteChanged: {
126 contextMenu.openObject()
130 SequentialAnimation on opacity {
132 OpacityAnimator { from: 0; to: 0.8; duration: 100 }
133 OpacityAnimator { from: 0.8; to: 0; duration: 400 }
149 PassiveNotification {
155 bottom: bottomMenu.top
156 horizontalCenter: parent.horizontalCenter
161 onNotificationMessage: {
162 skyMapLite.notification.showNotification(msg)
174 bottom: bottomMenu.top
This class loads QML files and connects SkyMapLite and KStarsData Unlike KStars class it is not a mai...
This is the main item that displays all SkyItems.
bool centerLocked
true if SkyMapLite is centered on an object and only pinch-to-zoom needs to be available
Q_INVOKABLE QColor getColor(QString name)
returns color with key name from current color scheme
QTextStream & left(QTextStream &stream)
QTextStream & right(QTextStream &stream)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:46 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.