mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
dbc9ebbb64
Also print a debug message with the position provider in use.
199 lines
5.4 KiB
XML
199 lines
5.4 KiB
XML
<?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>
|
|
<height>219</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Liberation Sans</family>
|
|
<pointsize>9</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>My Position</string>
|
|
</property>
|
|
<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">
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>My Station Position</string>
|
|
</property>
|
|
<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">
|
|
<widget class="QLabel" name="latitudeLabel">
|
|
<property name="text">
|
|
<string>Latitude</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<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>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="altitudeLabel">
|
|
<property name="text">
|
|
<string>Altitude (m)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="longitudeLabel">
|
|
<property name="text">
|
|
<string>Longitude</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="nameLabel">
|
|
<property name="text">
|
|
<string>Station name</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QCheckBox" name="autoUpdatePosition">
|
|
<property name="toolTip">
|
|
<string>Automatically update position using GPS (when available)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QDoubleSpinBox" name="longitudeSpinBox">
|
|
<property name="toolTip">
|
|
<string>Longitude in decimal degrees</string>
|
|
</property>
|
|
<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>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="autoUpdatePositionLabel">
|
|
<property name="text">
|
|
<string>Auto-update position</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QToolButton" name="gps">
|
|
<property name="toolTip">
|
|
<string>Set position now using GPS (or other means if available)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../resources/res.qrc">
|
|
<normaloff>:/gps.png</normaloff>:/gps.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<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>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>name</tabstop>
|
|
<tabstop>latitudeSpinBox</tabstop>
|
|
<tabstop>longitudeSpinBox</tabstop>
|
|
<tabstop>altitudeSpinBox</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="../resources/res.qrc"/>
|
|
</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>
|