1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 01:18:38 -05:00
sdrangel/sdrgui/gui/myposdialog.ui

199 lines
5.4 KiB
Plaintext
Raw Normal View History

2017-09-28 08:07:41 -04: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>
<height>219</height>
2017-09-28 08:07:41 -04:00
</rect>
</property>
<property name="font">
<font>
<family>Liberation Sans</family>
2017-09-28 08:07:41 -04:00
<pointsize>9</pointsize>
</font>
</property>
<property name="windowTitle">
<string>My Position</string>
2017-09-28 08:07:41 -04:00
</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">
2017-09-28 08:07:41 -04:00
<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">
2017-09-28 08:07:41 -04:00
<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">
2017-09-28 08:07:41 -04:00
<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>
2017-09-28 08:07:41 -04:00
</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>
2017-09-28 08:07:41 -04:00
</property>
<property name="text">
<string/>
2017-09-28 08:07:41 -04:00
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QDoubleSpinBox" name="longitudeSpinBox">
<property name="toolTip">
<string>Longitude in decimal degrees</string>
</property>
2017-09-28 08:07:41 -04: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>
<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>
2017-09-28 08:07:41 -04:00
</layout>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>name</tabstop>
<tabstop>latitudeSpinBox</tabstop>
<tabstop>longitudeSpinBox</tabstop>
<tabstop>altitudeSpinBox</tabstop>
2017-09-28 08:07:41 -04:00
</tabstops>
<resources>
<include location="../resources/res.qrc"/>
</resources>
2017-09-28 08:07:41 -04: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>