kopia lustrzana https://github.com/f4exb/sdrangel
398 wiersze
10 KiB
Plaintext
398 wiersze
10 KiB
Plaintext
![]() |
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>GS232ControllerGUI</class>
|
||
|
<widget class="RollupWidget" name="GS232ControllerGUI">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>320</width>
|
||
|
<height>187</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>320</width>
|
||
|
<height>100</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>320</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="font">
|
||
|
<font>
|
||
|
<family>Liberation Sans</family>
|
||
|
<pointsize>9</pointsize>
|
||
|
</font>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>GS-232 Rotator Controller</string>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="settingsContainer" native="true">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>10</y>
|
||
|
<width>301</width>
|
||
|
<height>171</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Settings</string>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<property name="spacing">
|
||
|
<number>3</number>
|
||
|
</property>
|
||
|
<property name="leftMargin">
|
||
|
<number>2</number>
|
||
|
</property>
|
||
|
<property name="topMargin">
|
||
|
<number>2</number>
|
||
|
</property>
|
||
|
<property name="rightMargin">
|
||
|
<number>2</number>
|
||
|
</property>
|
||
|
<property name="bottomMargin">
|
||
|
<number>2</number>
|
||
|
</property>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="controlLayout">
|
||
|
<item>
|
||
|
<widget class="ButtonSwitch" name="startStop">
|
||
|
<property name="toolTip">
|
||
|
<string>start/stop acquisition</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="../../../sdrgui/resources/res.qrc">
|
||
|
<normaloff>:/play.png</normaloff>
|
||
|
<normalon>:/stop.png</normalon>:/play.png</iconset>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_2">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="azimuthtLabel">
|
||
|
<property name="text">
|
||
|
<string>Azimuth</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QSpinBox" name="azimuth">
|
||
|
<property name="toolTip">
|
||
|
<string>Target azimuth in degrees</string>
|
||
|
</property>
|
||
|
<property name="minimum">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<property name="maximum">
|
||
|
<number>450</number>
|
||
|
</property>
|
||
|
<property name="value">
|
||
|
<number>359</number>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="azimuthCurrentText">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>23</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="toolTip">
|
||
|
<string>Current azimuth in degrees</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>-</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="Line" name="line">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Vertical</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="elevationLabel">
|
||
|
<property name="text">
|
||
|
<string>Elevation</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QSpinBox" name="elevation">
|
||
|
<property name="toolTip">
|
||
|
<string>Target elevation in degrees</string>
|
||
|
</property>
|
||
|
<property name="maximum">
|
||
|
<number>180</number>
|
||
|
</property>
|
||
|
<property name="value">
|
||
|
<number>180</number>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="elevationCurrentText">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>22</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="toolTip">
|
||
|
<string>Current elevation in degrees</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>-</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="serverLayout">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="serialLabel">
|
||
|
<property name="text">
|
||
|
<string>Serial Port</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QComboBox" name="serialPort">
|
||
|
<property name="toolTip">
|
||
|
<string>Name of serial port to use to connect to the GS-232 controller</string>
|
||
|
</property>
|
||
|
<property name="editable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_3">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="baudRateLabel">
|
||
|
<property name="text">
|
||
|
<string>Baud rate</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QComboBox" name="baudRate">
|
||
|
<property name="toolTip">
|
||
|
<string>Serial port baud rate for the GS-232 controller</string>
|
||
|
</property>
|
||
|
<property name="currentIndex">
|
||
|
<number>3</number>
|
||
|
</property>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>1200</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>2400</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>4800</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>9600</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>19200</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>38400</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>57600</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>115200</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="localDeviceLayout">
|
||
|
<item>
|
||
|
<widget class="QCheckBox" name="track">
|
||
|
<property name="toolTip">
|
||
|
<string>Check to enable automatic tracking of azimuth and elevation from the specified channel</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Track</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="devicesRefresh">
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>24</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="toolTip">
|
||
|
<string>Refresh indexes of available device sets</string>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset resource="../../../sdrgui/resources/res.qrc">
|
||
|
<normaloff>:/recycle.png</normaloff>:/recycle.png</iconset>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="deviceLabel">
|
||
|
<property name="text">
|
||
|
<string>Device</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QComboBox" name="device">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>55</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="toolTip">
|
||
|
<string>Receiver deviceset index</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="channelLabel">
|
||
|
<property name="text">
|
||
|
<string>Channel</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QComboBox" name="channel">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>55</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="toolTip">
|
||
|
<string>Channel index</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="channelLayout">
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_5">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<customwidgets>
|
||
|
<customwidget>
|
||
|
<class>RollupWidget</class>
|
||
|
<extends>QWidget</extends>
|
||
|
<header>gui/rollupwidget.h</header>
|
||
|
<container>1</container>
|
||
|
</customwidget>
|
||
|
<customwidget>
|
||
|
<class>ButtonSwitch</class>
|
||
|
<extends>QToolButton</extends>
|
||
|
<header>gui/buttonswitch.h</header>
|
||
|
</customwidget>
|
||
|
</customwidgets>
|
||
|
<resources>
|
||
|
<include location="../../../sdrgui/resources/res.qrc"/>
|
||
|
</resources>
|
||
|
<connections/>
|
||
|
</ui>
|