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.
 
 
 
 

557 lines
14 KiB

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>i2c_keyboard_detection</class>
<widget class="QMainWindow" name="i2c_keyboard_detection">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1312</width>
<height>781</height>
</rect>
</property>
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="windowTitle">
<string>i2c_keyboard_detection</string>
</property>
<widget class="QWidget" name="centralWidget">
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>220</x>
<y>10</y>
<width>1081</width>
<height>691</height>
</rect>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<widget class="QWidget" name="tabKbdConnectionsDetection">
<attribute name="title">
<string>Keyboard connections detection</string>
</attribute>
<widget class="QTextBrowser" name="kbdReport">
<property name="geometry">
<rect>
<x>280</x>
<y>50</y>
<width>651</width>
<height>591</height>
</rect>
</property>
</widget>
<widget class="QComboBox" name="comList">
<property name="geometry">
<rect>
<x>50</x>
<y>10</y>
<width>111</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="labelKeyboardStatus">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>261</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Status: no keys pressed</string>
</property>
</widget>
<widget class="QPushButton" name="comRefleshList">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>31</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
<widget class="QCheckBox" name="enSendKeyToReport">
<property name="geometry">
<rect>
<x>280</x>
<y>10</y>
<width>311</width>
<height>29</height>
</rect>
</property>
<property name="text">
<string>Wait selected key and add it to report</string>
</property>
</widget>
<widget class="QPushButton" name="comConnect">
<property name="geometry">
<rect>
<x>170</x>
<y>10</y>
<width>97</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Connect</string>
</property>
</widget>
<widget class="QPushButton" name="saveKbdReport">
<property name="geometry">
<rect>
<x>650</x>
<y>10</y>
<width>121</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Save to file</string>
</property>
</widget>
<widget class="QPushButton" name="clearKbdReport">
<property name="geometry">
<rect>
<x>780</x>
<y>10</y>
<width>97</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Clear</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tabMatrixGenerator">
<attribute name="title">
<string>Matrix Generator</string>
</attribute>
<widget class="QPushButton" name="openConnectionsFile">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>341</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Open connections file and generate matrix</string>
</property>
</widget>
<widget class="QTableWidget" name="generatedMatrixTable">
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>1061</width>
<height>551</height>
</rect>
</property>
</widget>
<widget class="QRadioButton" name="normalMatrixMode">
<property name="geometry">
<rect>
<x>930</x>
<y>0</y>
<width>141</width>
<height>29</height>
</rect>
</property>
<property name="text">
<string>&amp;Normal matrix</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QRadioButton" name="fnMatrixMode">
<property name="geometry">
<rect>
<x>930</x>
<y>20</y>
<width>91</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>FN m&amp;ode</string>
</property>
</widget>
<widget class="QPushButton" name="swapColumnsAndRows">
<property name="geometry">
<rect>
<x>230</x>
<y>50</y>
<width>191</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Swap columns and rows</string>
</property>
</widget>
<widget class="QPushButton" name="setFnKey">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>211</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Set Fn key code from table</string>
</property>
</widget>
<widget class="QComboBox" name="mergingVariants">
<property name="geometry">
<rect>
<x>430</x>
<y>50</y>
<width>151</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="mergeRows">
<property name="geometry">
<rect>
<x>590</x>
<y>50</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Connect rows</string>
</property>
</widget>
<widget class="QLabel" name="label_matrixInfo">
<property name="geometry">
<rect>
<x>710</x>
<y>52</y>
<width>221</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="openMatrixFile">
<property name="geometry">
<rect>
<x>360</x>
<y>10</y>
<width>151</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Open matrix file</string>
</property>
</widget>
<widget class="QPushButton" name="saveMatrixFile">
<property name="geometry">
<rect>
<x>750</x>
<y>10</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Save matrix file</string>
</property>
</widget>
<widget class="QPushButton" name="openQmkKbd">
<property name="geometry">
<rect>
<x>520</x>
<y>10</y>
<width>221</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Open QMK keyboard folder</string>
</property>
</widget>
<widget class="QComboBox" name="diodeDirection">
<property name="geometry">
<rect>
<x>940</x>
<y>50</y>
<width>131</width>
<height>31</height>
</rect>
</property>
<item>
<property name="text">
<string>No diodes</string>
</property>
</item>
<item>
<property name="text">
<string>Col2Row</string>
</property>
</item>
<item>
<property name="text">
<string>Row2Col</string>
</property>
</item>
</widget>
</widget>
<widget class="QWidget" name="tabFirmwareBilder">
<attribute name="title">
<string>Firmware generator</string>
</attribute>
<widget class="QPushButton" name="openMatrixKbdFile">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>271</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Open matrix_kbd.v and modify it</string>
</property>
</widget>
<widget class="QPushButton" name="generateFwBinFile">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>171</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Generate bin file</string>
</property>
</widget>
<widget class="QLineEdit" name="fpgaProjectPath">
<property name="geometry">
<rect>
<x>290</x>
<y>10</y>
<width>641</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QRadioButton" name="generateBinApio">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>190</x>
<y>50</y>
<width>61</width>
<height>29</height>
</rect>
</property>
<property name="text">
<string>&amp;Apio</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QRadioButton" name="generateBinArachne">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>260</x>
<y>50</y>
<width>171</width>
<height>29</height>
</rect>
</property>
<property name="text">
<string>&amp;Yosys+Arachne-pnr</string>
</property>
</widget>
<widget class="QRadioButton" name="generateBinNextPnr">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>440</x>
<y>50</y>
<width>141</width>
<height>29</height>
</rect>
</property>
<property name="text">
<string>Yosys+&amp;Nextpnr</string>
</property>
</widget>
<widget class="QPushButton" name="burnFileToFpga">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>580</x>
<y>50</y>
<width>351</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Open file and program FPGA</string>
</property>
</widget>
<widget class="QTextBrowser" name="fpgaCommandOutput">
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>921</width>
<height>551</height>
</rect>
</property>
</widget>
</widget>
</widget>
<widget class="QSpinBox" name="newKeyCode">
<property name="geometry">
<rect>
<x>10</x>
<y>670</y>
<width>201</width>
<height>32</height>
</rect>
</property>
<property name="prefix">
<string>Code </string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>254</number>
</property>
<property name="value">
<number>254</number>
</property>
<property name="displayIntegerBase">
<number>16</number>
</property>
</widget>
<widget class="QListWidget" name="keyList">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>201</width>
<height>551</height>
</rect>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelKeyName">
<property name="geometry">
<rect>
<x>10</x>
<y>640</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Name</string>
</property>
</widget>
<widget class="QPushButton" name="addNewKey">
<property name="geometry">
<rect>
<x>10</x>
<y>600</y>
<width>201</width>
<height>31</height>
</rect>
</property>
<property name="cursor">
<cursorShape>WaitCursor</cursorShape>
</property>
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>
<property name="text">
<string>Add new key</string>
</property>
</widget>
<widget class="QLineEdit" name="newKeyName">
<property name="geometry">
<rect>
<x>60</x>
<y>640</y>
<width>151</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_keyComment">
<property name="geometry">
<rect>
<x>10</x>
<y>560</y>
<width>201</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Key comment</string>
</property>
</widget>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1312</width>
<height>23</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>