Kstars
4import QtQuick.Controls 2.0
6import QtQuick.Layouts 1.1
7import "../../constants" 1.0
14 transformOrigin:
Menu.Center
16 background: Rectangle {
18 color:
Num.sysPalette.base
22 property bool isPoint:
false
24 function openPoint() {
29 function openObject() {
40 text: isPoint ?
xi18n(
"Empty Sky") :
SkyMapLite.clickedObjectLite.translatedName
41 wrapMode: Label.WrapAtWordBoundaryOrAnywhere
51 color:
Num.sysPalette.light
52 width: parent.width - 10
55 horizontalCenter: parent.horizontalCenter
61 text:
xi18n(
"Center and Track")
71 text:
xi18n(
"Details")
72 onTriggered: stackView.push(detailsDialog)
77 height: telescopeCol.isTelescope ? 15 : 0
89 property var telescope:
null
95 if(!telescopeCol.isTelescope) {
96 telescopeCol.telescope = newTelescope
97 telescopeName.text = newTelescope.deviceName
102 telescopeCol.telescope =
null
108 visible: telescopeCol.isTelescope
118 color:
Num.sysPalette.light
119 visible: telescopeCol.isTelescope
120 width: parent.width - 10
123 horizontalCenter: parent.horizontalCenter
129 visible: telescopeCol.isTelescope
131 onTriggered: telescopeCol.telescope.slew(
SkyMapLite.clickedObjectLite)
135 visible: telescopeCol.isTelescope
137 onTriggered: telescopeCol.telescope.sync(
SkyMapLite.clickedObjectLite)
This is the main item that displays all SkyItems.
void slotCenter()
Center the display at the point ClickedPoint.
bool centerLocked
true if SkyMapLite is centered on an object and only pinch-to-zoom needs to be available
QString xi18n(const char *text, const TYPE &arg...)
const QList< QKeySequence > & open()
QTextStream & left(QTextStream &stream)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:03 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.