You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
277 lines
6.4 KiB
277 lines
6.4 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ft232_reign</class>
|
|
<widget class="QMainWindow" name="ft232_reign">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>627</width>
|
|
<height>671</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>ft232_reign</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<widget class="QSpinBox" name="i2c_index">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>280</x>
|
|
<y>0</y>
|
|
<width>81</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Device index.</p><p>If only one device is connected, set zero.</p><p>If two or more devices are connected, index can be zero or non zero.</p></body></html></string>
|
|
</property>
|
|
<property name="prefix">
|
|
<string>Index </string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="i2c_clk">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>90</x>
|
|
<y>0</y>
|
|
<width>181</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> Hz</string>
|
|
</property>
|
|
<property name="prefix">
|
|
<string>Clockrate </string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000000</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>100000</number>
|
|
</property>
|
|
<property name="displayIntegerBase">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" name="i2c_port">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>0</y>
|
|
<width>71</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="frame">
|
|
<bool>true</bool>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Port A</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Port B</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Port C</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Port D</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QPushButton" name="connect">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>370</x>
|
|
<y>0</y>
|
|
<width>241</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Connect</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextBrowser" name="log">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>210</y>
|
|
<width>601</width>
|
|
<height>381</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="i2c_write_data">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>50</y>
|
|
<width>601</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="i2c_length">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>80</y>
|
|
<width>141</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="prefix">
|
|
<string>Length </string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>1000</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="i2c_adress">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>80</y>
|
|
<width>121</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="prefix">
|
|
<string>Adress 0x</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>127</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>52</number>
|
|
</property>
|
|
<property name="displayIntegerBase">
|
|
<number>16</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="i2c_write">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>290</x>
|
|
<y>80</y>
|
|
<width>99</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>TX</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="i2c_read">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>400</x>
|
|
<y>80</y>
|
|
<width>99</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>RX</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="read_i2c_hid_desc">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>130</y>
|
|
<width>151</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Read I2C HID Desc</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="read_hid_report_desc">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>180</x>
|
|
<y>130</y>
|
|
<width>181</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Read HID Report Desc</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="read_input_report_int">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>380</x>
|
|
<y>130</y>
|
|
<width>231</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Read Input Report (Interrupt)</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="read_input_report_cmd">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>380</x>
|
|
<y>160</y>
|
|
<width>231</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Read Input Report (Command)</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menuBar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>627</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolBar" name="mainToolBar">
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusBar"/>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|