2021-11-26 11:00:45 -06:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>FindReplace</class>
<widget class="QDialog" name="FindReplace">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>361</width>
<height>309</height>
</rect>
</property>
<property name="windowTitle">
<string>Find & Replace</string>
</property>
<property name="windowIcon">
<iconset resource="ostinato.qrc">
<normaloff>:/icons/find.png</normaloff>:/icons/find.png</iconset>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="find">
<property name="title">
<string>Find</string>
</property>
2021-12-11 23:22:43 -06:00
<layout class="QGridLayout" name="gridLayout" columnstretch="0,1,0">
<item row="0" column="0">
<widget class="QLabel" name="protocolLabel">
2021-11-26 11:00:45 -06:00
<property name="text">
2021-12-11 23:22:43 -06:00
<string>Protocol</string>
2021-11-26 11:00:45 -06:00
</property>
2021-12-11 23:22:43 -06:00
<property name="buddy">
<cstring>protocol</cstring>
2021-11-26 11:00:45 -06:00
</property>
</widget>
</item>
2021-12-11 23:22:43 -06:00
<item row="0" column="1" colspan="2">
<widget class="QComboBox" name="protocol"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="fieldLabel">
2021-11-26 11:00:45 -06:00
<property name="text">
2021-12-11 23:22:43 -06:00
<string>Field</string>
2021-11-26 11:00:45 -06:00
</property>
2021-12-11 23:22:43 -06:00
<property name="buddy">
<cstring>field</cstring>
2021-11-26 11:00:45 -06:00
</property>
</widget>
</item>
2021-12-11 23:22:43 -06:00
<item row="1" column="1" colspan="2">
2021-11-26 11:00:45 -06:00
<widget class="QComboBox" name="field"/>
</item>
2021-12-11 23:22:43 -06:00
<item row="2" column="0">
<widget class="QLabel" name="findValueLabel">
2021-11-26 11:00:45 -06:00
<property name="text">
2021-12-11 23:22:43 -06:00
<string>Value</string>
2021-11-26 11:00:45 -06:00
</property>
</widget>
</item>
2021-12-11 23:22:43 -06:00
<item row="2" column="1" colspan="2">
2021-12-04 00:47:37 -06:00
<widget class="FieldEdit" name="findValue"/>
2021-11-26 11:00:45 -06:00
</item>
2021-12-11 23:22:43 -06:00
<item row="3" column="0">
<widget class="QCheckBox" name="useFindMask">
2021-11-26 11:00:45 -06:00
<property name="text">
2021-12-11 23:22:43 -06:00
<string>Mask</string>
2021-11-26 11:00:45 -06:00
</property>
2021-12-11 23:22:43 -06:00
<property name="checked">
<bool>true</bool>
2021-11-26 11:00:45 -06:00
</property>
</widget>
</item>
2021-12-11 23:22:43 -06:00
<item row="3" column="1">
<widget class="FieldEdit" name="findMask"/>
</item>
2021-11-26 11:00:45 -06:00
<item row="3" column="2">
2021-12-11 23:22:43 -06:00
<widget class="QLabel" name="findMaskHint">
2021-11-26 11:00:45 -06:00
<property name="toolTip">
<string><html><head/><body><p align="center">Matches a field only if <span style="white-space:nowrap">(FieldValue &amp; FindMask) = FindValue</span></p></body></html></string>
</property>
<property name="pixmap">
<pixmap resource="ostinato.qrc">:/icons/info.png</pixmap>
</property>
</widget>
</item>
2021-12-11 23:22:43 -06:00
<item row="4" column="0" colspan="3">
<widget class="QCheckBox" name="matchAny">
<property name="text">
<string>Match any value</string>
</property>
</widget>
</item>
2021-11-26 11:00:45 -06:00
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="replace">
<property name="title">
<string>Replace with</string>
</property>
2021-12-11 23:22:43 -06:00
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1,0">
2021-11-26 11:00:45 -06:00
<item row="0" column="0">
<widget class="QLabel" name="replaceValueLabel">
<property name="text">
<string>Value</string>
</property>
</widget>
</item>
2021-12-11 23:22:43 -06:00
<item row="0" column="1" colspan="2">
2021-12-04 00:47:37 -06:00
<widget class="FieldEdit" name="replaceValue"/>
2021-11-26 11:00:45 -06:00
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="useReplaceMask">
<property name="text">
<string>Mask</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1">
2021-12-08 20:56:35 -06:00
<widget class="FieldEdit" name="replaceMask"/>
2021-11-26 11:00:45 -06:00
</item>
<item row="1" column="2">
2021-12-11 23:22:43 -06:00
<widget class="QLabel" name="replaceMaskHint">
2021-11-26 11:00:45 -06:00
<property name="toolTip">
<string><html><head/><body><p align="center">New field value = <span style="white-space:nowrap">(OldFieldValue &amp; ~ReplaceMask) | (ReplaceValue &amp; ReplaceMask)</span></p></body></html></string>
</property>
<property name="pixmap">
<pixmap resource="ostinato.qrc">:/icons/info.png</pixmap>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QCheckBox" name="selectedStreamsOnly">
<property name="text">
<string>Selected Streams Only</string>
</property>
</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>
2021-12-04 00:47:37 -06:00
<customwidgets>
<customwidget>
<class>FieldEdit</class>
<extends>QLineEdit</extends>
<header>fieldedit.h</header>
</customwidget>
</customwidgets>
2021-11-26 11:00:45 -06:00
<resources>
<include location="ostinato.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>FindReplace</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>277</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>FindReplace</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>283</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>useFindMask</sender>
<signal>toggled(bool)</signal>
<receiver>findMask</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>60</x>
<y>115</y>
</hint>
<hint type="destinationlabel">
<x>76</x>
<y>119</y>
</hint>
</hints>
</connection>
<connection>
<sender>useReplaceMask</sender>
<signal>toggled(bool)</signal>
<receiver>replaceMask</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>56</x>
<y>228</y>
</hint>
<hint type="destinationlabel">
<x>73</x>
<y>227</y>
</hint>
</hints>
</connection>
<connection>
<sender>useReplaceMask</sender>
<signal>toggled(bool)</signal>
2021-12-11 23:22:43 -06:00
<receiver>replaceMaskHint</receiver>
2021-11-26 11:00:45 -06:00
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>50</x>
<y>230</y>
</hint>
<hint type="destinationlabel">
<x>333</x>
<y>233</y>
</hint>
</hints>
</connection>
<connection>
<sender>useFindMask</sender>
<signal>toggled(bool)</signal>
2021-12-11 23:22:43 -06:00
<receiver>findMaskHint</receiver>
2021-11-26 11:00:45 -06:00
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>46</x>
<y>116</y>
</hint>
<hint type="destinationlabel">
<x>335</x>
<y>122</y>
</hint>
</hints>
</connection>
</connections>
</ui>