11import QtQuick.Layouts 1.15
12import QtQuick.Controls 2.15
17 objectName: "containerObj"
21 property double buttonOpacity: 0.2
22 property double categoryTitleOpacity: 0.350
26 objectName:
"progressBar"
27 width: container.width
36 text:
xi18n(
"What's Interesting...")
37 renderType: Text.QtRendering
38 verticalAlignment: Text.AlignVCenter
48 objectName:
"categoryTitle"
53 renderType: Text.QtRendering
54 verticalAlignment: Text.AlignVCenter
55 horizontalAlignment: Text.AlignHCenter
77 objectName:
"viewsRowObj"
84 signal categorySelected(
string category)
85 signal inspectSkyObject(
string name);
90 height: parent.height - 150
100 bottom: parent.bottom
116 width: nakedEyeText.width
117 height: nakedEyeText.height
119 verticalCenterOffset: -250
120 horizontalCenterOffset: 0
127 title:
xi18n(
"Naked-Eye Objects")
128 renderType: Text.QtRendering
129 anchors.centerIn: parent
136 height: sunText.height
138 verticalCenterOffset: -210
139 horizontalCenterOffset: -50
147 renderType: Text.QtRendering
148 anchors.centerIn: parent
154 onEntered: sunText.state =
"selected"
155 onExited: sunText.state =
""
157 viewsRow.inspectSkyObject(
"Sun")
158 catTitle.text =
xi18n(
"Sun")
159 container.state = "singleItemSelected"
167 width: moonText.
width
168 height: moonText.height
170 verticalCenterOffset: -210
171 horizontalCenterOffset: 50
179 renderType: Text.QtRendering
180 anchors.centerIn: parent
186 onEntered: moonText.state =
"selected"
187 onExited: moonText.state =
""
189 viewsRow.inspectSkyObject(
"Moon")
190 catTitle.text =
xi18n(
"Moon")
191 container.state = "singleItemSelected"
201 width: planetText.
width
202 height: planetText.height
204 verticalCenterOffset: -170
205 horizontalCenterOffset: -50
212 title:
xi18n(
"Planets")
213 renderType: Text.QtRendering
214 anchors.centerIn: parent
220 onEntered: planetText.state =
"selected"
221 onExited: planetText.state =
""
223 viewsRow.categorySelected(
"planets")
224 catTitle.text =
xi18n(
"Planets")
225 container.state = "objectFromListSelected"
233 width: satelliteText.
width
234 height: satelliteText.height
236 verticalCenterOffset: -170
237 horizontalCenterOffset: 50
243 title:
xi18n(
"Satellites")
244 renderType: Text.QtRendering
245 anchors.centerIn: parent
248 id: satelliteMouseArea
251 onEntered: satelliteText.state =
"selected"
252 onExited: satelliteText.state =
""
254 viewsRow.categorySelected(
"satellites")
255 catTitle.text =
xi18n(
"Satellites")
256 container.state = "objectFromListSelected"
265 width: starText.
width
266 height: starText.height
268 verticalCenterOffset: -130
269 horizontalCenterOffset: -50
276 title:
xi18n(
"Stars")
277 renderType: Text.QtRendering
278 anchors.centerIn: parent
284 onEntered: starText.state =
"selected"
285 onExited: starText.state =
""
287 viewsRow.categorySelected(
"stars")
288 catTitle.text =
xi18n(
"Stars")
289 container.state = "objectFromListSelected"
298 height: conText.height
300 verticalCenterOffset: -130
301 horizontalCenterOffset: 50
307 title:
xi18n(
"Constellations")
308 renderType: Text.QtRendering
309 anchors.centerIn: parent
315 onEntered: conText.state =
"selected"
316 onExited: conText.state =
""
318 viewsRow.categorySelected(
"constellations")
319 catTitle.text =
xi18n(
"Constellations")
320 container.state = "objectFromListSelected"
329 height: dsoText.height
332 verticalCenterOffset: -90
333 horizontalCenterOffset: 0
340 title:
xi18n(
"Deep-sky Objects")
341 renderType: Text.QtRendering
342 anchors.centerIn: parent
349 width: asteroidText.
width
350 height: asteroidText.height
352 verticalCenterOffset: -50
353 horizontalCenterOffset: -50
360 title:
xi18n(
"Asteroids")
361 renderType: Text.QtRendering
362 anchors.centerIn: parent
365 id: asteroidMouseArea
368 onEntered: asteroidText.state =
"selected"
369 onExited: asteroidText.state =
""
371 viewsRow.categorySelected(
"asteroids")
372 catTitle.text =
xi18n(
"Asteroids")
373 container.state = "objectFromListSelected"
382 width: cometText.
width
383 height: cometText.height
385 verticalCenterOffset: -50
386 horizontalCenterOffset: 50
393 title:
xi18n(
"Comets")
394 renderType: Text.QtRendering
395 anchors.centerIn: parent
401 onEntered: cometText.state =
"selected"
402 onExited: cometText.state =
""
404 viewsRow.categorySelected(
"comets")
405 catTitle.text =
xi18n(
"Comets")
406 container.state = "objectFromListSelected"
416 height: galText.height
419 verticalCenterOffset: -10
420 horizontalCenterOffset: -50
426 title:
xi18n(
"Galaxies")
427 renderType: Text.QtRendering
437 onEntered: galText.state =
"selected"
438 onExited: galText.state =
""
440 viewsRow.categorySelected(
"galaxies")
441 catTitle.text =
xi18n(
"Galaxies")
442 container.state = "objectFromListSelected"
452 height: nebText.height
455 verticalCenterOffset: -10
456 horizontalCenterOffset: 50
462 title:
xi18n(
"Nebulae")
463 renderType: Text.QtRendering
464 anchors.centerIn: parent
470 onEntered: nebText.state =
"selected"
471 onExited: nebText.state =
""
473 viewsRow.categorySelected(
"nebulas")
474 catTitle.text =
xi18n(
"Nebulae")
475 container.state = "objectFromListSelected"
484 width: clustText.
width
485 height: clustText.height
488 verticalCenterOffset: 30
489 horizontalCenterOffset: -75
495 title:
xi18n(
"Clusters")
496 renderType: Text.QtRendering
497 anchors.centerIn: parent
503 onEntered: clustText.state =
"selected"
504 onExited: clustText.state =
""
506 viewsRow.categorySelected(
"clusters")
507 catTitle.text =
xi18n(
"Clusters")
508 container.state = "objectFromListSelected"
517 width: superText.
width
518 height: superText.height
521 verticalCenterOffset: 30
522 horizontalCenterOffset: 75
528 title:
xi18n(
"Supernovae")
529 renderType: Text.QtRendering
530 anchors.centerIn: parent
536 onEntered: superText.state =
"selected"
537 onExited: superText.state =
""
539 viewsRow.categorySelected(
"supernovas")
540 catTitle.text =
xi18n(
"Supernovae")
541 container.state = "objectFromListSelected"
549 width: catalogText.
width
550 height: catalogText.height
552 verticalCenterOffset: 70
553 horizontalCenterOffset: 0
560 title:
xi18n(
"Explore Catalogs")
561 renderType: Text.QtRendering
562 anchors.centerIn: parent
569 width: messierText.
width
570 height: messierText.height
573 verticalCenterOffset: 110
574 horizontalCenterOffset: 0
580 title:
xi18n(
"Messier Catalog")
581 renderType: Text.QtRendering
582 anchors.centerIn: parent
588 onEntered: messierText.state =
"selected"
589 onExited: messierText.state =
""
591 viewsRow.categorySelected(
"messier")
592 catTitle.text =
"Messier Catalog"
593 container.state =
"objectFromListSelected"
603 height: ngcText.height
606 verticalCenterOffset: 150
607 horizontalCenterOffset: 0
613 title:
xi18n(
"NGC Catalog")
614 renderType: Text.QtRendering
615 anchors.centerIn: parent
621 onEntered: ngcText.state =
"selected"
622 onExited: ngcText.state =
""
624 viewsRow.categorySelected(
"ngc")
625 catTitle.text =
"NGC Catalog"
626 container.state =
"objectFromListSelected"
636 height: icText.height
639 verticalCenterOffset: 190
640 horizontalCenterOffset: 0
646 title:
xi18n(
"IC Catalog")
647 renderType: Text.QtRendering
648 anchors.centerIn: parent
654 onEntered: icText.state =
"selected"
655 onExited: icText.state =
""
657 viewsRow.categorySelected(
"ic")
658 catTitle.text =
"IC Catalog"
659 container.state =
"objectFromListSelected"
669 height: sh2Text.height
672 verticalCenterOffset: 230
673 horizontalCenterOffset: 0
679 title:
xi18n(
"Sharpless Catalog")
680 renderType: Text.QtRendering
681 anchors.centerIn: parent
687 onEntered: sh2Text.state =
"selected"
688 onExited: sh2Text.state =
""
690 viewsRow.categorySelected(
"sharpless")
691 catTitle.text =
"Sharpless Catalog"
692 container.state =
"objectFromListSelected"
702 objectName:
"skyObjView"
704 height: parent.height - 150
705 anchors.leftMargin: categoryView.width
706 anchors.left: categoryView.right
707 property bool flipped:
false
712 enabled: !parent.flipped
715 id: soListViewBackground
716 anchors.fill: soListViewContainer
723 id: soListViewContainer
725 top: soListContainer.top
726 bottom: soListContainer.bottom
727 left: soListContainer.left
728 right: soListContainer.right
741 flickableDirection: Flickable.VerticalFlick
747 objectName:
"soListObj"
750 signal soListItemClicked(
int curIndex)
753 highlightMoveDuration: 1
758 id: soListEmptyMessage
759 objectName:
"soListEmptyMessage"
764 text:
xi18n(
"No Items to display")
765 renderType: Text.QtRendering
766 verticalAlignment: Text.AlignVCenter
767 horizontalAlignment: Text.AlignHCenter
774 visible: (soListView.count > 0 || container.state ===
"singleItemSelected") ?
false : true
780 y: soListView.visibleArea.yPosition * soListView.height
782 height: (soListView.visibleArea.heightRatio * soListView.height > 10) ? soListView.visibleArea.heightRatio * soListView.height : 10
786 drag.target: scrollbar
787 drag.axis: Drag.
YAxis
789 drag.maximumY: soListView.height - scrollbar.height
793 soListView.contentY = scrollbar.y / soListView.height * soListView.contentHeight
802 width: soListView.width
803 height: (dispSummary.height >= 130) ? dispSummary.height + 20 : 160
806 id: summaryBackground
807 color: (mouseListArea.containsMouse||mouseImgArea.containsMouse||mouseTextArea.containsMouse) ?
"#030723" :
"transparent"
809 height: parent.height
815 soListView.currentIndex = index
816 soListView.soListItemClicked(soListView.currentIndex)
817 skyObjView.flipped =
true
822 objectName: dispObjSummary
824 renderType: Text.QtRendering
825 textFormat: Text.RichText
828 width: parent.width - image.width - 30
829 color: (nightVision.state ===
"active" && soListItem.ListView.isCurrentItem) ?
"#F89404" : (nightVision.state ===
"active") ?
"red" : (soListItem.ListView.isCurrentItem) ?
"white" : (mouseListArea.containsMouse||mouseImgArea.containsMouse||mouseTextArea.containsMouse) ?
"yellow" :
"gray"
831 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
842 soListView.currentIndex = index
843 soListView.soListItemClicked(soListView.currentIndex)
844 skyObjView.flipped =
true
852 height: parent.height
853 fillMode: Image.PreserveAspectFit
860 soListView.currentIndex = index
861 soListView.soListItemClicked(soListView.currentIndex)
869 renderType: Text.QtRendering
870 color: (nightVision.state ===
"active" && soListItem.ListView.isCurrentItem) ?
"#F89404" : (nightVision.state ===
"active") ?
"red" : (mouseListArea.containsMouse||mouseImgArea.containsMouse||mouseTextArea.containsMouse) ?
"yellow" :
"white"
881 id: detailsViewContainer
883 height: parent.height
884 enabled: parent.flipped
888 id: detailsViewBackground
889 anchors.fill: detailsView
897 objectName:
"detailsViewObj"
899 height: parent.height
900 width: parent.width - 30
910 objectName:
"sonameObj"
916 renderType: Text.QtRendering
930 objectName:
"posTextObj"
931 y: parent.height - 50
940 renderType: Text.QtRendering
960 objectName:
"detailsTextObj"
967 id: detailsViewButtonsCol
978 objectName:
"detailsButtonObj"
982 text:
xi18n(
"More Details")
983 renderType: Text.QtRendering
990 signal detailsButtonClicked
997 onEntered: detailsButton.color = (nightVision.state ===
"active") ?
"red" :
"yellow"
998 onExited: detailsButton.color = (nightVision.state ===
"active") ?
"red" :
"white"
999 onClicked: detailsButton.detailsButtonClicked()
1005 objectName:
"centerButtonObj"
1009 text:
xi18n(
"Center in Map \n")
1010 renderType: Text.QtRendering
1017 signal centerButtonClicked
1020 id: centerObjMouseArea
1023 anchors.fill: parent
1024 onEntered: centerButton.color = (nightVision.state ===
"active") ?
"red" :
"yellow"
1025 onExited: centerButton.color = (nightVision.state ===
"active") ?
"red" :
"white"
1026 onClicked: centerButton.centerButtonClicked()
1030 text:
xi18n(
" Auto Track ")
1031 renderType: Text.QtRendering
1042 objectName:
"autoCenterCheckbox"
1050 objectName:
"autoTrackCheckbox"
1054 onClicked: centerButton.centerButtonClicked()
1061 id: slewTelescopeButton
1062 objectName:
"slewTelescopeButtonObj"
1066 text:
xi18n(
"Slew Telescope")
1067 renderType: Text.QtRendering
1074 signal slewTelescopeButtonClicked
1077 id: slewTelescopeObjMouseArea
1080 anchors.fill: parent
1081 onEntered: slewTelescopeButton.color = (nightVision.state ===
"active") ?
"red" :
"yellow"
1082 onExited: slewTelescopeButton.color = (nightVision.state ===
"active") ?
"red" :
"white"
1083 onClicked: slewTelescopeButton.slewTelescopeButtonClicked()
1088 id: tabBarObjectInfo
1091 currentIndex: tabBarObjectInfo.currentIndex
1093 text:
xi18n(
"Object Information")
1096 text:
xi18n(
"Wikipedia Infotext")
1103 currentIndex: tabBarObjectInfo.currentIndex
1104 height: parent.height - 170 - 50
1129 height: parent.height
1141 border.color:
"#585454"
1144 id: flickableDescText
1146 flickableDirection: Flickable.VerticalFlick
1148 height: parent.height - 10
1152 bottom: parent.bottom
1159 contentWidth: parent.width
1160 contentHeight: col.height + 4
1163 anchors.fill: parent
1169 width: parent.width - 20
1173 objectName:
"detailImage"
1174 property string refreshableSource
1175 fillMode: Image.PreserveAspectFit
1176 source: refreshableSource
1180 objectName:
"descTextObj"
1183 renderType: Text.QtRendering
1185 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1186 width: parent.width - 20
1192 onLinkActivated:
Qt.openUrlExternally(
link)
1194 anchors.fill: parent
1217 when: ( (container.state ===
"singleItemSelected" && detailsView.width >= 600)||(container.state !==
"singleItemSelected" && detailsView.width >= 600 && detailsView.width < 900))
1218 PropertyChanges{target:descTextBox2; parent: detailsView}
1219 PropertyChanges{target:descTextBox2; width: detailsView.width / 2}
1220 PropertyChanges{target:descTextBox2; anchors{
1221 top: detailsView.top
1224 left: tabbedView.right
1225 right: detailsView.right
1228 PropertyChanges{target:tabbedView; currentIndex: 0}
1229 PropertyChanges{target:tabBarObjectInfo; visible:
false}
1230 PropertyChanges{target:tabbedView; width: detailsView.width / 2}
1234 when: (detailsView.width >= 900 && container.state!==
"singleItemSelected")
1235 PropertyChanges{target: soListViewContainer; parent: detailsView}
1236 PropertyChanges{target: soListViewContainer; anchors{
1237 top: detailsView.top
1239 left: detailsView.left
1240 right: tabbedView.left
1243 PropertyChanges{target:descTextBox2; parent: detailsView}
1244 PropertyChanges{target:descTextBox2; width: detailsView.width / 3}
1245 PropertyChanges{target:descTextBox2; anchors{
1246 top: detailsView.top
1249 left: tabbedView.right
1250 right: detailsView.right
1253 PropertyChanges{target:soListViewContainer; width: detailsView.width / 3}
1254 PropertyChanges{target:tabbedView; x: detailsView.width / 3}
1255 PropertyChanges{target:detailsViewButtonsCol; anchors.left: soListViewContainer.right}
1256 PropertyChanges{target:soname; anchors.left: soListViewContainer.right}
1257 PropertyChanges{target:detailItemsCol; x: 150 + detailsView.width / 3}
1258 PropertyChanges{target:tabbedView; width: detailsView.width / 3}
1259 PropertyChanges{target:tabbedView; currentIndex: 0}
1260 PropertyChanges{target:tabBarObjectInfo; visible:
false}
1261 PropertyChanges{target:skyObjView; flipped:
true}
1267 bottom: infoBoxTab.bottom
1268 left: infoBoxTab.left
1269 right: infoBoxTab.right
1273 border.color:
"#585454"
1276 id: flickableInfoText
1278 flickableDirection: Flickable.VerticalFlick
1280 height: parent.height - 10
1284 bottom: parent.bottom
1289 contentWidth: parent.width
1290 contentHeight: col2.height + 4
1292 id: descInfoTextItem
1306 objectName:
"infoBoxText"
1307 textFormat: Text.RichText
1309 onLinkActivated:
Qt.openUrlExternally(link)
1311 anchors.fill: parent
1312 acceptedButtons:
Qt.NoButton
1313 cursorShape: parent.hoveredLink ?
Qt.PointingHandCursor :
Qt.ArrowCursor
1316 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1317 verticalAlignment: Text.AlignVCenter
1318 horizontalAlignment: Text.AlignHCenter
1319 text:
xi18n(
"Info Text")
1320 renderType: Text.QtRendering
1339 objectName:
"nextObj"
1340 width: nextObjText.width + nextObjIcon.width + 10
1345 bottom: parent.bottom
1349 signal nextObjClicked
1352 id: nextObjForeground
1354 anchors.fill: parent
1359 id: nextObjMouseArea
1361 anchors.fill: nextObjRect
1364 nextObjForeground.opacity = 0.1
1365 nextObjText.color = (nightVision.state ===
"active") ?
"red" :
"yellow"
1368 nextObjForeground.opacity = 0.0
1369 nextObjText.color = (nightVision.state ===
"active") ?
"red" :
"white"
1372 nextObjRect.nextObjClicked()
1373 soListView.positionViewAtIndex(soListView.currentIndex, ListView.Beginning)
1379 objectName:
"nextTextObj"
1384 renderType: Text.QtRendering
1386 right: nextObjIcon.left
1388 verticalCenter: parent.verticalCenter
1391 verticalAlignment: Text.AlignVCenter
1392 horizontalAlignment: Text.AlignRight
1404 verticalCenter: parent.verticalCenter
1416 objectName:
"prevObj"
1418 width: prevObjText.width + prevObjIcon.width + 10
1423 bottom: parent.bottom
1427 signal prevObjClicked
1430 id: prevObjForeground
1432 anchors.fill: parent
1437 id: prevObjMouseArea
1438 anchors.fill: parent
1441 prevObjForeground.opacity = 0.1
1442 prevObjText.color = (nightVision.state ===
"active") ?
"red" :
"yellow"
1445 prevObjForeground.opacity = 0.0
1446 prevObjText.color = (nightVision.state ===
"active") ?
"red" :
"white"
1449 prevObjRect.prevObjClicked()
1450 soListView.positionViewAtIndex(soListView.currentIndex, ListView.Beginning)
1456 objectName:
"prevTextObj"
1460 text:
xi18n(
"Previous")
1461 renderType: Text.QtRendering
1463 left: prevObjIcon.right
1465 verticalCenter: parent.verticalCenter
1468 horizontalAlignment: Text.AlignLeft
1469 verticalAlignment: Text.AlignVCenter
1478 anchors.verticalCenter: parent.verticalCenter
1483 source:
"previous.png"
1491 id: soItemEmptyMessage
1492 objectName:
"soItemEmptyMessage"
1494 anchors.fill: parent
1496 anchors.fill: parent
1497 text:
xi18n(
"No Items to display")
1498 renderType: Text.QtRendering
1499 verticalAlignment: Text.AlignVCenter
1500 horizontalAlignment: Text.AlignHCenter
1507 visible: (soListView.count > 0 || container.state ===
"singleItemSelected") ?
false : true
1516 prevObjRect.prevObjClicked();
1517 event.accepted =
true;
1518 soListView.positionViewAtIndex(soListView.currentIndex, ListView.Beginning)
1521 nextObjRect.nextObjClicked();
1522 event.accepted =
true;
1523 soListView.positionViewAtIndex(soListView.currentIndex, ListView.Beginning)
1531 target: listToDetailsRotation
1535 when: skyObjView.flipped
1542 target: listToDetailsRotation
1550 id: listToDetailsRotation
1551 origin.x: container.width / 2
1558 objectName:
"loadingMessage"
1560 anchors.fill: parent
1563 anchors.fill: parent
1564 text:
xi18n(
"Loading...")
1565 renderType: Text.QtRendering
1566 verticalAlignment: Text.AlignVCenter
1567 horizontalAlignment: Text.AlignHCenter
1577 PropertyChanges {target: loadingMessage; visible:
true }
1578 PropertyChanges {target: skyObjView; flipped:
false }
1586 objectName:
"helpMessage"
1588 anchors.fill: parent
1592 anchors.left: helpMessage.left
1593 anchors.right: helpMessage.right
1595 text:
xi18n(
"Explanation of the What's Interesting Panel")
1596 renderType: Text.QtRendering
1597 horizontalAlignment: Text.AlignHCenter
1607 anchors.top: helpText.bottom
1608 anchors.left: helpMessage.left
1609 anchors.right: helpMessage.right
1610 text:
xi18n(
"The What's Interesting Panel is intended to allow you to explore many different interesting objects in the night sky. It includes objects visible to the naked eye as well as objects that require telescopes. It is intended to appeal to both beginners and advanced astronomers. If you click on a category or catalog, a list of objects will appear. Clicking on an object in the list will bring up the details view where you can find out more information about the object. If you have thumbnail images or wikipedia information for this object, these will be displayed as well. If not, you can download them using the download icon. If you make What's Interesting wider, the display will dynamically change to display the information more conveniently. Please see the descriptions below for details on what the buttons at the bottom do.")
1611 renderType: Text.QtRendering
1612 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1620 id: helpSettingsImage
1621 anchors.top: helpExplainText.bottom
1622 source:
"settingsIcon.png"
1627 id: helpSettingsText
1628 anchors.top: helpExplainText.bottom
1629 anchors.left: helpSettingsImage.right
1630 anchors.right: helpMessage.right
1632 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1633 text:
xi18n(
"This button will bring up the What's Interesting Settings. It will let you configure what is displayed in What's Interesting based upon which equipment you are using and the observing conditions.")
1634 renderType: Text.QtRendering
1642 id: helpInspectImage
1643 anchors.top: helpSettingsText.bottom
1644 source:
"inspectIcon.png"
1650 anchors.top: helpSettingsText.bottom
1651 anchors.left: helpInspectImage.right
1652 anchors.right: helpMessage.right
1654 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1655 text:
xi18n(
"This button will turn on and off the Inspector Mode. In this mode you can click on any object in the map and What's Interesting will display the information about it.")
1656 renderType: Text.QtRendering
1665 anchors.top: helpInspectText.bottom
1666 source:
"reloadIcon.png"
1672 anchors.top: helpInspectText.bottom
1673 anchors.left: helpReloadImage.right
1674 anchors.right: helpMessage.right
1676 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1677 text:
xi18n(
"This button will reload the current object list, update all displayed information, update any images, and update the information and images for the currently selected object.")
1678 renderType: Text.QtRendering
1686 id: helpVisibleImage
1687 anchors.top: helpReloadText.bottom
1688 source:
"visibleIcon.png"
1694 anchors.top: helpReloadText.bottom
1695 anchors.left: helpVisibleImage.right
1696 anchors.right: helpMessage.right
1698 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1699 text:
xi18n(
"This button will toggle whether to filter the list to display only currently visible objects in a list or to display all of the objects in the list. The visibility is determined based on the current KStars date and time, the current observing equipment, and the current sky conditions based on the What's Interesting Settings.")
1700 renderType: Text.QtRendering
1708 id: helpFavoriteImage
1709 anchors.top: helpVisibleText.bottom
1710 source:
"favoriteIcon.png"
1715 id: helpFavoriteText
1716 anchors.top: helpVisibleText.bottom
1717 anchors.left: helpFavoriteImage.right
1718 anchors.right: helpMessage.right
1720 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1721 text:
xi18n(
"This button will toggle whether to filter the list to display only 'interesting' objects or to display any of the objects in the list. This setting only applies to the Galaxies, Nebulas, and Clusters lists. The objects are considered 'interesting' if they appear on the KStars 'interesting' list.")
1722 renderType: Text.QtRendering
1730 id: helpDownloadImage
1731 anchors.top: helpFavoriteText.bottom
1732 source:
"downloadIcon.png"
1737 id: helpDownloadText
1738 anchors.top: helpFavoriteText.bottom
1739 anchors.left: helpDownloadImage.right
1740 anchors.right: helpMessage.right
1742 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1743 text:
xi18n(
"This button will attempt to download information and pictures about the object(s) from Wikipedia. You can select whether to download the information about just one object, all of the objects in a list, or only the objects in a list for which no data was downloaded yet. Please note: If the list is currently filtered for visible objects or 'interesting' objects, only the filtered objects will be downloaded. If you actually want all the objects in the list, turn off the filters.")
1744 renderType: Text.QtRendering
1753 name:
"helpDisplayed"
1754 PropertyChanges {target: helpMessage; visible:
true }
1755 PropertyChanges {target: backButton; x: container.width - 105}
1763 x: container.width + 10
1764 y: container.height - 50
1765 width: leftArrow.width + goBackText.width + 18
1771 id: goBackForeground
1772 anchors.fill: parent
1782 renderType: Text.QtRendering
1784 left: leftArrow.right
1786 verticalCenterOffset: 0
1787 verticalCenter: leftArrow.verticalCenter
1793 verticalAlignment: Text.AlignVCenter
1794 horizontalAlignment: Text.AlignHCenter
1803 verticalCenterOffset: 0
1804 verticalCenter: parent.verticalCenter
1806 source:
"leftArrow.png"
1810 id: backButtonMouseArea
1811 anchors.fill: backButton
1813 onEntered: goBackForeground.opacity = buttonOpacity
1814 onExited: goBackForeground.opacity = 0.0
1816 if(helpMessage.state ===
"helpDisplayed"){
1817 helpMessage.state =
""
1818 }
else if (container.state ===
"objectFromListSelected") {
1819 if (!skyObjView.flipped||container.width>=900) {
1820 container.state =
"base"
1822 }
else if (skyObjView.flipped) {
1823 skyObjView.flipped =
false
1825 }
else if (container.state ===
"singleItemSelected") {
1826 container.state =
"base"
1828 if (container.width>=900) {
1829 skyObjView.flipped =
true
1831 skyObjView.flipped =
false
1840 objectName:
"settingsIconObj"
1842 y: container.height - 50
1846 verticalCenterOffset: 0
1847 verticalCenter: backButton.verticalCenter
1854 fillMode: Image.Stretch
1855 source:
"settingsIcon.png"
1857 signal settingsIconClicked
1860 id: settingsMouseArea
1861 anchors.fill: parent
1863 onEntered: settingsForeground.opacity = buttonOpacity
1864 onExited: settingsForeground.opacity = 0.0
1865 onClicked: settingsIcon.settingsIconClicked()
1869 id: settingsForeground
1870 anchors.fill: parent
1878 objectName:
"inspectIconObj"
1881 y: container.height - 50
1885 verticalCenterOffset: 0
1886 verticalCenter: backButton.verticalCenter
1893 fillMode: Image.Stretch
1894 source:
"inspectIcon.png"
1896 signal inspectIconClicked(
bool inspect)
1899 id: inspectMouseArea
1900 anchors.fill: parent
1902 onEntered: inspectForeground.opacity = buttonOpacity
1903 onExited: inspectForeground.opacity = 0.0
1905 inspectIcon.inspectIconClicked(inspectIcon.state ===
"checked")
1906 inspectIcon.state = (inspectIcon.state ===
"checked") ?
"" :
"checked"
1911 id: inspectForeground
1914 anchors.fill: parent
1919 PropertyChanges {target: inspectIcon; opacity: 0.5}
1926 objectName:
"reloadIconObj"
1928 y: container.height - 50
1932 verticalCenterOffset: 0
1933 verticalCenter: backButton.verticalCenter
1940 fillMode: Image.Stretch
1941 source:
"reloadIcon.png"
1943 signal reloadIconClicked
1947 anchors.fill: parent
1949 onEntered: reloadForeground.opacity = buttonOpacity
1950 onExited: reloadForeground.opacity = 0.0
1952 reloadIcon.reloadIconClicked();
1957 id: reloadForeground
1960 anchors.fill: parent
1965 when: (container.state !==
"objectFromListSelected" && container.state !==
"singleItemSelected")
1966 PropertyChanges {target: reloadMouseArea; enabled:
false}
1967 PropertyChanges {target: reloadIcon; opacity: 0}
1975 objectName:
"visibleIconObj"
1978 y: container.height - 50
1982 verticalCenterOffset: 0
1983 verticalCenter: backButton.verticalCenter
1990 fillMode: Image.Stretch
1991 source:
"visibleIcon.png"
1993 signal visibleIconClicked(
bool visible)
1996 id: visibleMouseArea
1997 anchors.fill: parent
1999 onEntered: visibleForeground.opacity = buttonOpacity
2000 onExited: visibleForeground.opacity = 0.0
2002 visibleIcon.visibleIconClicked(visibleIcon.state ===
"unchecked")
2003 visibleIcon.state = (visibleIcon.state ===
"unchecked") ?
"" :
"unchecked"
2008 id: visibleForeground
2011 anchors.fill: parent
2016 when: container.state !==
"objectFromListSelected"
2017 PropertyChanges {target: visibleMouseArea; enabled:
false}
2018 PropertyChanges {target: visibleIcon; opacity: 0}
2022 PropertyChanges {target: visibleIcon; opacity: 0.5}
2029 objectName:
"favoriteIconObj"
2032 y: container.height - 50
2036 verticalCenterOffset: 0
2037 verticalCenter: backButton.verticalCenter
2044 fillMode: Image.Stretch
2045 source:
"favoriteIcon.png"
2047 signal favoriteIconClicked(
bool favorite)
2050 id: favoriteMouseArea
2051 anchors.fill: parent
2053 onEntered: favoriteForeground.opacity = buttonOpacity
2054 onExited: favoriteForeground.opacity = 0.0
2056 favoriteIcon.favoriteIconClicked(favoriteIcon.state ===
"unchecked")
2057 favoriteIcon.state = (favoriteIcon.state ===
"unchecked") ?
"" :
"unchecked"
2068 id: favoriteForeground
2071 anchors.fill: parent
2076 when: container.state !==
"objectFromListSelected"
2077 PropertyChanges {target: favoriteMouseArea; enabled:
false}
2078 PropertyChanges {target: favoriteIcon; opacity: 0}
2082 PropertyChanges {target: favoriteIcon; opacity: 0.5}
2089 objectName:
"downloadIconObj"
2091 y: container.height - 50
2095 verticalCenterOffset: 0
2096 verticalCenter: backButton.verticalCenter
2103 fillMode: Image.Stretch
2104 source:
"downloadIcon.png"
2106 signal downloadIconClicked
2109 id: downloadMouseArea
2110 anchors.fill: parent
2112 onEntered: downloadForeground.opacity = buttonOpacity
2113 onExited: downloadForeground.opacity = 0.0
2114 onClicked: downloadIcon.downloadIconClicked()
2118 id: downloadForeground
2121 anchors.fill: parent
2126 when: container.state ===
"base" || container.state ===
""
2127 PropertyChanges {target: downloadMouseArea; enabled:
false}
2128 PropertyChanges {target: downloadIcon; opacity: 0}
2136 y: container.height - 50
2140 verticalCenterOffset: 0
2141 verticalCenter: backButton.verticalCenter
2148 fillMode: Image.Stretch
2149 source:
"helpIcon.png"
2153 anchors.fill: parent
2155 onEntered: helpForeground.opacity = buttonOpacity
2156 onExited: helpForeground.opacity = 0.0
2157 onClicked: (helpMessage.state ===
"helpDisplayed") ? helpMessage.state =
"" : helpMessage.state =
"helpDisplayed"
2164 anchors.fill: parent
2170 objectName:
"nightVision"
2173 anchors.fill: parent
2178 PropertyChanges {target: nightVision; opacity: 0.2}
2179 PropertyChanges {target: tabbedView; style: tabbedView.nightTabs}
2180 PropertyChanges {target: title; color:
"red"}
2181 PropertyChanges {target: catTitle; color:
"red"}
2182 PropertyChanges {target: nakedEyeText; color:
"red"}
2183 PropertyChanges {target: dsoText; color:
"red"}
2184 PropertyChanges {target: catalogText; color:
"red"}
2185 PropertyChanges {target: soListEmptyMessage; color:
"red"}
2186 PropertyChanges {target: soItemEmptyMessage; color:
"red"}
2187 PropertyChanges {target: scrollbar; color:
"red"}
2188 PropertyChanges {target: prevObjText; color:
"red"}
2189 PropertyChanges {target: nextObjText; color:
"red"}
2190 PropertyChanges {target: detailsText; color:
"red"}
2191 PropertyChanges {target: soname; color:
"red"}
2192 PropertyChanges {target: posText; color:
"red"}
2193 PropertyChanges {target: detailsButton; color:
"red"}
2194 PropertyChanges {target: centerButton; color:
"red"}
2195 PropertyChanges {target: slewTelescopeButton; color:
"red"}
2196 PropertyChanges {target: goBackText; color:
"red"}
2208 name:
"singleItemSelected"
2212 x: -(2 * categoryView.width)
2220 PropertyChanges{target:skyObjView; flipped:
true}
2224 x: container.width - 105
2228 name:
"objectFromListSelected"
2232 x: -(2 * categoryView.width)
2242 x: container.width - 105
2251 to:
"objectFromListSelected"
2256 easing.
type: Easing.InOutQuad
2262 easing.
type: Easing.InOutQuad
2266 from:
"objectFromListSelected"
2272 easing.
type: Easing.InOutQuad
2278 easing.
type: Easing.InOutQuad
QString xi18n(const char *text, const TYPE &arg...)
AKONADI_CALENDAR_EXPORT KCalendarCore::Event::Ptr event(const Akonadi::Item &item)
Type type(const QSqlDatabase &db)
qreal pixelSize(qreal scale)
KIOCORE_EXPORT CopyJob * link(const QList< QUrl > &src, const QUrl &destDir, JobFlags flags=DefaultFlags)
QString name(StandardAction id)
const QList< QKeySequence > & back()
QString & fill(QChar ch, qsizetype size)
QTextStream & left(QTextStream &stream)
QTextStream & right(QTextStream &stream)