Desktop UI for serial encoding checkbox + connections

This commit is contained in:
mmehari 2024-03-23 04:55:11 +01:00
parent 2649171a41
commit 3907e4d180
1 changed files with 111 additions and 0 deletions

View File

@ -140,6 +140,37 @@
</property>
</widget>
</item>
<item>
<widget class="QPlainTextEdit" name="txuart">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPlainTextEdit" name="console2">
<property name="sizePolicy">
@ -1350,6 +1381,22 @@
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="serialEncodingCheck_CH1">
<property name="title">
<string>Serial Encoding</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
@ -4491,6 +4538,70 @@
</hint>
</hints>
</connection>
<connection>
<sender>serialEncodingCheck_CH1</sender>
<signal>toggled(bool)</signal>
<receiver>txuart</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>1394</x>
<y>982</y>
</hint>
<hint type="destinationlabel">
<x>411</x>
<y>1122</y>
</hint>
</hints>
</connection>
<connection>
<sender>serialEncodingCheck_CH1</sender>
<signal>toggled(bool)</signal>
<receiver>waveformSelect_CH1</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>1394</x>
<y>982</y>
</hint>
<hint type="destinationlabel">
<x>985</x>
<y>1039</y>
</hint>
</hints>
</connection>
<connection>
<sender>serialEncodingCheck_CH1</sender>
<signal>toggled(bool)</signal>
<receiver>frequencyValue_CH1</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>1394</x>
<y>982</y>
</hint>
<hint type="destinationlabel">
<x>985</x>
<y>1068</y>
</hint>
</hints>
</connection>
<connection>
<sender>serialEncodingCheck_CH1</sender>
<signal>toggled(bool)</signal>
<receiver>dcOffsetValue_CH1</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>1394</x>
<y>982</y>
</hint>
<hint type="destinationlabel">
<x>985</x>
<y>1126</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>timeBaseNeedsChanging(bool)</slot>