2017-11-26 21:22:11 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>USBSelector</class>
|
|
|
|
<widget class="QDialog" name="USBSelector">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>489</width>
|
|
|
|
<height>374</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Dialog</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2017-12-04 23:15:19 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Available devices:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2017-11-26 21:22:11 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QTreeWidget" name="USBtreeWidget">
|
|
|
|
<property name="sortingEnabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="animated">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="allColumnsShowFocus">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2017-11-29 00:16:29 +01:00
|
|
|
<attribute name="headerDefaultSectionSize">
|
|
|
|
<number>150</number>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="headerMinimumSectionSize">
|
|
|
|
<number>64</number>
|
|
|
|
</attribute>
|
2017-11-26 21:22:11 +01:00
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Device Name</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Manufacturer</string>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
2017-11-28 19:15:50 +01:00
|
|
|
<string>Status / Version</string>
|
2017-11-26 21:22:11 +01:00
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2017-11-29 00:16:29 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Selected device:</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
2017-11-29 19:17:45 +01:00
|
|
|
<widget class="QLabel" name="selectedCalc">
|
2017-11-29 00:16:29 +01:00
|
|
|
<property name="text">
|
|
|
|
<string>No device selected</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2019-03-07 19:14:55 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="updateFirmware">
|
|
|
|
<property name="text">
|
|
|
|
<string>Update Firmware</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2017-11-29 00:16:29 +01:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2017-11-26 21:22:11 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
2017-11-28 19:15:50 +01:00
|
|
|
<set>QDialogButtonBox::Cancel</set>
|
2017-11-26 21:22:11 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>USBSelector</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>248</x>
|
|
|
|
<y>254</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>USBSelector</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>316</x>
|
|
|
|
<y>260</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
2017-11-29 00:16:29 +01:00
|
|
|
<slots>
|
|
|
|
<slot>refresh()</slot>
|
|
|
|
</slots>
|
2017-11-26 21:22:11 +01:00
|
|
|
</ui>
|