9import QtQuick.Layouts 2.15
10import QtQuick.Controls 2.15
15 objectName: "containerObj"
19 property double buttonOpacity: 0.2
20 property double categoryTitleOpacity: 0.350
24 objectName:
"progressBar"
25 width: container.width
34 text:
xi18n(
"What's Interesting...")
35 renderType: Text.QtRendering
36 verticalAlignment: Text.AlignVCenter
46 objectName:
"categoryTitle"
51 renderType: Text.QtRendering
52 verticalAlignment: Text.AlignVCenter
53 horizontalAlignment: Text.AlignHCenter
75 objectName:
"viewsRowObj"
82 signal categorySelected(
string category)
83 signal inspectSkyObject(
string name);
88 height: parent.height - 150
114 width: nakedEyeText.width
115 height: nakedEyeText.height
117 verticalCenterOffset: -250
118 horizontalCenterOffset: 0
125 title:
xi18n(
"Naked-Eye Objects")
126 renderType: Text.QtRendering
127 anchors.centerIn: parent
134 height: sunText.height
136 verticalCenterOffset: -210
137 horizontalCenterOffset: -50
145 renderType: Text.QtRendering
146 anchors.centerIn: parent
152 onEntered: sunText.state =
"selected"
153 onExited: sunText.state =
""
155 viewsRow.inspectSkyObject(
"Sun")
156 catTitle.text =
xi18n(
"Sun")
157 container.state = "singleItemSelected"
165 width: moonText.
width
166 height: moonText.height
168 verticalCenterOffset: -210
169 horizontalCenterOffset: 50
177 renderType: Text.QtRendering
178 anchors.centerIn: parent
184 onEntered: moonText.state =
"selected"
185 onExited: moonText.state =
""
187 viewsRow.inspectSkyObject(
"Moon")
188 catTitle.text =
xi18n(
"Moon")
189 container.state = "singleItemSelected"
199 width: planetText.
width
200 height: planetText.height
202 verticalCenterOffset: -170
203 horizontalCenterOffset: -50
210 title:
xi18n(
"Planets")
211 renderType: Text.QtRendering
212 anchors.centerIn: parent
218 onEntered: planetText.state =
"selected"
219 onExited: planetText.state =
""
221 viewsRow.categorySelected(
"planets")
222 catTitle.text =
xi18n(
"Planets")
223 container.state = "objectFromListSelected"
231 width: satelliteText.
width
232 height: satelliteText.height
234 verticalCenterOffset: -170
235 horizontalCenterOffset: 50
241 title:
xi18n(
"Satellites")
242 renderType: Text.QtRendering
243 anchors.centerIn: parent
246 id: satelliteMouseArea
249 onEntered: satelliteText.state =
"selected"
250 onExited: satelliteText.state =
""
252 viewsRow.categorySelected(
"satellites")
253 catTitle.text =
xi18n(
"Satellites")
254 container.state = "objectFromListSelected"
263 width: starText.
width
264 height: starText.height
266 verticalCenterOffset: -130
267 horizontalCenterOffset: -50
274 title:
xi18n(
"Stars")
275 renderType: Text.QtRendering
276 anchors.centerIn: parent
282 onEntered: starText.state =
"selected"
283 onExited: starText.state =
""
285 viewsRow.categorySelected(
"stars")
286 catTitle.text =
xi18n(
"Stars")
287 container.state = "objectFromListSelected"
296 height: conText.height
298 verticalCenterOffset: -130
299 horizontalCenterOffset: 50
305 title:
xi18n(
"Constellations")
306 renderType: Text.QtRendering
307 anchors.centerIn: parent
313 onEntered: conText.state =
"selected"
314 onExited: conText.state =
""
316 viewsRow.categorySelected(
"constellations")
317 catTitle.text =
xi18n(
"Constellations")
318 container.state = "objectFromListSelected"
327 height: dsoText.height
330 verticalCenterOffset: -90
331 horizontalCenterOffset: 0
338 title:
xi18n(
"Deep-sky Objects")
339 renderType: Text.QtRendering
340 anchors.centerIn: parent
347 width: asteroidText.
width
348 height: asteroidText.height
350 verticalCenterOffset: -50
351 horizontalCenterOffset: -50
358 title:
xi18n(
"Asteroids")
359 renderType: Text.QtRendering
360 anchors.centerIn: parent
363 id: asteroidMouseArea
366 onEntered: asteroidText.state =
"selected"
367 onExited: asteroidText.state =
""
369 viewsRow.categorySelected(
"asteroids")
370 catTitle.text =
xi18n(
"Asteroids")
371 container.state = "objectFromListSelected"
380 width: cometText.
width
381 height: cometText.height
383 verticalCenterOffset: -50
384 horizontalCenterOffset: 50
391 title:
xi18n(
"Comets")
392 renderType: Text.QtRendering
393 anchors.centerIn: parent
399 onEntered: cometText.state =
"selected"
400 onExited: cometText.state =
""
402 viewsRow.categorySelected(
"comets")
403 catTitle.text =
xi18n(
"Comets")
404 container.state = "objectFromListSelected"
414 height: galText.height
417 verticalCenterOffset: -10
418 horizontalCenterOffset: -50
424 title:
xi18n(
"Galaxies")
425 renderType: Text.QtRendering
435 onEntered: galText.state =
"selected"
436 onExited: galText.state =
""
438 viewsRow.categorySelected(
"galaxies")
439 catTitle.text =
xi18n(
"Galaxies")
440 container.state = "objectFromListSelected"
450 height: nebText.height
453 verticalCenterOffset: -10
454 horizontalCenterOffset: 50
460 title:
xi18n(
"Nebulae")
461 renderType: Text.QtRendering
462 anchors.centerIn: parent
468 onEntered: nebText.state =
"selected"
469 onExited: nebText.state =
""
471 viewsRow.categorySelected(
"nebulas")
472 catTitle.text =
xi18n(
"Nebulae")
473 container.state = "objectFromListSelected"
482 width: clustText.
width
483 height: clustText.height
486 verticalCenterOffset: 30
487 horizontalCenterOffset: -75
493 title:
xi18n(
"Clusters")
494 renderType: Text.QtRendering
495 anchors.centerIn: parent
501 onEntered: clustText.state =
"selected"
502 onExited: clustText.state =
""
504 viewsRow.categorySelected(
"clusters")
505 catTitle.text =
xi18n(
"Clusters")
506 container.state = "objectFromListSelected"
515 width: superText.
width
516 height: superText.height
519 verticalCenterOffset: 30
520 horizontalCenterOffset: 75
526 title:
xi18n(
"Supernovae")
527 renderType: Text.QtRendering
528 anchors.centerIn: parent
534 onEntered: superText.state =
"selected"
535 onExited: superText.state =
""
537 viewsRow.categorySelected(
"supernovas")
538 catTitle.text =
xi18n(
"Supernovae")
539 container.state = "objectFromListSelected"
547 width: catalogText.
width
548 height: catalogText.height
550 verticalCenterOffset: 70
551 horizontalCenterOffset: 0
558 title:
xi18n(
"Explore Catalogs")
559 renderType: Text.QtRendering
560 anchors.centerIn: parent
567 width: messierText.
width
568 height: messierText.height
571 verticalCenterOffset: 110
572 horizontalCenterOffset: 0
578 title:
xi18n(
"Messier Catalog")
579 renderType: Text.QtRendering
580 anchors.centerIn: parent
586 onEntered: messierText.state =
"selected"
587 onExited: messierText.state =
""
589 viewsRow.categorySelected(
"messier")
590 catTitle.text =
"Messier Catalog"
591 container.state =
"objectFromListSelected"
601 height: ngcText.height
604 verticalCenterOffset: 150
605 horizontalCenterOffset: 0
611 title:
xi18n(
"NGC Catalog")
612 renderType: Text.QtRendering
613 anchors.centerIn: parent
619 onEntered: ngcText.state =
"selected"
620 onExited: ngcText.state =
""
622 viewsRow.categorySelected(
"ngc")
623 catTitle.text =
"NGC Catalog"
624 container.state =
"objectFromListSelected"
634 height: icText.height
637 verticalCenterOffset: 190
638 horizontalCenterOffset: 0
644 title:
xi18n(
"IC Catalog")
645 renderType: Text.QtRendering
646 anchors.centerIn: parent
652 onEntered: icText.state =
"selected"
653 onExited: icText.state =
""
655 viewsRow.categorySelected(
"ic")
656 catTitle.text =
"IC Catalog"
657 container.state =
"objectFromListSelected"
667 height: sh2Text.height
670 verticalCenterOffset: 230
671 horizontalCenterOffset: 0
677 title:
xi18n(
"Sharpless Catalog")
678 renderType: Text.QtRendering
679 anchors.centerIn: parent
685 onEntered: sh2Text.state =
"selected"
686 onExited: sh2Text.state =
""
688 viewsRow.categorySelected(
"sharpless")
689 catTitle.text =
"Sharpless Catalog"
690 container.state =
"objectFromListSelected"
700 objectName:
"skyObjView"
702 height: parent.height - 150
703 anchors.leftMargin: categoryView.width
704 anchors.left: categoryView.right
705 property bool flipped:
false
710 enabled: !parent.flipped
713 id: soListViewBackground
714 anchors.fill: soListViewContainer
721 id: soListViewContainer
723 top: soListContainer.top
724 bottom: soListContainer.bottom
725 left: soListContainer.left
726 right: soListContainer.right
739 flickableDirection: Flickable.VerticalFlick
745 objectName:
"soListObj"
748 signal soListItemClicked(
int curIndex)
751 highlightMoveDuration: 1
756 id: soListEmptyMessage
757 objectName:
"soListEmptyMessage"
762 text:
xi18n(
"No Items to display")
763 renderType: Text.QtRendering
764 verticalAlignment: Text.AlignVCenter
765 horizontalAlignment: Text.AlignHCenter
772 visible: (soListView.count > 0 || container.state ===
"singleItemSelected") ?
false : true
778 y: soListView.visibleArea.yPosition * soListView.height
780 height: (soListView.visibleArea.heightRatio * soListView.height > 10) ? soListView.visibleArea.heightRatio * soListView.height : 10
784 drag.target: scrollbar
785 drag.axis: Drag.
YAxis
787 drag.maximumY: soListView.height - scrollbar.height
791 soListView.contentY = scrollbar.y / soListView.height * soListView.contentHeight
800 width: soListView.width
801 height: (dispSummary.height >= 130) ? dispSummary.height + 20 : 160
804 id: summaryBackground
805 color: (mouseListArea.containsMouse||mouseImgArea.containsMouse||mouseTextArea.containsMouse) ?
"#030723" :
"transparent"
807 height: parent.height
813 soListView.currentIndex = index
814 soListView.soListItemClicked(soListView.currentIndex)
815 skyObjView.flipped =
true
820 objectName: dispObjSummary
822 renderType: Text.QtRendering
823 textFormat: Text.RichText
826 width: parent.width - image.width - 30
827 color: (nightVision.state ===
"active" && soListItem.ListView.isCurrentItem) ?
"#F89404" : (nightVision.state ===
"active") ?
"red" : (soListItem.ListView.isCurrentItem) ?
"white" : (mouseListArea.containsMouse||mouseImgArea.containsMouse||mouseTextArea.containsMouse) ?
"yellow" :
"gray"
829 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
840 soListView.currentIndex = index
841 soListView.soListItemClicked(soListView.currentIndex)
842 skyObjView.flipped =
true
850 height: parent.height
851 fillMode: Image.PreserveAspectFit
858 soListView.currentIndex = index
859 soListView.soListItemClicked(soListView.currentIndex)
867 renderType: Text.QtRendering
868 color: (nightVision.state ===
"active" && soListItem.ListView.isCurrentItem) ?
"#F89404" : (nightVision.state ===
"active") ?
"red" : (mouseListArea.containsMouse||mouseImgArea.containsMouse||mouseTextArea.containsMouse) ?
"yellow" :
"white"
879 id: detailsViewContainer
881 height: parent.height
882 enabled: parent.flipped
886 id: detailsViewBackground
887 anchors.fill: detailsView
895 objectName:
"detailsViewObj"
897 height: parent.height
898 width: parent.width - 30
908 objectName:
"sonameObj"
914 renderType: Text.QtRendering
928 objectName:
"posTextObj"
929 y: parent.height - 50
938 renderType: Text.QtRendering
958 objectName:
"detailsTextObj"
965 id: detailsViewButtonsCol
976 objectName:
"detailsButtonObj"
980 text:
xi18n(
"More Details")
981 renderType: Text.QtRendering
988 signal detailsButtonClicked
995 onEntered: detailsButton.color = (nightVision.state ===
"active") ?
"red" :
"yellow"
996 onExited: detailsButton.color = (nightVision.state ===
"active") ?
"red" :
"white"
997 onClicked: detailsButton.detailsButtonClicked()
1003 objectName:
"centerButtonObj"
1007 text:
xi18n(
"Center in Map \n")
1008 renderType: Text.QtRendering
1015 signal centerButtonClicked
1018 id: centerObjMouseArea
1021 anchors.fill: parent
1022 onEntered: centerButton.color = (nightVision.state ===
"active") ?
"red" :
"yellow"
1023 onExited: centerButton.color = (nightVision.state ===
"active") ?
"red" :
"white"
1024 onClicked: centerButton.centerButtonClicked()
1028 text:
xi18n(
" Auto Track ")
1029 renderType: Text.QtRendering
1040 objectName:
"autoCenterCheckbox"
1048 objectName:
"autoTrackCheckbox"
1052 onClicked: centerButton.centerButtonClicked()
1059 id: slewTelescopeButton
1060 objectName:
"slewTelescopeButtonObj"
1064 text:
xi18n(
"Slew Telescope")
1065 renderType: Text.QtRendering
1072 signal slewTelescopeButtonClicked
1075 id: slewTelescopeObjMouseArea
1078 anchors.fill: parent
1079 onEntered: slewTelescopeButton.color = (nightVision.state ===
"active") ?
"red" :
"yellow"
1080 onExited: slewTelescopeButton.color = (nightVision.state ===
"active") ?
"red" :
"white"
1081 onClicked: slewTelescopeButton.slewTelescopeButtonClicked()
1086 id: tabBarObjectInfo
1089 currentIndex: tabBarObjectInfo.currentIndex
1091 text:
xi18n(
"Object Information")
1094 text:
xi18n(
"Wikipedia Infotext")
1101 currentIndex: tabBarObjectInfo.currentIndex
1102 height: parent.height - 170 - 50
1127 height: parent.height
1139 border.color:
"#585454"
1142 id: flickableDescText
1144 flickableDirection: Flickable.VerticalFlick
1146 height: parent.height - 10
1150 bottom: parent.bottom
1157 contentWidth: parent.width
1158 contentHeight: col.height + 4
1161 anchors.fill: parent
1167 width: parent.width - 20
1171 objectName:
"detailImage"
1172 property string refreshableSource
1173 fillMode: Image.PreserveAspectFit
1174 source: refreshableSource
1178 objectName:
"descTextObj"
1181 renderType: Text.QtRendering
1183 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1184 width: parent.width - 20
1190 onLinkActivated:
Qt.openUrlExternally(
link)
1192 anchors.fill: parent
1215 when: ( (container.state ===
"singleItemSelected" && detailsView.width >= 600)||(container.state !==
"singleItemSelected" && detailsView.width >= 600 && detailsView.width < 900))
1216 PropertyChanges{target:descTextBox2; parent: detailsView}
1217 PropertyChanges{target:descTextBox2; width: detailsView.width / 2}
1218 PropertyChanges{target:descTextBox2; anchors{
1219 top: detailsView.top
1222 left: tabbedView.right
1223 right: detailsView.right
1226 PropertyChanges{target:tabbedView; currentIndex: 0}
1227 PropertyChanges{target:tabBarObjectInfo; visible:
false}
1228 PropertyChanges{target:tabbedView; width: detailsView.width / 2}
1232 when: (detailsView.width >= 900 && container.state!==
"singleItemSelected")
1233 PropertyChanges{target: soListViewContainer; parent: detailsView}
1234 PropertyChanges{target: soListViewContainer; anchors{
1235 top: detailsView.top
1237 left: detailsView.left
1238 right: tabbedView.left
1241 PropertyChanges{target:descTextBox2; parent: detailsView}
1242 PropertyChanges{target:descTextBox2; width: detailsView.width / 3}
1243 PropertyChanges{target:descTextBox2; anchors{
1244 top: detailsView.top
1247 left: tabbedView.right
1248 right: detailsView.right
1251 PropertyChanges{target:soListViewContainer; width: detailsView.width / 3}
1252 PropertyChanges{target:tabbedView; x: detailsView.width / 3}
1253 PropertyChanges{target:detailsViewButtonsCol; anchors.left: soListViewContainer.right}
1254 PropertyChanges{target:soname; anchors.left: soListViewContainer.right}
1255 PropertyChanges{target:detailItemsCol; x: 150 + detailsView.width / 3}
1256 PropertyChanges{target:tabbedView; width: detailsView.width / 3}
1257 PropertyChanges{target:tabbedView; currentIndex: 0}
1258 PropertyChanges{target:tabBarObjectInfo; visible:
false}
1259 PropertyChanges{target:skyObjView; flipped:
true}
1265 bottom: infoBoxTab.bottom
1266 left: infoBoxTab.left
1267 right: infoBoxTab.right
1271 border.color:
"#585454"
1274 id: flickableInfoText
1276 flickableDirection: Flickable.VerticalFlick
1278 height: parent.height - 10
1282 bottom: parent.bottom
1287 contentWidth: parent.width
1288 contentHeight: col2.height + 4
1290 id: descInfoTextItem
1304 objectName:
"infoBoxText"
1305 textFormat: Text.RichText
1307 onLinkActivated:
Qt.openUrlExternally(link)
1309 anchors.fill: parent
1310 acceptedButtons:
Qt.NoButton
1311 cursorShape: parent.hoveredLink ?
Qt.PointingHandCursor :
Qt.ArrowCursor
1314 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1315 verticalAlignment: Text.AlignVCenter
1316 horizontalAlignment: Text.AlignHCenter
1317 text:
xi18n(
"Info Text")
1318 renderType: Text.QtRendering
1337 objectName:
"nextObj"
1338 width: nextObjText.width + nextObjIcon.width + 10
1343 bottom: parent.bottom
1347 signal nextObjClicked
1350 id: nextObjForeground
1352 anchors.fill: parent
1357 id: nextObjMouseArea
1359 anchors.fill: nextObjRect
1362 nextObjForeground.opacity = 0.1
1363 nextObjText.color = (nightVision.state ===
"active") ?
"red" :
"yellow"
1366 nextObjForeground.opacity = 0.0
1367 nextObjText.color = (nightVision.state ===
"active") ?
"red" :
"white"
1370 nextObjRect.nextObjClicked()
1371 soListView.positionViewAtIndex(soListView.currentIndex, ListView.Beginning)
1377 objectName:
"nextTextObj"
1382 renderType: Text.QtRendering
1384 right: nextObjIcon.left
1386 verticalCenter: parent.verticalCenter
1389 verticalAlignment: Text.AlignVCenter
1390 horizontalAlignment: Text.AlignRight
1402 verticalCenter: parent.verticalCenter
1414 objectName:
"prevObj"
1416 width: prevObjText.width + prevObjIcon.width + 10
1421 bottom: parent.bottom
1425 signal prevObjClicked
1428 id: prevObjForeground
1430 anchors.fill: parent
1435 id: prevObjMouseArea
1436 anchors.fill: parent
1439 prevObjForeground.opacity = 0.1
1440 prevObjText.color = (nightVision.state ===
"active") ?
"red" :
"yellow"
1443 prevObjForeground.opacity = 0.0
1444 prevObjText.color = (nightVision.state ===
"active") ?
"red" :
"white"
1447 prevObjRect.prevObjClicked()
1448 soListView.positionViewAtIndex(soListView.currentIndex, ListView.Beginning)
1454 objectName:
"prevTextObj"
1458 text:
xi18n(
"Previous")
1459 renderType: Text.QtRendering
1461 left: prevObjIcon.right
1463 verticalCenter: parent.verticalCenter
1466 horizontalAlignment: Text.AlignLeft
1467 verticalAlignment: Text.AlignVCenter
1476 anchors.verticalCenter: parent.verticalCenter
1481 source:
"previous.png"
1489 id: soItemEmptyMessage
1490 objectName:
"soItemEmptyMessage"
1492 anchors.fill: parent
1494 anchors.fill: parent
1495 text:
xi18n(
"No Items to display")
1496 renderType: Text.QtRendering
1497 verticalAlignment: Text.AlignVCenter
1498 horizontalAlignment: Text.AlignHCenter
1505 visible: (soListView.count > 0 || container.state ===
"singleItemSelected") ?
false : true
1514 prevObjRect.prevObjClicked();
1515 event.accepted =
true;
1516 soListView.positionViewAtIndex(soListView.currentIndex, ListView.Beginning)
1519 nextObjRect.nextObjClicked();
1520 event.accepted =
true;
1521 soListView.positionViewAtIndex(soListView.currentIndex, ListView.Beginning)
1529 target: listToDetailsRotation
1533 when: skyObjView.flipped
1540 target: listToDetailsRotation
1548 id: listToDetailsRotation
1549 origin.x: container.width / 2
1556 objectName:
"loadingMessage"
1558 anchors.fill: parent
1561 anchors.fill: parent
1562 text:
xi18n(
"Loading...")
1563 renderType: Text.QtRendering
1564 verticalAlignment: Text.AlignVCenter
1565 horizontalAlignment: Text.AlignHCenter
1575 PropertyChanges {target: loadingMessage; visible:
true }
1576 PropertyChanges {target: skyObjView; flipped:
false }
1584 objectName:
"helpMessage"
1586 anchors.fill: parent
1590 anchors.left: helpMessage.left
1591 anchors.right: helpMessage.right
1593 text:
xi18n(
"Explanation of the What's Interesting Panel")
1594 renderType: Text.QtRendering
1595 horizontalAlignment: Text.AlignHCenter
1605 anchors.top: helpText.bottom
1606 anchors.left: helpMessage.left
1607 anchors.right: helpMessage.right
1608 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.")
1609 renderType: Text.QtRendering
1610 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1618 id: helpSettingsImage
1619 anchors.top: helpExplainText.bottom
1620 source:
"settingsIcon.png"
1625 id: helpSettingsText
1626 anchors.top: helpExplainText.bottom
1627 anchors.left: helpSettingsImage.right
1628 anchors.right: helpMessage.right
1630 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1631 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.")
1632 renderType: Text.QtRendering
1640 id: helpInspectImage
1641 anchors.top: helpSettingsText.bottom
1642 source:
"inspectIcon.png"
1648 anchors.top: helpSettingsText.bottom
1649 anchors.left: helpInspectImage.right
1650 anchors.right: helpMessage.right
1652 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1653 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.")
1654 renderType: Text.QtRendering
1663 anchors.top: helpInspectText.bottom
1664 source:
"reloadIcon.png"
1670 anchors.top: helpInspectText.bottom
1671 anchors.left: helpReloadImage.right
1672 anchors.right: helpMessage.right
1674 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1675 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.")
1676 renderType: Text.QtRendering
1684 id: helpVisibleImage
1685 anchors.top: helpReloadText.bottom
1686 source:
"visibleIcon.png"
1692 anchors.top: helpReloadText.bottom
1693 anchors.left: helpVisibleImage.right
1694 anchors.right: helpMessage.right
1696 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1697 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.")
1698 renderType: Text.QtRendering
1706 id: helpFavoriteImage
1707 anchors.top: helpVisibleText.bottom
1708 source:
"favoriteIcon.png"
1713 id: helpFavoriteText
1714 anchors.top: helpVisibleText.bottom
1715 anchors.left: helpFavoriteImage.right
1716 anchors.right: helpMessage.right
1718 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1719 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.")
1720 renderType: Text.QtRendering
1728 id: helpDownloadImage
1729 anchors.top: helpFavoriteText.bottom
1730 source:
"downloadIcon.png"
1735 id: helpDownloadText
1736 anchors.top: helpFavoriteText.bottom
1737 anchors.left: helpDownloadImage.right
1738 anchors.right: helpMessage.right
1740 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1741 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.")
1742 renderType: Text.QtRendering
1751 name:
"helpDisplayed"
1752 PropertyChanges {target: helpMessage; visible:
true }
1753 PropertyChanges {target: backButton; x: container.width - 105}
1761 x: container.width + 10
1762 y: container.height - 50
1763 width: leftArrow.width + goBackText.width + 18
1769 id: goBackForeground
1770 anchors.fill: parent
1780 renderType: Text.QtRendering
1782 left: leftArrow.right
1784 verticalCenterOffset: 0
1785 verticalCenter: leftArrow.verticalCenter
1791 verticalAlignment: Text.AlignVCenter
1792 horizontalAlignment: Text.AlignHCenter
1801 verticalCenterOffset: 0
1802 verticalCenter: parent.verticalCenter
1804 source:
"leftArrow.png"
1808 id: backButtonMouseArea
1809 anchors.fill: backButton
1811 onEntered: goBackForeground.opacity = buttonOpacity
1812 onExited: goBackForeground.opacity = 0.0
1814 if(helpMessage.state ===
"helpDisplayed"){
1815 helpMessage.state =
""
1816 }
else if (container.state ===
"objectFromListSelected") {
1817 if (!skyObjView.flipped||container.width>=900) {
1818 container.state =
"base"
1820 }
else if (skyObjView.flipped) {
1821 skyObjView.flipped =
false
1823 }
else if (container.state ===
"singleItemSelected") {
1824 container.state =
"base"
1826 if (container.width>=900) {
1827 skyObjView.flipped =
true
1829 skyObjView.flipped =
false
1838 objectName:
"settingsIconObj"
1840 y: container.height - 50
1844 verticalCenterOffset: 0
1845 verticalCenter: backButton.verticalCenter
1852 fillMode: Image.Stretch
1853 source:
"settingsIcon.png"
1855 signal settingsIconClicked
1858 id: settingsMouseArea
1859 anchors.fill: parent
1861 onEntered: settingsForeground.opacity = buttonOpacity
1862 onExited: settingsForeground.opacity = 0.0
1863 onClicked: settingsIcon.settingsIconClicked()
1867 id: settingsForeground
1868 anchors.fill: parent
1876 objectName:
"inspectIconObj"
1879 y: container.height - 50
1883 verticalCenterOffset: 0
1884 verticalCenter: backButton.verticalCenter
1891 fillMode: Image.Stretch
1892 source:
"inspectIcon.png"
1894 signal inspectIconClicked(
bool inspect)
1897 id: inspectMouseArea
1898 anchors.fill: parent
1900 onEntered: inspectForeground.opacity = buttonOpacity
1901 onExited: inspectForeground.opacity = 0.0
1903 inspectIcon.inspectIconClicked(inspectIcon.state ===
"checked")
1904 inspectIcon.state = (inspectIcon.state ===
"checked") ?
"" :
"checked"
1909 id: inspectForeground
1912 anchors.fill: parent
1917 PropertyChanges {target: inspectIcon; opacity: 0.5}
1924 objectName:
"reloadIconObj"
1926 y: container.height - 50
1930 verticalCenterOffset: 0
1931 verticalCenter: backButton.verticalCenter
1938 fillMode: Image.Stretch
1939 source:
"reloadIcon.png"
1941 signal reloadIconClicked
1945 anchors.fill: parent
1947 onEntered: reloadForeground.opacity = buttonOpacity
1948 onExited: reloadForeground.opacity = 0.0
1950 reloadIcon.reloadIconClicked();
1955 id: reloadForeground
1958 anchors.fill: parent
1963 when: (container.state !==
"objectFromListSelected" && container.state !==
"singleItemSelected")
1964 PropertyChanges {target: reloadMouseArea; enabled:
false}
1965 PropertyChanges {target: reloadIcon; opacity: 0}
1973 objectName:
"visibleIconObj"
1976 y: container.height - 50
1980 verticalCenterOffset: 0
1981 verticalCenter: backButton.verticalCenter
1988 fillMode: Image.Stretch
1989 source:
"visibleIcon.png"
1991 signal visibleIconClicked(
bool visible)
1994 id: visibleMouseArea
1995 anchors.fill: parent
1997 onEntered: visibleForeground.opacity = buttonOpacity
1998 onExited: visibleForeground.opacity = 0.0
2000 visibleIcon.visibleIconClicked(visibleIcon.state ===
"unchecked")
2001 visibleIcon.state = (visibleIcon.state ===
"unchecked") ?
"" :
"unchecked"
2006 id: visibleForeground
2009 anchors.fill: parent
2014 when: container.state !==
"objectFromListSelected"
2015 PropertyChanges {target: visibleMouseArea; enabled:
false}
2016 PropertyChanges {target: visibleIcon; opacity: 0}
2020 PropertyChanges {target: visibleIcon; opacity: 0.5}
2027 objectName:
"favoriteIconObj"
2030 y: container.height - 50
2034 verticalCenterOffset: 0
2035 verticalCenter: backButton.verticalCenter
2042 fillMode: Image.Stretch
2043 source:
"favoriteIcon.png"
2045 signal favoriteIconClicked(
bool favorite)
2048 id: favoriteMouseArea
2049 anchors.fill: parent
2051 onEntered: favoriteForeground.opacity = buttonOpacity
2052 onExited: favoriteForeground.opacity = 0.0
2054 favoriteIcon.favoriteIconClicked(favoriteIcon.state ===
"unchecked")
2055 favoriteIcon.state = (favoriteIcon.state ===
"unchecked") ?
"" :
"unchecked"
2066 id: favoriteForeground
2069 anchors.fill: parent
2074 when: container.state !==
"objectFromListSelected"
2075 PropertyChanges {target: favoriteMouseArea; enabled:
false}
2076 PropertyChanges {target: favoriteIcon; opacity: 0}
2080 PropertyChanges {target: favoriteIcon; opacity: 0.5}
2087 objectName:
"downloadIconObj"
2089 y: container.height - 50
2093 verticalCenterOffset: 0
2094 verticalCenter: backButton.verticalCenter
2101 fillMode: Image.Stretch
2102 source:
"downloadIcon.png"
2104 signal downloadIconClicked
2107 id: downloadMouseArea
2108 anchors.fill: parent
2110 onEntered: downloadForeground.opacity = buttonOpacity
2111 onExited: downloadForeground.opacity = 0.0
2112 onClicked: downloadIcon.downloadIconClicked()
2116 id: downloadForeground
2119 anchors.fill: parent
2124 when: container.state ===
"base" || container.state ===
""
2125 PropertyChanges {target: downloadMouseArea; enabled:
false}
2126 PropertyChanges {target: downloadIcon; opacity: 0}
2134 y: container.height - 50
2138 verticalCenterOffset: 0
2139 verticalCenter: backButton.verticalCenter
2146 fillMode: Image.Stretch
2147 source:
"helpIcon.png"
2151 anchors.fill: parent
2153 onEntered: helpForeground.opacity = buttonOpacity
2154 onExited: helpForeground.opacity = 0.0
2155 onClicked: (helpMessage.state ===
"helpDisplayed") ? helpMessage.state =
"" : helpMessage.state =
"helpDisplayed"
2162 anchors.fill: parent
2168 objectName:
"nightVision"
2171 anchors.fill: parent
2176 PropertyChanges {target: nightVision; opacity: 0.2}
2177 PropertyChanges {target: tabbedView; style: tabbedView.nightTabs}
2178 PropertyChanges {target: title; color:
"red"}
2179 PropertyChanges {target: catTitle; color:
"red"}
2180 PropertyChanges {target: nakedEyeText; color:
"red"}
2181 PropertyChanges {target: dsoText; color:
"red"}
2182 PropertyChanges {target: catalogText; color:
"red"}
2183 PropertyChanges {target: soListEmptyMessage; color:
"red"}
2184 PropertyChanges {target: soItemEmptyMessage; color:
"red"}
2185 PropertyChanges {target: scrollbar; color:
"red"}
2186 PropertyChanges {target: prevObjText; color:
"red"}
2187 PropertyChanges {target: nextObjText; color:
"red"}
2188 PropertyChanges {target: detailsText; color:
"red"}
2189 PropertyChanges {target: soname; color:
"red"}
2190 PropertyChanges {target: posText; color:
"red"}
2191 PropertyChanges {target: detailsButton; color:
"red"}
2192 PropertyChanges {target: centerButton; color:
"red"}
2193 PropertyChanges {target: slewTelescopeButton; color:
"red"}
2194 PropertyChanges {target: goBackText; color:
"red"}
2206 name:
"singleItemSelected"
2210 x: -(2 * categoryView.width)
2218 PropertyChanges{target:skyObjView; flipped:
true}
2222 x: container.width - 105
2226 name:
"objectFromListSelected"
2230 x: -(2 * categoryView.width)
2240 x: container.width - 105
2249 to:
"objectFromListSelected"
2254 easing.
type: Easing.InOutQuad
2260 easing.
type: Easing.InOutQuad
2264 from:
"objectFromListSelected"
2270 easing.
type: Easing.InOutQuad
2276 easing.
type: Easing.InOutQuad
QString xi18n(const char *text, const TYPE &arg...)
AKONADI_CALENDAR_EXPORT KCalendarCore::Event::Ptr event(const Akonadi::Item &item)
QString name(GameStandardAction id)
KIOCORE_EXPORT CopyJob * link(const QList< QUrl > &src, const QUrl &destDir, JobFlags flags=DefaultFlags)
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
KGuiItem back(BidiMode useBidi=IgnoreRTL)
QString & fill(QChar ch, qsizetype size)
QTextStream & left(QTextStream &stream)
QTextStream & right(QTextStream &stream)