kopia lustrzana https://github.com/PianetaRadio/CatRadio
430 wiersze
13 KiB
XML
430 wiersze
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DialogConfig</class>
|
|
<widget class="QDialog" name="DialogConfig">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>390</width>
|
|
<height>700</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Radio Config</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3" stretch="0,1">
|
|
<item>
|
|
<widget class="QLabel" name="label_RigModel">
|
|
<property name="text">
|
|
<string>Model</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>comboBox_rigModel</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="comboBox_rigModel"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget_Config">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="tab_com">
|
|
<attribute name="title">
|
|
<string>COM</string>
|
|
</attribute>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_comPort">
|
|
<property name="text">
|
|
<string>COM Port</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>comboBox_comPort</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="comboBox_comPort">
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_serialSpeed">
|
|
<property name="text">
|
|
<string>Speed</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>comboBox_serialSpeed</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="comboBox_serialSpeed"/>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_civAddr">
|
|
<property name="cursor">
|
|
<cursorShape>ArrowCursor</cursorShape>
|
|
</property>
|
|
<property name="text">
|
|
<string>Icom CI-V</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>lineEdit_civAddr</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_civAddr">
|
|
<property name="toolTip">
|
|
<string>hex, Icom only</string>
|
|
</property>
|
|
<property name="statusTip">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>h</string>
|
|
</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>
|
|
</layout>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<widget class="QGroupBox" name="groupBox_serialDataBits">
|
|
<property name="title">
|
|
<string>Data Bits</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_dataBits7">
|
|
<property name="text">
|
|
<string>7</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_dataBits8">
|
|
<property name="text">
|
|
<string>8</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0" colspan="2">
|
|
<widget class="QGroupBox" name="groupBox_serialStopBits">
|
|
<property name="title">
|
|
<string>Stop Bits</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_stopBits1">
|
|
<property name="text">
|
|
<string>1</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_stopBits2">
|
|
<property name="text">
|
|
<string>2</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0" colspan="2">
|
|
<widget class="QGroupBox" name="groupBox_serialHandshake">
|
|
<property name="title">
|
|
<string>Handshake</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="1" column="0">
|
|
<widget class="QRadioButton" name="radioButton_handshakeXonXoff">
|
|
<property name="text">
|
|
<string>XON/XOFF</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QRadioButton" name="radioButton_handshakeHardware">
|
|
<property name="text">
|
|
<string>Hardware</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QRadioButton" name="radioButton_handshakeNone">
|
|
<property name="text">
|
|
<string>None</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" colspan="2">
|
|
<widget class="QGroupBox" name="groupBox_serialParity">
|
|
<property name="title">
|
|
<string>Parity</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="2" column="0">
|
|
<widget class="QRadioButton" name="radioButton_parityOdd">
|
|
<property name="text">
|
|
<string>Odd</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QRadioButton" name="radioButton_parityEven">
|
|
<property name="text">
|
|
<string>Even</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QRadioButton" name="radioButton_parityNone">
|
|
<property name="text">
|
|
<string>None</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_tcp">
|
|
<attribute name="title">
|
|
<string>TCP</string>
|
|
</attribute>
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="checkBox_netRigctl">
|
|
<property name="text">
|
|
<string>NET Rigctl</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_ip">
|
|
<property name="text">
|
|
<string>IP address</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>lineEdit_ip</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLineEdit" name="lineEdit_ip">
|
|
<property name="toolTip">
|
|
<string>rigctld ip:port</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>127.0.0.1:4532</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Options</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout_3">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label_RefreshRate">
|
|
<property name="text">
|
|
<string>Refresh Rate</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>spinBox_RefreshRate</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="spinBox_RefreshRate">
|
|
<property name="minimum">
|
|
<number>50</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>50</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>200</number>
|
|
</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 row="0" column="1">
|
|
<widget class="QCheckBox" name="checkBox_fullPoll">
|
|
<property name="text">
|
|
<string>Full polling</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QCheckBox" name="checkBox_autoConnect">
|
|
<property name="toolTip">
|
|
<string>Auto connect on startup</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Auto connect</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="checkBox_autoPowerOn">
|
|
<property name="toolTip">
|
|
<string>Auto power-on on startup</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Auto power ON</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</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>
|
|
<tabstop>comboBox_rigModel</tabstop>
|
|
<tabstop>tabWidget_Config</tabstop>
|
|
<tabstop>comboBox_comPort</tabstop>
|
|
<tabstop>comboBox_serialSpeed</tabstop>
|
|
<tabstop>lineEdit_civAddr</tabstop>
|
|
<tabstop>radioButton_dataBits7</tabstop>
|
|
<tabstop>radioButton_dataBits8</tabstop>
|
|
<tabstop>radioButton_parityNone</tabstop>
|
|
<tabstop>radioButton_parityOdd</tabstop>
|
|
<tabstop>radioButton_parityEven</tabstop>
|
|
<tabstop>radioButton_stopBits1</tabstop>
|
|
<tabstop>radioButton_stopBits2</tabstop>
|
|
<tabstop>radioButton_handshakeNone</tabstop>
|
|
<tabstop>radioButton_handshakeXonXoff</tabstop>
|
|
<tabstop>radioButton_handshakeHardware</tabstop>
|
|
<tabstop>spinBox_RefreshRate</tabstop>
|
|
<tabstop>checkBox_fullPoll</tabstop>
|
|
<tabstop>checkBox_autoConnect</tabstop>
|
|
<tabstop>checkBox_autoPowerOn</tabstop>
|
|
<tabstop>checkBox_netRigctl</tabstop>
|
|
<tabstop>lineEdit_ip</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>DialogConfig</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>270</x>
|
|
<y>688</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>DialogConfig</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>338</x>
|
|
<y>688</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|