1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00
sdrangel/plugins/feature/remotecontrol/remotecontrolvisasensordialog.ui
2022-09-16 10:20:16 +01:00

174 lines
4.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>RemoteControlVISASensorDialog</class>
<widget class="QDialog" name="RemoteControlVISASensorDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>350</height>
</rect>
</property>
<property name="font">
<font>
<family>Liberation Sans</family>
<pointsize>9</pointsize>
</font>
</property>
<property name="windowTitle">
<string>VISA Sensor</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="flat">
<bool>false</bool>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="topMargin">
<number>0</number>
</property>
<item row="2" column="0">
<widget class="QLabel" name="typeLabel">
<property name="text">
<string>Type</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="getStateLabel">
<property name="text">
<string>Get state</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QTextEdit" name="getState">
<property name="toolTip">
<string>VISA/SCPI command to get the state for this sensor</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="name">
<property name="toolTip">
<string>Name of this sensor</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="nameLabel">
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="type">
<item>
<property name="text">
<string>Boolean</string>
</property>
</item>
<item>
<property name="text">
<string>Float</string>
</property>
</item>
<item>
<property name="text">
<string>String</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="idLabel">
<property name="text">
<string>ID</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="id">
<property name="toolTip">
<string>Unique (per device) identifier for this sensor</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Units</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="units">
<property name="toolTip">
<string>The units of the sensor state</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>name</tabstop>
<tabstop>id</tabstop>
<tabstop>type</tabstop>
<tabstop>units</tabstop>
<tabstop>getState</tabstop>
</tabstops>
<resources>
<include location="../../../sdrgui/resources/res.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>RemoteControlVISASensorDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>356</x>
<y>330</y>
</hint>
<hint type="destinationlabel">
<x>356</x>
<y>175</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>RemoteControlVISASensorDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>356</x>
<y>330</y>
</hint>
<hint type="destinationlabel">
<x>356</x>
<y>175</y>
</hint>
</hints>
</connection>
</connections>
</ui>