9 import QtQuick.Layouts 1.1
10 import QtQuick.Controls 1.4
11 import QtQuick.Controls.Styles 1.4
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 verticalAlignment: Text.AlignVCenter
45 objectName:
"categoryTitle"
50 verticalAlignment: Text.AlignVCenter
51 horizontalAlignment: Text.AlignHCenter
73 objectName:
"viewsRowObj"
80 signal categorySelected(
string category)
81 signal inspectSkyObject(
string name);
86 height: parent.height - 150
112 width: nakedEyeText.width
113 height: nakedEyeText.height
115 verticalCenterOffset: -250
116 horizontalCenterOffset: 0
123 title:
xi18n(
"Naked-Eye Objects")
124 anchors.centerIn: parent
131 height: sunText.height
133 verticalCenterOffset: -210
134 horizontalCenterOffset: -50
142 anchors.centerIn: parent
148 onEntered: sunText.state =
"selected"
149 onExited: sunText.state =
""
151 viewsRow.inspectSkyObject(
"Sun")
152 catTitle.text =
xi18n(
"Sun")
153 container.state = "singleItemSelected"
161 width: moonText.width
162 height: moonText.height
164 verticalCenterOffset: -210
165 horizontalCenterOffset: 50
173 anchors.centerIn: parent
179 onEntered: moonText.state =
"selected"
180 onExited: moonText.state =
""
182 viewsRow.inspectSkyObject(
"Moon")
183 catTitle.text =
xi18n(
"Moon")
184 container.state = "singleItemSelected"
194 width: planetText.width
195 height: planetText.height
197 verticalCenterOffset: -170
198 horizontalCenterOffset: -50
205 title:
xi18n(
"Planets")
206 anchors.centerIn: parent
212 onEntered: planetText.state =
"selected"
213 onExited: planetText.state =
""
215 viewsRow.categorySelected(
"planets")
216 catTitle.text =
xi18n(
"Planets")
217 container.state = "objectFromListSelected"
225 width: satelliteText.width
226 height: satelliteText.height
228 verticalCenterOffset: -170
229 horizontalCenterOffset: 50
235 title:
xi18n(
"Satellites")
236 anchors.centerIn: parent
239 id: satelliteMouseArea
242 onEntered: satelliteText.state =
"selected"
243 onExited: satelliteText.state =
""
245 viewsRow.categorySelected(
"satellites")
246 catTitle.text =
xi18n(
"Satellites")
247 container.state = "objectFromListSelected"
256 width: starText.width
257 height: starText.height
259 verticalCenterOffset: -130
260 horizontalCenterOffset: -50
267 title:
xi18n(
"Stars")
268 anchors.centerIn: parent
274 onEntered: starText.state =
"selected"
275 onExited: starText.state =
""
277 viewsRow.categorySelected(
"stars")
278 catTitle.text =
xi18n(
"Stars")
279 container.state = "objectFromListSelected"
288 height: conText.height
290 verticalCenterOffset: -130
291 horizontalCenterOffset: 50
297 title:
xi18n(
"Constellations")
298 anchors.centerIn: parent
304 onEntered: conText.state =
"selected"
305 onExited: conText.state =
""
307 viewsRow.categorySelected(
"constellations")
308 catTitle.text =
xi18n(
"Constellations")
309 container.state = "objectFromListSelected"
318 height: dsoText.height
321 verticalCenterOffset: -90
322 horizontalCenterOffset: 0
329 title:
xi18n(
"Deep-sky Objects")
330 anchors.centerIn: parent
337 width: asteroidText.width
338 height: asteroidText.height
340 verticalCenterOffset: -50
341 horizontalCenterOffset: -50
348 title:
xi18n(
"Asteroids")
349 anchors.centerIn: parent
352 id: asteroidMouseArea
355 onEntered: asteroidText.state =
"selected"
356 onExited: asteroidText.state =
""
358 viewsRow.categorySelected(
"asteroids")
359 catTitle.text =
xi18n(
"Asteroids")
360 container.state = "objectFromListSelected"
369 width: cometText.width
370 height: cometText.height
372 verticalCenterOffset: -50
373 horizontalCenterOffset: 50
380 title:
xi18n(
"Comets")
381 anchors.centerIn: parent
387 onEntered: cometText.state =
"selected"
388 onExited: cometText.state =
""
390 viewsRow.categorySelected(
"comets")
391 catTitle.text =
xi18n(
"Comets")
392 container.state = "objectFromListSelected"
402 height: galText.height
405 verticalCenterOffset: -10
406 horizontalCenterOffset: -50
412 title:
xi18n(
"Galaxies")
422 onEntered: galText.state =
"selected"
423 onExited: galText.state =
""
425 viewsRow.categorySelected(
"galaxies")
426 catTitle.text =
xi18n(
"Galaxies")
427 container.state = "objectFromListSelected"
437 height: nebText.height
440 verticalCenterOffset: -10
441 horizontalCenterOffset: 50
447 title:
xi18n(
"Nebulae")
448 anchors.centerIn: parent
454 onEntered: nebText.state =
"selected"
455 onExited: nebText.state =
""
457 viewsRow.categorySelected(
"nebulas")
458 catTitle.text =
xi18n(
"Nebulae")
459 container.state = "objectFromListSelected"
468 width: clustText.width
469 height: clustText.height
472 verticalCenterOffset: 30
473 horizontalCenterOffset: -75
479 title:
xi18n(
"Clusters")
480 anchors.centerIn: parent
486 onEntered: clustText.state =
"selected"
487 onExited: clustText.state =
""
489 viewsRow.categorySelected(
"clusters")
490 catTitle.text =
xi18n(
"Clusters")
491 container.state = "objectFromListSelected"
500 width: superText.width
501 height: superText.height
504 verticalCenterOffset: 30
505 horizontalCenterOffset: 75
511 title:
xi18n(
"Supernovae")
512 anchors.centerIn: parent
518 onEntered: superText.state =
"selected"
519 onExited: superText.state =
""
521 viewsRow.categorySelected(
"supernovas")
522 catTitle.text =
xi18n(
"Supernovae")
523 container.state = "objectFromListSelected"
531 width: catalogText.width
532 height: catalogText.height
534 verticalCenterOffset: 70
535 horizontalCenterOffset: 0
542 title:
xi18n(
"Explore Catalogs")
543 anchors.centerIn: parent
550 width: messierText.width
551 height: messierText.height
554 verticalCenterOffset: 110
555 horizontalCenterOffset: 0
561 title:
xi18n(
"Messier Catalog")
562 anchors.centerIn: parent
568 onEntered: messierText.state =
"selected"
569 onExited: messierText.state =
""
571 viewsRow.categorySelected(
"messier")
572 catTitle.text =
"Messier Catalog"
573 container.state =
"objectFromListSelected"
583 height: ngcText.height
586 verticalCenterOffset: 150
587 horizontalCenterOffset: 0
593 title:
xi18n(
"NGC Catalog")
594 anchors.centerIn: parent
600 onEntered: ngcText.state =
"selected"
601 onExited: ngcText.state =
""
603 viewsRow.categorySelected(
"ngc")
604 catTitle.text =
"NGC Catalog"
605 container.state =
"objectFromListSelected"
615 height: icText.height
618 verticalCenterOffset: 190
619 horizontalCenterOffset: 0
625 title:
xi18n(
"IC Catalog")
626 anchors.centerIn: parent
632 onEntered: icText.state =
"selected"
633 onExited: icText.state =
""
635 viewsRow.categorySelected(
"ic")
636 catTitle.text =
"IC Catalog"
637 container.state =
"objectFromListSelected"
647 height: sh2Text.height
650 verticalCenterOffset: 230
651 horizontalCenterOffset: 0
657 title:
xi18n(
"Sharpless Catalog")
658 anchors.centerIn: parent
664 onEntered: sh2Text.state =
"selected"
665 onExited: sh2Text.state =
""
667 viewsRow.categorySelected(
"sharpless")
668 catTitle.text =
"Sharpless Catalog"
669 container.state =
"objectFromListSelected"
679 objectName:
"skyObjView"
681 height: parent.height - 150
682 anchors.leftMargin: categoryView.width
684 property bool flipped:
false
689 enabled: !parent.flipped
692 id: soListViewBackground
693 anchors.
fill: soListViewContainer
700 id: soListViewContainer
702 top: soListContainer.top
703 bottom: soListContainer.bottom
718 flickableDirection: Flickable.VerticalFlick
724 objectName:
"soListObj"
727 signal soListItemClicked(
int curIndex)
730 highlightMoveDuration: 1
735 id: soListEmptyMessage
736 objectName:
"soListEmptyMessage"
741 text:
xi18n(
"No Items to display")
742 verticalAlignment: Text.AlignVCenter
743 horizontalAlignment: Text.AlignHCenter
750 visible: (soListView.count > 0 || container.state ==
"singleItemSelected") ?
false :
true
756 y: soListView.visibleArea.yPosition * soListView.height
758 height: (soListView.visibleArea.heightRatio * soListView.height > 10) ? soListView.visibleArea.heightRatio * soListView.height : 10
762 drag.target: scrollbar
763 drag.axis: Drag.YAxis
765 drag.maximumY: soListView.height - scrollbar.height
769 soListView.contentY = scrollbar.y / soListView.height * soListView.contentHeight
779 height: (dispSummary.height >= 130) ? dispSummary.height + 20 : 160
782 id: summaryBackground
783 color: (mouseListArea.containsMouse||mouseImgArea.containsMouse||mouseTextArea.containsMouse) ?
"#030723" :
"transparent"
785 height: parent.height
791 soListView.currentIndex = index
792 soListView.soListItemClicked(soListView.currentIndex)
793 skyObjView.flipped =
true
798 objectName: dispObjSummary
800 textFormat: Text.RichText
802 width: parent.width - image.width - 30
803 color: (nightVision.state ==
"active" && soListItem.ListView.isCurrentItem) ?
"#F89404" : (nightVision.state ==
"active") ?
"red" : (soListItem.ListView.isCurrentItem) ?
"white" : (mouseListArea.containsMouse||mouseImgArea.containsMouse||mouseTextArea.containsMouse) ?
"yellow" :
"gray"
805 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
816 soListView.currentIndex = index
817 soListView.soListItemClicked(soListView.currentIndex)
818 skyObjView.flipped =
true
826 height: parent.height
827 fillMode: Image.PreserveAspectFit
834 soListView.currentIndex = index
835 soListView.soListItemClicked(soListView.currentIndex)
843 color: (nightVision.state ==
"active" && soListItem.ListView.isCurrentItem) ?
"#F89404" : (nightVision.state ==
"active") ?
"red" : (mouseListArea.containsMouse||mouseImgArea.containsMouse||mouseTextArea.containsMouse) ?
"yellow" :
"white"
854 id: detailsViewContainer
856 height: parent.height
857 enabled: parent.flipped
861 id: detailsViewBackground
862 anchors.fill: detailsView
870 objectName:
"detailsViewObj"
872 height: parent.height
873 width: parent.width - 30
883 objectName:
"sonameObj"
897 verticalAlignment: Text.AlignVCenter
902 objectName:
"posTextObj"
903 y: parent.height - 50
908 textFormat: Text.RichText
912 horizontalAlignment: Text.AlignRight
930 textFormat: Text.RichText
931 objectName:
"detailsTextObj"
938 id: detailsViewButtonsCol
949 objectName:
"detailsButtonObj"
951 verticalAlignment: Text.AlignVCenter
953 text:
xi18n(
"More Details")
960 signal detailsButtonClicked
965 cursorShape:
Qt.PointingHandCursor
967 onEntered: detailsButton.color = (nightVision.state ==
"active") ?
"red" :
"yellow"
968 onExited: detailsButton.color = (nightVision.state ==
"active") ?
"red" :
"white"
969 onClicked: detailsButton.detailsButtonClicked()
975 objectName:
"centerButtonObj"
977 verticalAlignment: Text.AlignVCenter
979 text:
xi18n(
"Center in Map \n")
986 signal centerButtonClicked
989 id: centerObjMouseArea
991 cursorShape:
Qt.PointingHandCursor
993 onEntered: centerButton.color = (nightVision.state ==
"active") ?
"red" :
"yellow"
994 onExited: centerButton.color = (nightVision.state ==
"active") ?
"red" :
"white"
995 onClicked: centerButton.centerButtonClicked()
999 text:
xi18n(
" Auto Track ")
1010 objectName:
"autoCenterCheckbox"
1018 objectName:
"autoTrackCheckbox"
1022 onClicked: centerButton.centerButtonClicked()
1029 id: slewTelescopeButton
1030 objectName:
"slewTelescopeButtonObj"
1032 verticalAlignment: Text.AlignVCenter
1034 text:
xi18n(
"Slew Telescope")
1041 signal slewTelescopeButtonClicked
1044 id: slewTelescopeObjMouseArea
1046 cursorShape:
Qt.PointingHandCursor
1047 anchors.fill: parent
1048 onEntered: slewTelescopeButton.color = (nightVision.state ==
"active") ?
"red" :
"yellow"
1049 onExited: slewTelescopeButton.color = (nightVision.state ==
"active") ?
"red" :
"white"
1050 onClicked: slewTelescopeButton.slewTelescopeButtonClicked()
1058 height: parent.height - 170 - 50
1061 property Component nightTabs: TabViewStyle {
1062 tabsAlignment:
Qt.AlignHCenter
1065 border.color:
"black"
1071 anchors.centerIn: parent
1072 text: styleData.title
1073 color: styleData.selected ?
"white" :
"black"
1079 title:
xi18n(
"Object Information")
1083 height: parent.height
1095 border.color:
"#585454"
1098 id: flickableDescText
1100 flickableDirection: Flickable.VerticalFlick
1102 height: parent.height - 10
1106 bottom: parent.bottom
1113 contentWidth: parent.width
1114 contentHeight: col.height + 4
1117 anchors.fill: parent
1123 width: parent.width - 20
1127 objectName:
"detailImage"
1128 property string refreshableSource
1129 fillMode: Image.PreserveAspectFit
1130 source: refreshableSource
1134 objectName:
"descTextObj"
1138 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1139 width: parent.width - 20
1140 textFormat: Text.RichText
1145 onLinkActivated:
Qt.openUrlExternally(link)
1147 anchors.fill: parent
1148 acceptedButtons:
Qt.NoButton
1149 cursorShape: parent.hoveredLink ?
Qt.PointingHandCursor :
Qt.ArrowCursor
1160 title:
xi18n(
"Wikipedia Infotext")
1170 when: ( (container.state ==
"singleItemSelected" && detailsView.width >= 600)||(container.state !=
"singleItemSelected" && detailsView.width >= 600 && detailsView.width < 900))
1171 PropertyChanges{target:descTextBox2; parent: detailsView}
1172 PropertyChanges{target:descTextBox2; width: detailsView.width / 2}
1173 PropertyChanges{target:descTextBox2; anchors{
1174 top: detailsView.top
1181 PropertyChanges{target:tabbedView; currentIndex: 0}
1182 PropertyChanges{target:tabbedView; tabsVisible:
false}
1183 PropertyChanges{target:tabbedView; width: detailsView.width / 2}
1187 when: (detailsView.width >= 900 && container.state!=
"singleItemSelected")
1188 PropertyChanges{target: soListViewContainer; parent: detailsView}
1189 PropertyChanges{target: soListViewContainer; anchors{
1190 top: detailsView.top
1196 PropertyChanges{target:descTextBox2; parent: detailsView}
1197 PropertyChanges{target:descTextBox2; width: detailsView.width / 3}
1198 PropertyChanges{target:descTextBox2; anchors{
1199 top: detailsView.top
1206 PropertyChanges{target:soListViewContainer; width: detailsView.width / 3}
1207 PropertyChanges{target:tabbedView; x: detailsView.width / 3}
1208 PropertyChanges{target:detailsViewButtonsCol; anchors.
left: soListViewContainer.
right}
1209 PropertyChanges{target:soname; anchors.
left: soListViewContainer.
right}
1210 PropertyChanges{target:detailItemsCol; x: 150 + detailsView.width / 3}
1211 PropertyChanges{target:tabbedView; width: detailsView.width / 3}
1212 PropertyChanges{target:tabbedView; currentIndex: 0}
1213 PropertyChanges{target:tabbedView; tabsVisible:
false}
1214 PropertyChanges{target:skyObjView; flipped:
true}
1220 bottom: infoBoxTab.bottom
1226 border.color:
"#585454"
1229 id: flickableInfoText
1231 flickableDirection: Flickable.VerticalFlick
1233 height: parent.height - 10
1237 bottom: parent.bottom
1242 contentWidth: parent.width
1243 contentHeight: col2.height + 4
1245 id: descInfoTextItem
1259 objectName:
"infoBoxText"
1260 textFormat: Text.RichText
1262 onLinkActivated:
Qt.openUrlExternally(link)
1264 anchors.fill: parent
1265 acceptedButtons:
Qt.NoButton
1266 cursorShape: parent.hoveredLink ?
Qt.PointingHandCursor :
Qt.ArrowCursor
1269 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1270 verticalAlignment: Text.AlignVCenter
1271 horizontalAlignment: Text.AlignHCenter
1272 text:
xi18n(
"Info Text")
1291 objectName:
"nextObj"
1292 width: nextObjText.width + nextObjIcon.width + 10
1297 bottom: parent.bottom
1301 signal nextObjClicked
1304 id: nextObjForeground
1306 anchors.fill: parent
1311 id: nextObjMouseArea
1313 anchors.fill: nextObjRect
1316 nextObjForeground.opacity = 0.1
1317 nextObjText.color = (nightVision.state ==
"active") ?
"red" :
"yellow"
1320 nextObjForeground.opacity = 0.0
1321 nextObjText.color = (nightVision.state ==
"active") ?
"red" :
"white"
1324 nextObjRect.nextObjClicked()
1325 soListView.positionViewAtIndex(soListView.currentIndex, ListView.Beginning)
1331 objectName:
"nextTextObj"
1339 verticalCenter: parent.verticalCenter
1342 verticalAlignment: Text.AlignVCenter
1355 verticalCenter: parent.verticalCenter
1367 objectName:
"prevObj"
1369 width: prevObjText.width + prevObjIcon.width + 10
1374 bottom: parent.bottom
1378 signal prevObjClicked
1381 id: prevObjForeground
1383 anchors.fill: parent
1388 id: prevObjMouseArea
1389 anchors.fill: parent
1392 prevObjForeground.opacity = 0.1
1393 prevObjText.color = (nightVision.state ==
"active") ?
"red" :
"yellow"
1396 prevObjForeground.opacity = 0.0
1397 prevObjText.color = (nightVision.state ==
"active") ?
"red" :
"white"
1400 prevObjRect.prevObjClicked()
1401 soListView.positionViewAtIndex(soListView.currentIndex, ListView.Beginning)
1407 objectName:
"prevTextObj"
1411 text:
xi18n(
"Previous")
1415 verticalCenter: parent.verticalCenter
1419 verticalAlignment: Text.AlignVCenter
1428 anchors.verticalCenter: parent.verticalCenter
1433 source:
"previous.png"
1441 id: soItemEmptyMessage
1442 objectName:
"soItemEmptyMessage"
1444 anchors.fill: parent
1446 anchors.fill: parent
1447 text:
xi18n(
"No Items to display")
1448 verticalAlignment: Text.AlignVCenter
1449 horizontalAlignment: Text.AlignHCenter
1456 visible: (soListView.count > 0 || container.state ==
"singleItemSelected") ?
false :
true
1465 prevObjRect.prevObjClicked();
1466 event.accepted =
true;
1467 soListView.positionViewAtIndex(soListView.currentIndex, ListView.Beginning)
1470 nextObjRect.nextObjClicked();
1471 event.accepted =
true;
1472 soListView.positionViewAtIndex(soListView.currentIndex, ListView.Beginning)
1480 target: listToDetailsRotation
1484 when: skyObjView.flipped
1491 target: listToDetailsRotation
1499 id: listToDetailsRotation
1500 origin.x: container.width / 2
1507 objectName:
"loadingMessage"
1509 anchors.fill: parent
1512 anchors.fill: parent
1513 text:
xi18n(
"Loading...")
1514 verticalAlignment: Text.AlignVCenter
1515 horizontalAlignment: Text.AlignHCenter
1525 PropertyChanges {target: loadingMessage; visible:
true }
1526 PropertyChanges {target: skyObjView; flipped:
false }
1534 objectName:
"helpMessage"
1536 anchors.
fill: parent
1543 text:
xi18n(
"Explanation of the What's Interesting Panel")
1544 horizontalAlignment: Text.AlignHCenter
1554 anchors.top: helpText.bottom
1557 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.")
1558 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1566 id: helpSettingsImage
1567 anchors.top: helpExplainText.bottom
1568 source:
"settingsIcon.png"
1573 id: helpSettingsText
1574 anchors.top: helpExplainText.bottom
1578 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1579 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.")
1587 id: helpInspectImage
1588 anchors.top: helpSettingsText.bottom
1589 source:
"inspectIcon.png"
1595 anchors.top: helpSettingsText.bottom
1599 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1600 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.")
1609 anchors.top: helpInspectText.bottom
1610 source:
"reloadIcon.png"
1616 anchors.top: helpInspectText.bottom
1620 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1621 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.")
1629 id: helpVisibleImage
1630 anchors.top: helpReloadText.bottom
1631 source:
"visibleIcon.png"
1637 anchors.top: helpReloadText.bottom
1641 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1642 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.")
1650 id: helpFavoriteImage
1651 anchors.top: helpVisibleText.bottom
1652 source:
"favoriteIcon.png"
1657 id: helpFavoriteText
1658 anchors.top: helpVisibleText.bottom
1662 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1663 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.")
1671 id: helpDownloadImage
1672 anchors.top: helpFavoriteText.bottom
1673 source:
"downloadIcon.png"
1678 id: helpDownloadText
1679 anchors.top: helpFavoriteText.bottom
1683 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
1684 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.")
1693 name:
"helpDisplayed"
1694 PropertyChanges {target: helpMessage; visible:
true }
1695 PropertyChanges {target: backButton; x: container.width - 105}
1703 x: container.width + 10
1704 y: container.height - 50
1705 width: leftArrow.width + goBackText.width + 18
1711 id: goBackForeground
1712 anchors.
fill: parent
1725 verticalCenterOffset: 0
1726 verticalCenter: leftArrow.verticalCenter
1732 verticalAlignment: Text.AlignVCenter
1733 horizontalAlignment: Text.AlignHCenter
1742 verticalCenterOffset: 0
1743 verticalCenter: parent.verticalCenter
1745 source:
"leftArrow.png"
1749 id: backButtonMouseArea
1750 anchors.fill: backButton
1752 onEntered: goBackForeground.opacity = buttonOpacity
1753 onExited: goBackForeground.opacity = 0.0
1755 if(helpMessage.state ==
"helpDisplayed"){
1756 helpMessage.state =
""
1757 }
else if (container.state ==
"objectFromListSelected") {
1758 if (!skyObjView.flipped||container.width>=900) {
1759 container.state =
"base"
1761 }
else if (skyObjView.flipped) {
1762 skyObjView.flipped =
false
1764 }
else if (container.state ==
"singleItemSelected") {
1765 container.state =
"base"
1767 if (container.width>=900) {
1768 skyObjView.flipped =
true
1770 skyObjView.flipped =
false
1779 objectName:
"settingsIconObj"
1781 y: container.height - 50
1785 verticalCenterOffset: 0
1786 verticalCenter: backButton.verticalCenter
1793 fillMode: Image.Stretch
1794 source:
"settingsIcon.png"
1796 signal settingsIconClicked
1799 id: settingsMouseArea
1800 anchors.fill: parent
1802 onEntered: settingsForeground.opacity = buttonOpacity
1803 onExited: settingsForeground.opacity = 0.0
1804 onClicked: settingsIcon.settingsIconClicked()
1808 id: settingsForeground
1809 anchors.fill: parent
1817 objectName:
"inspectIconObj"
1820 y: container.height - 50
1824 verticalCenterOffset: 0
1825 verticalCenter: backButton.verticalCenter
1832 fillMode: Image.Stretch
1833 source:
"inspectIcon.png"
1835 signal inspectIconClicked(
bool inspect)
1838 id: inspectMouseArea
1839 anchors.fill: parent
1841 onEntered: inspectForeground.opacity = buttonOpacity
1842 onExited: inspectForeground.opacity = 0.0
1844 inspectIcon.inspectIconClicked(inspectIcon.state ==
"checked")
1845 inspectIcon.state = (inspectIcon.state ==
"checked") ?
"" :
"checked"
1850 id: inspectForeground
1853 anchors.fill: parent
1858 PropertyChanges {target: inspectIcon; opacity: 0.5}
1865 objectName:
"reloadIconObj"
1867 y: container.height - 50
1871 verticalCenterOffset: 0
1872 verticalCenter: backButton.verticalCenter
1879 fillMode: Image.Stretch
1880 source:
"reloadIcon.png"
1882 signal reloadIconClicked
1886 anchors.fill: parent
1888 onEntered: reloadForeground.opacity = buttonOpacity
1889 onExited: reloadForeground.opacity = 0.0
1891 reloadIcon.reloadIconClicked();
1896 id: reloadForeground
1899 anchors.fill: parent
1904 when: (container.state !=
"objectFromListSelected" && container.state !=
"singleItemSelected")
1905 PropertyChanges {target: reloadMouseArea; enabled:
false}
1906 PropertyChanges {target: reloadIcon; opacity: 0}
1914 objectName:
"visibleIconObj"
1917 y: container.height - 50
1921 verticalCenterOffset: 0
1922 verticalCenter: backButton.verticalCenter
1929 fillMode: Image.Stretch
1930 source:
"visibleIcon.png"
1932 signal visibleIconClicked(
bool visible)
1935 id: visibleMouseArea
1936 anchors.fill: parent
1938 onEntered: visibleForeground.opacity = buttonOpacity
1939 onExited: visibleForeground.opacity = 0.0
1941 visibleIcon.visibleIconClicked(visibleIcon.state ==
"unchecked")
1942 visibleIcon.state = (visibleIcon.state ==
"unchecked") ?
"" :
"unchecked"
1947 id: visibleForeground
1950 anchors.fill: parent
1955 when: container.state !=
"objectFromListSelected"
1956 PropertyChanges {target: visibleMouseArea; enabled:
false}
1957 PropertyChanges {target: visibleIcon; opacity: 0}
1961 PropertyChanges {target: visibleIcon; opacity: 0.5}
1968 objectName:
"favoriteIconObj"
1971 y: container.height - 50
1975 verticalCenterOffset: 0
1976 verticalCenter: backButton.verticalCenter
1983 fillMode: Image.Stretch
1984 source:
"favoriteIcon.png"
1986 signal favoriteIconClicked(
bool favorite)
1989 id: favoriteMouseArea
1990 anchors.fill: parent
1992 onEntered: favoriteForeground.opacity = buttonOpacity
1993 onExited: favoriteForeground.opacity = 0.0
1995 favoriteIcon.favoriteIconClicked(favoriteIcon.state ==
"unchecked")
1996 favoriteIcon.state = (favoriteIcon.state ==
"unchecked") ?
"" :
"unchecked"
2007 id: favoriteForeground
2010 anchors.fill: parent
2015 when: container.state !=
"objectFromListSelected"
2016 PropertyChanges {target: favoriteMouseArea; enabled:
false}
2017 PropertyChanges {target: favoriteIcon; opacity: 0}
2021 PropertyChanges {target: favoriteIcon; opacity: 0.5}
2028 objectName:
"downloadIconObj"
2030 y: container.height - 50
2034 verticalCenterOffset: 0
2035 verticalCenter: backButton.verticalCenter
2042 fillMode: Image.Stretch
2043 source:
"downloadIcon.png"
2045 signal downloadIconClicked
2048 id: downloadMouseArea
2049 anchors.fill: parent
2051 onEntered: downloadForeground.opacity = buttonOpacity
2052 onExited: downloadForeground.opacity = 0.0
2053 onClicked: downloadIcon.downloadIconClicked()
2057 id: downloadForeground
2060 anchors.fill: parent
2065 when: container.state ==
"base" || container.state ==
""
2066 PropertyChanges {target: downloadMouseArea; enabled:
false}
2067 PropertyChanges {target: downloadIcon; opacity: 0}
2075 y: container.height - 50
2079 verticalCenterOffset: 0
2080 verticalCenter: backButton.verticalCenter
2087 fillMode: Image.Stretch
2088 source:
"helpIcon.png"
2092 anchors.fill: parent
2094 onEntered: helpForeground.opacity = buttonOpacity
2095 onExited: helpForeground.opacity = 0.0
2096 onClicked: (helpMessage.state ==
"helpDisplayed") ? helpMessage.state =
"" : helpMessage.state =
"helpDisplayed"
2103 anchors.fill: parent
2109 objectName:
"nightVision"
2112 anchors.fill: parent
2117 PropertyChanges {target: nightVision; opacity: 0.2}
2118 PropertyChanges {target: tabbedView; style: tabbedView.nightTabs}
2119 PropertyChanges {target: title; color:
"red"}
2120 PropertyChanges {target: catTitle; color:
"red"}
2121 PropertyChanges {target: nakedEyeText; color:
"red"}
2122 PropertyChanges {target: dsoText; color:
"red"}
2123 PropertyChanges {target: catalogText; color:
"red"}
2124 PropertyChanges {target: soListEmptyMessage; color:
"red"}
2125 PropertyChanges {target: soItemEmptyMessage; color:
"red"}
2126 PropertyChanges {target: scrollbar; color:
"red"}
2127 PropertyChanges {target: prevObjText; color:
"red"}
2128 PropertyChanges {target: nextObjText; color:
"red"}
2129 PropertyChanges {target: detailsText; color:
"red"}
2130 PropertyChanges {target: soname; color:
"red"}
2131 PropertyChanges {target: posText; color:
"red"}
2132 PropertyChanges {target: detailsButton; color:
"red"}
2133 PropertyChanges {target: centerButton; color:
"red"}
2134 PropertyChanges {target: slewTelescopeButton; color:
"red"}
2135 PropertyChanges {target: goBackText; color:
"red"}
2147 name:
"singleItemSelected"
2151 x: -(2 * categoryView.width)
2159 PropertyChanges{target:skyObjView; flipped:
true}
2163 x: container.width - 105
2167 name:
"objectFromListSelected"
2171 x: -(2 * categoryView.width)
2181 x: container.width - 105
2190 to:
"objectFromListSelected"
2195 easing.type: Easing.InOutQuad
2201 easing.type: Easing.InOutQuad
2205 from:
"objectFromListSelected"
2211 easing.type: Easing.InOutQuad
2217 easing.type: Easing.InOutQuad