| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
					
						
							|  |  |  | <ui version="4.0"> | 
					
						
							|  |  |  |  <class>MyPositionDialog</class> | 
					
						
							|  |  |  |  <widget class="QDialog" name="MyPositionDialog"> | 
					
						
							|  |  |  |   <property name="geometry"> | 
					
						
							|  |  |  |    <rect> | 
					
						
							|  |  |  |     <x>0</x> | 
					
						
							|  |  |  |     <y>0</y> | 
					
						
							|  |  |  |     <width>324</width> | 
					
						
							| 
									
										
										
										
											2024-05-13 22:55:34 +02:00
										 |  |  |     <height>219</height> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |    </rect> | 
					
						
							|  |  |  |   </property> | 
					
						
							|  |  |  |   <property name="font"> | 
					
						
							|  |  |  |    <font> | 
					
						
							| 
									
										
										
										
											2018-05-05 17:44:38 +02:00
										 |  |  |     <family>Liberation Sans</family> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |     <pointsize>9</pointsize> | 
					
						
							|  |  |  |    </font> | 
					
						
							|  |  |  |   </property> | 
					
						
							|  |  |  |   <property name="windowTitle"> | 
					
						
							| 
									
										
										
										
											2022-04-20 21:33:18 +02:00
										 |  |  |    <string>My Position</string> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |   </property> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |   <layout class="QGridLayout" name="gridLayout"> | 
					
						
							|  |  |  |    <item row="1" column="0"> | 
					
						
							|  |  |  |     <widget class="QDialogButtonBox" name="buttonBox"> | 
					
						
							|  |  |  |      <property name="orientation"> | 
					
						
							|  |  |  |       <enum>Qt::Horizontal</enum> | 
					
						
							|  |  |  |      </property> | 
					
						
							|  |  |  |      <property name="standardButtons"> | 
					
						
							|  |  |  |       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | 
					
						
							|  |  |  |      </property> | 
					
						
							|  |  |  |     </widget> | 
					
						
							|  |  |  |    </item> | 
					
						
							|  |  |  |    <item row="0" column="0"> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |     <widget class="QGroupBox" name="groupBox"> | 
					
						
							|  |  |  |      <property name="title"> | 
					
						
							|  |  |  |       <string>My Station Position</string> | 
					
						
							|  |  |  |      </property> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |      <layout class="QGridLayout" name="gridLayout_2"> | 
					
						
							|  |  |  |       <item row="1" column="1"> | 
					
						
							|  |  |  |        <widget class="QDoubleSpinBox" name="latitudeSpinBox"> | 
					
						
							|  |  |  |         <property name="toolTip"> | 
					
						
							|  |  |  |          <string>Latitude in decimal degrees</string> | 
					
						
							|  |  |  |         </property> | 
					
						
							|  |  |  |         <property name="decimals"> | 
					
						
							|  |  |  |          <number>6</number> | 
					
						
							|  |  |  |         </property> | 
					
						
							|  |  |  |         <property name="minimum"> | 
					
						
							|  |  |  |          <double>-90.000000000000000</double> | 
					
						
							|  |  |  |         </property> | 
					
						
							|  |  |  |         <property name="maximum"> | 
					
						
							|  |  |  |          <double>90.000000000000000</double> | 
					
						
							|  |  |  |         </property> | 
					
						
							|  |  |  |        </widget> | 
					
						
							|  |  |  |       </item> | 
					
						
							|  |  |  |       <item row="1" column="0"> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |        <widget class="QLabel" name="latitudeLabel"> | 
					
						
							|  |  |  |         <property name="text"> | 
					
						
							|  |  |  |          <string>Latitude</string> | 
					
						
							|  |  |  |         </property> | 
					
						
							|  |  |  |        </widget> | 
					
						
							|  |  |  |       </item> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |       <item row="0" column="1" colspan="2"> | 
					
						
							|  |  |  |        <widget class="QLineEdit" name="name"> | 
					
						
							|  |  |  |         <property name="toolTip"> | 
					
						
							|  |  |  |          <string>Enter the name of your station</string> | 
					
						
							|  |  |  |         </property> | 
					
						
							|  |  |  |         <property name="text"> | 
					
						
							|  |  |  |          <string>Home</string> | 
					
						
							|  |  |  |         </property> | 
					
						
							|  |  |  |        </widget> | 
					
						
							|  |  |  |       </item> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |       <item row="3" column="0"> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |        <widget class="QLabel" name="altitudeLabel"> | 
					
						
							|  |  |  |         <property name="text"> | 
					
						
							|  |  |  |          <string>Altitude (m)</string> | 
					
						
							|  |  |  |         </property> | 
					
						
							|  |  |  |        </widget> | 
					
						
							|  |  |  |       </item> | 
					
						
							|  |  |  |       <item row="2" column="0"> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |        <widget class="QLabel" name="longitudeLabel"> | 
					
						
							|  |  |  |         <property name="text"> | 
					
						
							|  |  |  |          <string>Longitude</string> | 
					
						
							|  |  |  |         </property> | 
					
						
							|  |  |  |        </widget> | 
					
						
							|  |  |  |       </item> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |       <item row="0" column="0"> | 
					
						
							|  |  |  |        <widget class="QLabel" name="nameLabel"> | 
					
						
							|  |  |  |         <property name="text"> | 
					
						
							|  |  |  |          <string>Station name</string> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |         </property> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |        </widget> | 
					
						
							|  |  |  |       </item> | 
					
						
							|  |  |  |       <item row="4" column="1"> | 
					
						
							|  |  |  |        <widget class="QCheckBox" name="autoUpdatePosition"> | 
					
						
							|  |  |  |         <property name="toolTip"> | 
					
						
							|  |  |  |          <string>Automatically update position using GPS (when available)</string> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |         </property> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |         <property name="text"> | 
					
						
							|  |  |  |          <string/> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |         </property> | 
					
						
							|  |  |  |        </widget> | 
					
						
							|  |  |  |       </item> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |       <item row="2" column="1"> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |        <widget class="QDoubleSpinBox" name="longitudeSpinBox"> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |         <property name="toolTip"> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |          <string>Longitude in decimal degrees</string> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |         </property> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |         <property name="decimals"> | 
					
						
							|  |  |  |          <number>6</number> | 
					
						
							|  |  |  |         </property> | 
					
						
							|  |  |  |         <property name="minimum"> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |          <double>-180.000000000000000</double> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |         </property> | 
					
						
							| 
									
										
										
										
											2021-04-02 13:18:53 +01:00
										 |  |  |         <property name="maximum"> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |          <double>180.000000000000000</double> | 
					
						
							| 
									
										
										
										
											2021-04-02 13:18:53 +01:00
										 |  |  |         </property> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |        </widget> | 
					
						
							|  |  |  |       </item> | 
					
						
							|  |  |  |       <item row="4" column="0"> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |        <widget class="QLabel" name="autoUpdatePositionLabel"> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |         <property name="text"> | 
					
						
							| 
									
										
										
										
											2024-05-13 22:55:34 +02:00
										 |  |  |          <string>Auto-update position</string> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |         </property> | 
					
						
							|  |  |  |        </widget> | 
					
						
							|  |  |  |       </item> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |       <item row="1" column="2"> | 
					
						
							|  |  |  |        <widget class="QToolButton" name="gps"> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |         <property name="toolTip"> | 
					
						
							| 
									
										
										
										
											2024-05-13 22:55:34 +02:00
										 |  |  |          <string>Set position now using GPS (or other means if available)</string> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |         </property> | 
					
						
							|  |  |  |         <property name="text"> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |          <string/> | 
					
						
							|  |  |  |         </property> | 
					
						
							|  |  |  |         <property name="icon"> | 
					
						
							|  |  |  |          <iconset resource="../resources/res.qrc"> | 
					
						
							|  |  |  |           <normaloff>:/gps.png</normaloff>:/gps.png</iconset> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |         </property> | 
					
						
							|  |  |  |        </widget> | 
					
						
							|  |  |  |       </item> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |       <item row="3" column="1"> | 
					
						
							|  |  |  |        <widget class="QSpinBox" name="altitudeSpinBox"> | 
					
						
							|  |  |  |         <property name="toolTip"> | 
					
						
							|  |  |  |          <string>Altitude in metres</string> | 
					
						
							|  |  |  |         </property> | 
					
						
							|  |  |  |         <property name="maximum"> | 
					
						
							|  |  |  |          <number>50000</number> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |         </property> | 
					
						
							|  |  |  |        </widget> | 
					
						
							|  |  |  |       </item> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |      </layout> | 
					
						
							|  |  |  |     </widget> | 
					
						
							|  |  |  |    </item> | 
					
						
							|  |  |  |   </layout> | 
					
						
							|  |  |  |  </widget> | 
					
						
							|  |  |  |  <tabstops> | 
					
						
							| 
									
										
										
										
											2020-10-27 16:22:10 +00:00
										 |  |  |   <tabstop>name</tabstop> | 
					
						
							|  |  |  |   <tabstop>latitudeSpinBox</tabstop> | 
					
						
							|  |  |  |   <tabstop>longitudeSpinBox</tabstop> | 
					
						
							|  |  |  |   <tabstop>altitudeSpinBox</tabstop> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |  </tabstops> | 
					
						
							| 
									
										
										
										
											2022-12-20 21:06:39 +00:00
										 |  |  |  <resources> | 
					
						
							|  |  |  |   <include location="../resources/res.qrc"/> | 
					
						
							|  |  |  |  </resources> | 
					
						
							| 
									
										
										
										
											2017-09-28 14:07:41 +02:00
										 |  |  |  <connections> | 
					
						
							|  |  |  |   <connection> | 
					
						
							|  |  |  |    <sender>buttonBox</sender> | 
					
						
							|  |  |  |    <signal>accepted()</signal> | 
					
						
							|  |  |  |    <receiver>MyPositionDialog</receiver> | 
					
						
							|  |  |  |    <slot>accept()</slot> | 
					
						
							|  |  |  |    <hints> | 
					
						
							|  |  |  |     <hint type="sourcelabel"> | 
					
						
							|  |  |  |      <x>257</x> | 
					
						
							|  |  |  |      <y>194</y> | 
					
						
							|  |  |  |     </hint> | 
					
						
							|  |  |  |     <hint type="destinationlabel"> | 
					
						
							|  |  |  |      <x>157</x> | 
					
						
							|  |  |  |      <y>203</y> | 
					
						
							|  |  |  |     </hint> | 
					
						
							|  |  |  |    </hints> | 
					
						
							|  |  |  |   </connection> | 
					
						
							|  |  |  |   <connection> | 
					
						
							|  |  |  |    <sender>buttonBox</sender> | 
					
						
							|  |  |  |    <signal>rejected()</signal> | 
					
						
							|  |  |  |    <receiver>MyPositionDialog</receiver> | 
					
						
							|  |  |  |    <slot>reject()</slot> | 
					
						
							|  |  |  |    <hints> | 
					
						
							|  |  |  |     <hint type="sourcelabel"> | 
					
						
							|  |  |  |      <x>314</x> | 
					
						
							|  |  |  |      <y>194</y> | 
					
						
							|  |  |  |     </hint> | 
					
						
							|  |  |  |     <hint type="destinationlabel"> | 
					
						
							|  |  |  |      <x>286</x> | 
					
						
							|  |  |  |      <y>203</y> | 
					
						
							|  |  |  |     </hint> | 
					
						
							|  |  |  |    </hints> | 
					
						
							|  |  |  |   </connection> | 
					
						
							|  |  |  |  </connections> | 
					
						
							|  |  |  | </ui> |