2017-09-28 12:07:41 +00: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>
|
2020-10-27 16:22:10 +00:00
|
|
|
<height>190</height>
|
2017-09-28 12:07:41 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
2018-05-05 15:44:38 +00:00
|
|
|
<family>Liberation Sans</family>
|
2017-09-28 12:07:41 +00:00
|
|
|
<pointsize>9</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Dialog</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>My Station Position</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QFormLayout" name="formLayout">
|
2020-10-27 16:22:10 +00:00
|
|
|
<item row="2" column="0">
|
2017-09-28 12:07:41 +00:00
|
|
|
<widget class="QLabel" name="latitudeLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Latitude</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2020-10-27 16:22:10 +00:00
|
|
|
<item row="3" column="0">
|
2017-09-28 12:07:41 +00:00
|
|
|
<widget class="QLabel" name="longitudeLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Longitude</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2020-10-27 16:22:10 +00:00
|
|
|
<item row="3" column="1">
|
2017-09-28 12:07:41 +00:00
|
|
|
<widget class="QDoubleSpinBox" name="longitudeSpinBox">
|
2020-10-27 16:22:10 +00:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Longitude in decimal degrees</string>
|
|
|
|
</property>
|
2017-09-28 12:07:41 +00:00
|
|
|
<property name="decimals">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<property name="minimum">
|
|
|
|
<double>-180.000000000000000</double>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<double>180.000000000000000</double>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2020-10-27 16:22:10 +00:00
|
|
|
<item row="2" column="1">
|
2017-09-28 12:07:41 +00:00
|
|
|
<widget class="QDoubleSpinBox" name="latitudeSpinBox">
|
2020-10-27 16:22:10 +00:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Latitude in decimal degrees</string>
|
|
|
|
</property>
|
2017-09-28 12:07:41 +00:00
|
|
|
<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>
|
2020-10-27 16:22:10 +00:00
|
|
|
<item row="4" column="1">
|
|
|
|
<widget class="QSpinBox" name="altitudeSpinBox">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Altitude in metres</string>
|
|
|
|
</property>
|
2021-04-02 12:18:53 +00:00
|
|
|
<property name="maximum">
|
|
|
|
<number>50000</number>
|
|
|
|
</property>
|
2020-10-27 16:22:10 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="0">
|
|
|
|
<widget class="QLabel" name="altitudeLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Altitude (m)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<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>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="nameLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Station name</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2017-09-28 12:07:41 +00:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<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>
|
|
|
|
</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 12:07:41 +00:00
|
|
|
</tabstops>
|
|
|
|
<resources/>
|
|
|
|
<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>
|