16b353ae30
The earlier code was trying to reuse the dialog but this was throwing an unexpected error every time - External WM_DESTROY received for QWidgetWindow This commit fixes this error message
172 lines
3.9 KiB
XML
172 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>PcapFileImport</class>
|
|
<widget class="QDialog" name="PcapFileImport">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>326</width>
|
|
<height>132</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>PCAP import options</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="viaPdml">
|
|
<property name="text">
|
|
<string>Intelligent Import (via PDML)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" rowspan="2">
|
|
<widget class="QWidget" name="indentSpacing" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="recalculateCksums">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Recalculate Checksums</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QCheckBox" name="doDiff">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Do a diff after import</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<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>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>PcapFileImport</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>249</x>
|
|
<y>81</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>90</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>PcapFileImport</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>249</x>
|
|
<y>81</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>258</x>
|
|
<y>90</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>viaPdml</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>doDiff</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>15</x>
|
|
<y>16</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>68</x>
|
|
<y>71</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>viaPdml</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>doDiff</receiver>
|
|
<slot>setChecked(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>151</x>
|
|
<y>14</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>181</x>
|
|
<y>71</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>viaPdml</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>recalculateCksums</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>29</x>
|
|
<y>17</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>38</x>
|
|
<y>39</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>viaPdml</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>recalculateCksums</receiver>
|
|
<slot>setChecked(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>67</x>
|
|
<y>18</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>66</x>
|
|
<y>33</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|