15 objectName:
"containerObj"
28 text: i18n(
"What's Interesting...")
29 verticalAlignment: Text.AlignVCenter
30 font.family:
"Cantarell"
42 anchors.left: parent.left
44 anchors.right: parent.right
45 anchors.rightMargin: 0
48 objectName:
"viewsRowObj"
50 anchors.top: parent.top
51 anchors.bottom: parent.bottom
53 signal categorySelected(
int category)
68 anchors.top: parent.top
70 anchors.bottom: parent.bottom
71 anchors.bottomMargin: 13
72 anchors.right: parent.right
73 anchors.rightMargin: 20
74 anchors.left: parent.left
75 anchors.leftMargin: 20
85 width: planetText.width
86 height: planetText.height
88 anchors.verticalCenterOffset: -130
89 anchors.horizontalCenterOffset: -30
90 anchors.verticalCenter: parent.verticalCenter
91 anchors.horizontalCenter: parent.horizontalCenter
99 anchors.horizontalCenter: parent.horizontalCenter
100 anchors.verticalCenter: parent.verticalCenter
101 verticalAlignment: Text.AlignVCenter
102 horizontalAlignment: Text.AlignHCenter
103 font.family:
"Cantarell"
110 onEntered: container.state =
"planetAreaEntered"
112 viewsRow.categorySelected(0)
113 container.state =
"soTypeSelected"
123 width: starText.width
124 height: starText.height
126 anchors.verticalCenterOffset: -85
127 anchors.horizontalCenterOffset: 87
128 anchors.horizontalCenter: parent.horizontalCenter
129 anchors.verticalCenter: parent.verticalCenter
137 anchors.horizontalCenter: parent.horizontalCenter
138 anchors.verticalCenter: parent.verticalCenter
139 verticalAlignment: Text.AlignVCenter
140 horizontalAlignment: Text.AlignHCenter
141 font.family:
"Cantarell"
148 onEntered: container.state =
"starAreaEntered"
150 viewsRow.categorySelected(1)
151 container.state =
"soTypeSelected"
162 height: conText.height
164 anchors.verticalCenterOffset: -52
165 anchors.horizontalCenterOffset: -63
166 anchors.horizontalCenter: parent.horizontalCenter
167 anchors.verticalCenter: parent.verticalCenter
172 text: i18n(
"Constellations")
173 anchors.verticalCenter: parent.verticalCenter
174 anchors.horizontalCenter: parent.horizontalCenter
175 font.family:
"Cantarell"
176 verticalAlignment: Text.AlignVCenter
177 horizontalAlignment: Text.AlignHCenter
184 onEntered: container.state =
"conAreaEntered"
186 viewsRow.categorySelected(2)
187 container.state =
"soTypeSelected"
198 anchors.right: parent.right
199 anchors.rightMargin: 35
200 anchors.left: parent.left
201 anchors.leftMargin: 35
208 height: dsoText.height
210 anchors.verticalCenterOffset: -54
211 anchors.horizontalCenterOffset: 0
212 anchors.horizontalCenter: parent.horizontalCenter
213 anchors.verticalCenter: parent.verticalCenter
219 text: i18n(
"Deep-sky Objects")
220 anchors.horizontalCenter: parent.horizontalCenter
221 anchors.verticalCenter: parent.verticalCenter
222 verticalAlignment: Text.AlignVCenter
223 horizontalAlignment: Text.AlignHCenter
229 onEntered: container.state =
"dsoAreaEntered"
230 onClicked: container.state =
"dsoAreaClicked"
232 font.family:
"Cantarell"
241 height: galText.height
243 anchors.verticalCenterOffset: -4
244 anchors.horizontalCenterOffset: -77
245 anchors.horizontalCenter: parent.horizontalCenter
246 anchors.verticalCenter: parent.verticalCenter
253 text: i18n(
"Galaxies")
254 anchors.horizontalCenter: parent.horizontalCenter
255 anchors.verticalCenter: parent.verticalCenter
256 verticalAlignment: Text.AlignVCenter
257 horizontalAlignment: Text.AlignHCenter
265 onEntered: container.state =
"galAreaEntered"
267 viewsRow.categorySelected(3)
268 container.state =
"dsoTypeSelected"
271 anchors.rightMargin: 0
272 anchors.bottomMargin: 0
273 font.family:
"Cantarell"
274 anchors.leftMargin: 0
283 height: nebText.height
285 anchors.verticalCenterOffset: 52
286 anchors.horizontalCenterOffset: -17
287 anchors.horizontalCenter: parent.horizontalCenter
288 anchors.verticalCenter: parent.verticalCenter
295 text: i18n(
"Nebulae")
296 anchors.horizontalCenter: parent.horizontalCenter
297 anchors.verticalCenter: parent.verticalCenter
298 verticalAlignment: Text.AlignVCenter
299 horizontalAlignment: Text.AlignHCenter
306 onEntered: container.state =
"nebAreaEntered"
308 viewsRow.categorySelected(5)
309 container.state =
"dsoTypeSelected"
312 font.family:
"Cantarell"
320 width: clustText.width
321 height: clustText.height
323 anchors.verticalCenterOffset: 8
324 anchors.horizontalCenterOffset: 69
325 anchors.horizontalCenter: parent.horizontalCenter
326 anchors.verticalCenter: parent.verticalCenter
333 text: i18n(
"Clusters")
334 anchors.verticalCenter: parent.verticalCenter
335 anchors.horizontalCenter: parent.horizontalCenter
336 verticalAlignment: Text.AlignVCenter
337 horizontalAlignment: Text.AlignHCenter
344 onEntered: container.state =
"clustAreaEntered"
346 viewsRow.categorySelected(4)
347 container.state =
"dsoTypeSelected"
350 font.family:
"Cantarell"
359 height: parent.height
360 anchors.leftMargin: categoryView.width
363 anchors.left: categoryView.right
365 property bool flipped:
false
373 id: soListViewBackground
374 anchors.fill: soListViewContainer
382 id: soListViewContainer
385 width: parent.width - 30
390 border.color:
"#000000"
394 objectName:
"soListObj"
397 signal soListItemClicked(
int type,
string typeName,
int curIndex)
401 flickable: soListView
414 anchors.verticalCenter: parent.verticalCenter
419 onEntered: dispText.color =
"yellow"
420 onExited: dispText.color =
"white"
422 soListView.currentIndex = index
423 soListView.soListItemClicked(type, typeName, soListView.currentIndex)
424 skyObjView.flipped =
true
436 id: detailsViewContainer
438 height: parent.height
442 id: detailsViewBackground
443 anchors.fill: detailsView
451 objectName:
"detailsViewObj"
454 width: parent.width - 30
458 border.color:
"#000000"
462 objectName:
"sonameObj"
468 anchors.left: parent.left
469 anchors.leftMargin: 8
471 horizontalAlignment: Text.AlignLeft
472 verticalAlignment: Text.AlignVCenter
479 objectName:
"posTextObj"
481 anchors.right: parent.right
482 anchors.rightMargin: 10
487 font.family:
"Cantarell"
488 horizontalAlignment: Text.AlignRight
489 font.underline:
false
502 anchors.right: parent.right
503 anchors.rightMargin: 4
504 anchors.left: parent.left
505 anchors.leftMargin: 4
506 border.color:
"#585454"
508 id: flickableDescText
510 flickableDirection: Flickable.VerticalFlick
512 height: parent.height
513 anchors.top: parent.top
515 anchors.bottom: parent.bottom
516 anchors.bottomMargin: 4
518 contentWidth: parent.width
519 contentHeight: col.height + 4
523 anchors.top :parent.top
525 anchors.left: parent.left
526 anchors.leftMargin: 6
527 anchors.right: parent.right
533 objectName:
"descTextObj"
536 font.family:
"Cantarell"
538 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
544 objectName:
"descSrcTextObj"
546 text: i18n(
"Source: ")
547 font.family:
"Cantarell"
549 horizontalAlignment: Text.AlignRight
551 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
562 objectName:
"nextObj"
565 width: nextObjText.width + nextObjIcon.width + 5
569 anchors.right: parent.right
570 anchors.rightMargin: 10
572 signal nextObjClicked()
575 id: nextObjForeground
577 anchors.fill: nextObjRect
585 anchors.fill: nextObjRect
588 nextObjForeground.opacity = 0.1
589 nextObjText.color =
"yellow"
592 nextObjForeground.opacity = 0.0
593 nextObjText.color =
"white"
595 onClicked: nextObjRect.nextObjClicked()
600 objectName:
"nextTextObj"
605 anchors.right: nextObjIcon.left
606 anchors.rightMargin: 5
607 anchors.verticalCenter: parent.verticalCenter
609 verticalAlignment: Text.AlignVCenter
610 horizontalAlignment: Text.AlignRight
621 anchors.right: parent.right
622 anchors.rightMargin: 0
623 anchors.verticalCenterOffset: 0
624 anchors.verticalCenter: parent.verticalCenter
625 sourceSize.height: 24
633 objectName:
"prevObj"
635 width: prevObjText.width + prevObjIcon.width + 5
639 anchors.left: parent.left
640 anchors.leftMargin: 8
642 signal prevObjClicked()
646 id: prevObjForeground
648 anchors.top: parent.top
649 anchors.right: parent.right
650 anchors.bottom: parent.bottom
651 anchors.left: parent.left
661 prevObjForeground.opacity = 0.1
662 prevObjText.color =
"yellow"
665 prevObjForeground.opacity = 0.0
666 prevObjText.color =
"white"
668 onClicked: prevObjRect.prevObjClicked()
673 objectName:
"prevTextObj"
677 text: i18n(
"Previous")
678 anchors.left: prevObjIcon.right
679 anchors.leftMargin: 5
680 anchors.verticalCenterOffset: 0
683 anchors.verticalCenter: parent.verticalCenter
685 horizontalAlignment: Text.AlignLeft
686 verticalAlignment: Text.AlignVCenter
693 anchors.verticalCenter: parent.verticalCenter
694 sourceSize.height: 24
696 source:
"previous.png"
710 objectName:
"sbTextObj"
714 text: i18n(
"Surface Brightness:")
715 anchors.left: parent.left
716 anchors.leftMargin: 8
718 font.family:
"Cantarell"
719 horizontalAlignment: Text.AlignLeft
720 verticalAlignment: Text.AlignVCenter
725 objectName:
"magTextObj"
729 text: i18n(
"Magnitude: ")
730 anchors.left: parent.left
731 anchors.leftMargin: 8
732 font.family:
"Cantarell"
733 verticalAlignment: Text.AlignVCenter
734 horizontalAlignment: Text.AlignLeft
740 objectName:
"sizeTextObj"
745 anchors.left: parent.left
746 anchors.leftMargin: 8
748 font.family:
"Cantarell"
749 horizontalAlignment: Text.AlignLeft
750 verticalAlignment: Text.AlignVCenter
755 id: detailsViewButtonsCol
760 anchors.right: parent.right
761 anchors.rightMargin: 0
766 objectName:
"detailsButtonObj"
770 anchors.rightMargin: 10
771 anchors.right: parent.right
772 verticalAlignment: Text.AlignVCenter
774 text: i18n(
"More object details")
775 font.family:
"Cantarell"
778 signal detailsButtonClicked()
785 onEntered: detailsButton.color =
"yellow"
786 onExited: detailsButton.color =
"white"
787 onClicked: detailsButton.detailsButtonClicked()
793 objectName:
"slewButtonObj"
797 text: i18n(
"Slew map to object")
798 font.family:
"Cantarell"
799 anchors.right: parent.right
800 anchors.rightMargin: 10
802 verticalAlignment: Text.AlignVCenter
805 signal slewButtonClicked()
811 onEntered: slewButton.color =
"yellow"
812 onExited: slewButton.color =
"white"
813 onClicked: slewButton.slewButtonClicked()
824 target: listToDetailsRotation
829 target: settingsMouseArea
839 target: reloadMouseArea
848 when: skyObjView.flipped
854 NumberAnimation { target: listToDetailsRotation;
property:
"angle"; duration: 400 }
858 transform: Rotation {
859 id: listToDetailsRotation
860 origin.x: container.width / 2;
869 x: container.width + 10
871 width: leftArrow.width + goBackText.width + 18
888 anchors.left: leftArrow.right
889 anchors.leftMargin: 7
890 anchors.verticalCenterOffset: 0
891 anchors.verticalCenter: leftArrow.verticalCenter
892 font.family:
"Cantarell"
894 verticalAlignment: Text.AlignVCenter
895 horizontalAlignment: Text.AlignHCenter
901 anchors.left: parent.left
902 anchors.leftMargin: 4
903 anchors.verticalCenterOffset: 0
904 anchors.verticalCenter: parent.verticalCenter
905 source:
"leftArrow.png"
909 id: backButtonMouseArea
912 anchors.fill: backButton
914 onEntered: goBackForeground.opacity = 0.2
915 onExited: goBackForeground.opacity = 0.0
917 if ( container.state ==
"soTypeSelected" ) {
918 if ( !skyObjView.flipped ) {
919 container.state =
"base"
920 }
else if ( skyObjView.flipped ) {
921 skyObjView.flipped =
false
923 }
else if ( container.state ==
"dsoTypeSelected" ) {
924 if ( !skyObjView.flipped ) {
925 container.state =
"dsoAreaClicked"
926 }
else if ( skyObjView.flipped ) {
927 skyObjView.flipped =
false
936 objectName:
"settingsIconObj"
941 anchors.verticalCenterOffset: 0
942 anchors.verticalCenter: backButton.verticalCenter
943 sourceSize.height: 40
946 fillMode: Image.Stretch
947 source:
"settingsIcon.png"
949 signal settingsIconClicked()
952 id: settingsMouseArea
955 onEntered: settingsForeground.opacity = 0.2
956 onExited: settingsForeground.opacity = 0.0
957 onClicked: settingsIcon.settingsIconClicked()
961 id: settingsForeground
970 objectName:
"reloadIconObj"
975 anchors.verticalCenterOffset: 0
976 anchors.verticalCenter: backButton.verticalCenter
977 sourceSize.height: 40
980 fillMode: Image.Stretch
981 source:
"reloadIcon.png"
983 signal reloadIconClicked()
989 onEntered: reloadForeground.opacity = 0.2
990 onExited: reloadForeground.opacity = 0.0
991 onClicked: reloadIcon.reloadIconClicked()
1022 name:
"planetAreaEntered"
1031 name:
"starAreaEntered"
1040 name:
"conAreaEntered"
1049 name:
"dsoAreaEntered"
1058 name:
"dsoAreaClicked"
1061 font.pixelSize:
"21"
1096 target: clustMouseArea
1102 target: galMouseArea
1108 target: nebMouseArea
1114 target: dsoMouseArea
1119 target: dsoContainer
1139 name:
"galAreaEntered"
1142 font.pixelSize:
"21"
1177 target: dsoMouseArea
1189 target: dsoContainer
1194 target: clustMouseArea
1200 target: galMouseArea
1206 target: nebMouseArea
1222 name:
"nebAreaEntered"
1225 font.pixelSize:
"21"
1260 target: dsoMouseArea
1272 target: dsoContainer
1277 target: clustMouseArea
1283 target: nebMouseArea
1289 target: galMouseArea
1305 name:
"clustAreaEntered"
1308 font.pixelSize:
"21"
1343 target: dsoMouseArea
1355 target: dsoContainer
1360 target: clustMouseArea
1366 target: galMouseArea
1372 target: nebMouseArea
1388 name:
"soTypeSelected"
1392 x: -(2*categoryView.width)
1394 anchors.topMargin: 0
1395 anchors.bottomMargin: 0
1400 x: container.width - 105
1404 name:
"dsoTypeSelected"
1408 x: -(2*categoryView.width)
1410 anchors.topMargin: 0
1411 anchors.bottomMargin: 0
1416 x: container.width - 105
1421 font.pixelSize:
"21"
1456 target: clustMouseArea
1462 target: galMouseArea
1468 target: nebMouseArea
1474 target: dsoMouseArea
1479 target: dsoContainer
1503 to:
"planetAreaEntered"
1504 NumberAnimation { target: planetText;
property:
"font.pixelSize"; to: 21; duration: 150 }
1505 NumberAnimation { target: dsoText;
property:
"font.pixelSize"; duration: 150 }
1506 NumberAnimation { target: conText;
property:
"font.pixelSize"; duration: 150 }
1507 NumberAnimation { target: galText;
property:
"font.pixelSize"; duration: 150 }
1508 NumberAnimation { target: nebText;
property:
"font.pixelSize"; duration: 150 }
1509 NumberAnimation { target: dsoContainer;
property:
"y"; duration: 500 }
1510 NumberAnimation { target: galRect;
property:
"opacity"; duration: 500 }
1511 NumberAnimation { target: nebRect;
property:
"opacity"; duration: 500 }
1512 NumberAnimation { target: clustRect;
property:
"opacity"; duration: 500 }
1516 to:
"starAreaEntered"
1517 NumberAnimation { target: starText;
property:
"font.pixelSize"; to: 21; duration: 150 }
1518 NumberAnimation { target: dsoText;
property:
"font.pixelSize"; duration: 150 }
1519 NumberAnimation { target: conText;
property:
"font.pixelSize"; duration: 150 }
1520 NumberAnimation { target: galText;
property:
"font.pixelSize"; duration: 150 }
1521 NumberAnimation { target: nebText;
property:
"font.pixelSize"; duration: 150 }
1522 NumberAnimation { target: dsoContainer;
property:
"y"; duration: 500 }
1523 NumberAnimation { target: galRect;
property:
"opacity"; duration: 500 }
1524 NumberAnimation { target: nebRect;
property:
"opacity"; duration: 500 }
1525 NumberAnimation { target: clustRect;
property:
"opacity"; duration: 500 }
1529 to:
"conAreaEntered"
1530 NumberAnimation { target: conText;
property:
"font.pixelSize"; to: 21; duration: 150 }
1531 NumberAnimation { target: dsoText;
property:
"font.pixelSize"; duration: 150 }
1532 NumberAnimation { target: conText;
property:
"font.pixelSize"; duration: 150 }
1533 NumberAnimation { target: galText;
property:
"font.pixelSize"; duration: 150 }
1534 NumberAnimation { target: nebText;
property:
"font.pixelSize"; duration: 150 }
1535 NumberAnimation { target: dsoContainer;
property:
"y"; duration: 500 }
1536 NumberAnimation { target: galRect;
property:
"opacity"; duration: 500 }
1537 NumberAnimation { target: nebRect;
property:
"opacity"; duration: 500 }
1538 NumberAnimation { target: clustRect;
property:
"opacity"; duration: 500 }
1542 to:
"dsoAreaEntered"
1543 NumberAnimation { target: dsoText;
property:
"font.pixelSize"; to: 21; duration: 150 }
1547 to:
"galAreaEntered"
1548 NumberAnimation { target: galText;
property:
"font.pixelSize"; to: 21; duration: 150 }
1552 to:
"nebAreaEntered"
1553 NumberAnimation { target: nebText;
property:
"font.pixelSize"; to: 21; duration: 150 }
1557 to:
"clustAreaEntered"
1558 NumberAnimation { target: clustText;
property:
"font.pixelSize"; to: 21; duration: 150 }
1562 to:
"dsoAreaClicked"
1563 NumberAnimation { target: dsoContainer;
property:
"y"; duration: 200 }
1564 NumberAnimation { target: galRect;
property:
"opacity"; duration: 500 }
1565 NumberAnimation { target: nebRect;
property:
"opacity"; duration: 500 }
1566 NumberAnimation { target: clustRect;
property:
"opacity"; duration: 500 }
1570 to:
"soTypeSelected"
1571 NumberAnimation { target: viewsRow;
property:
"x"; duration: 250; easing.type: Easing.InOutQuad }
1572 NumberAnimation { target: backButton;
property:
"x"; duration: 250; easing.type: Easing.InOutQuad }
1576 to:
"dsoTypeSelected"
1577 NumberAnimation { target: viewsRow;
property:
"x"; duration: 250; easing.type: Easing.InOutQuad }
1578 NumberAnimation { target: backButton;
property:
"x"; duration: 250; easing.type: Easing.InOutQuad }
1581 from:
"soTypeSelected"
1583 NumberAnimation { target: viewsRow;
property:
"x"; duration: 250; easing.type: Easing.InOutQuad }
1584 NumberAnimation { target: backButton;
property:
"x"; duration: 250; easing.type: Easing.InOutQuad }
1587 from:
"dsoTypeSelected"
1588 to:
"dsoAreaClicked"
1589 NumberAnimation { target: viewsRow;
property:
"x"; duration: 250; easing.type: Easing.InOutQuad }
1590 NumberAnimation { target: backButton;
property:
"x"; duration: 250; easing.type: Easing.InOutQuad }