| 
									
										
										
										
											2015-08-19 10:16:36 +03:00
										 |  |  | import QtQuick 2.3 | 
					
						
							|  |  |  | import QtQuick.Controls 1.2 | 
					
						
							|  |  |  | import QtQuick.Controls.Styles 1.2 | 
					
						
							|  |  |  | import QtQuick.Window 2.2 | 
					
						
							|  |  |  | import QtQuick.Dialogs 1.2 | 
					
						
							|  |  |  | import QtQuick.Layouts 1.1 | 
					
						
							|  |  |  | import QtQuick.Window 2.2 | 
					
						
							| 
									
										
										
										
											2015-11-29 17:27:20 +01:00
										 |  |  | import org.kde.plasma.mobilecomponents 0.2 as MobileComponents | 
					
						
							| 
									
										
										
										
											2015-08-19 10:16:36 +03:00
										 |  |  | import org.subsurfacedivelog.mobile 1.0 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Rectangle { | 
					
						
							| 
									
										
										
										
											2015-11-07 03:08:05 +01:00
										 |  |  | 	id: topPart | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-11-29 19:21:27 +01:00
										 |  |  | 	color: subsurfaceTheme.accentColor | 
					
						
							| 
									
										
										
										
											2016-02-13 23:44:59 -08:00
										 |  |  | 	Layout.minimumHeight: Math.round(MobileComponents.Units.gridUnit * 1.5) | 
					
						
							| 
									
										
										
										
											2015-08-19 10:16:36 +03:00
										 |  |  | 	Layout.fillWidth: true | 
					
						
							|  |  |  | 	Layout.margins: 0 | 
					
						
							|  |  |  | 	RowLayout { | 
					
						
							| 
									
										
										
										
											2016-02-13 23:44:59 -08:00
										 |  |  | 		anchors.verticalCenter: topPart.verticalCenter | 
					
						
							| 
									
										
										
										
											2015-11-07 03:32:37 +01:00
										 |  |  | 		Item { | 
					
						
							|  |  |  | 			Layout.preferredHeight: subsurfaceLogo.height | 
					
						
							| 
									
										
										
										
											2016-02-13 23:44:59 -08:00
										 |  |  | 			Layout.leftMargin: MobileComponents.Units.gridUnit / 4 | 
					
						
							| 
									
										
										
										
											2015-11-07 03:32:37 +01:00
										 |  |  | 			Image { | 
					
						
							|  |  |  | 				id: subsurfaceLogo | 
					
						
							|  |  |  | 				source: "qrc:/qml/subsurface-mobile-icon.png" | 
					
						
							|  |  |  | 				anchors { | 
					
						
							| 
									
										
										
										
											2016-02-13 23:44:59 -08:00
										 |  |  | 					verticalCenter: parent.Center | 
					
						
							| 
									
										
										
										
											2015-11-07 03:32:37 +01:00
										 |  |  | 					left: parent.left | 
					
						
							|  |  |  | 				} | 
					
						
							| 
									
										
										
										
											2016-02-13 23:44:59 -08:00
										 |  |  | 				width: Math.round(MobileComponents.Units.gridUnit) | 
					
						
							| 
									
										
										
										
											2015-11-07 03:32:37 +01:00
										 |  |  | 				height: width | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2015-11-30 01:04:09 +01:00
										 |  |  | 			MobileComponents.Label { | 
					
						
							| 
									
										
										
										
											2016-01-01 09:34:32 -08:00
										 |  |  | 				text: qsTr("Subsurface-mobile") | 
					
						
							| 
									
										
										
										
											2016-02-13 23:44:59 -08:00
										 |  |  | 				font.pointSize: Math.round(MobileComponents.Theme.defaultFont.pointSize) | 
					
						
							|  |  |  | 				height: subsurfaceLogo.height | 
					
						
							| 
									
										
										
										
											2015-11-07 03:32:37 +01:00
										 |  |  | 				anchors { | 
					
						
							|  |  |  | 					left: subsurfaceLogo.right | 
					
						
							| 
									
										
										
										
											2016-01-26 14:55:23 -02:00
										 |  |  | 					leftMargin: Math.round(MobileComponents.Units.gridUnit / 2) | 
					
						
							| 
									
										
										
										
											2015-11-07 03:32:37 +01:00
										 |  |  | 				} | 
					
						
							| 
									
										
										
										
											2015-11-30 01:04:09 +01:00
										 |  |  | 				font.weight: Font.Light | 
					
						
							| 
									
										
										
										
											2016-02-13 23:44:59 -08:00
										 |  |  | 				verticalAlignment: Text.AlignVCenter | 
					
						
							| 
									
										
										
										
											2015-11-07 03:32:37 +01:00
										 |  |  | 				Layout.fillWidth: false | 
					
						
							| 
									
										
										
										
											2015-11-29 19:21:27 +01:00
										 |  |  | 				color: subsurfaceTheme.accentTextColor | 
					
						
							| 
									
										
										
										
											2015-11-07 03:32:37 +01:00
										 |  |  | 			} | 
					
						
							| 
									
										
										
										
											2015-11-07 03:08:05 +01:00
										 |  |  | 		} | 
					
						
							|  |  |  | 		Item { | 
					
						
							|  |  |  | 			Layout.fillWidth: true | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2015-08-19 10:16:36 +03:00
										 |  |  | 	} | 
					
						
							|  |  |  | } |