Kstars
4 import QtQuick.Controls 2.0
6 import QtQuick.Layouts 1.1
7 import
"../../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
86 height: isTelescope ? implicitHeight : 0
88 property bool isTelescope: telescope ==
null ? false :
true
89 property var telescope:
null
95 if(!telescopeCol.isTelescope) {
96 telescopeCol.telescope = newTelescope
97 telescopeName.text = newTelescope.deviceName
101 onTelescopeRemoved: {
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)
bool centerLocked
true if SkyMapLite is centered on an object and only pinch-to-zoom needs to be available
KIOCORE_EXPORT FileJob * open(const QUrl &url, QIODevice::OpenMode mode)
QTextStream & left(QTextStream &stream)
QString xi18n(const char *text, const TYPE &arg...)
void slotCenter()
Center the display at the point ClickedPoint.
QTextStream & left(QTextStream &s)
Item for displaying sky objects; also handles user interaction events.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Aug 14 2022 04:13:55 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.