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.

246 lines
6.0 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>1169</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>10</x>
<y>10</y>
<width>1151</width>
<height>691</height>
</rect>
</property>
<property name="currentIndex">
<number>0</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>330</x>
<y>50</y>
<width>811</width>
<height>591</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_keyComment">
<property name="geometry">
<rect>
<x>10</x>
<y>310</y>
<width>291</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Key comment</string>
</property>
</widget>
<widget class="QLabel" name="labelKeyName">
<property name="geometry">
<rect>
<x>10</x>
<y>380</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Name</string>
</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>301</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Status: no keys pressed</string>
</property>
</widget>
<widget class="QListWidget" name="keyList">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>301</width>
<height>211</height>
</rect>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit" name="newKeyName">
<property name="geometry">
<rect>
<x>60</x>
<y>380</y>
<width>161</width>
<height>31</height>
</rect>
</property>
</widget>
<widget class="QSpinBox" name="newKeyCode">
<property name="geometry">
<rect>
<x>220</x>
<y>380</y>
<width>91</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="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>330</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="addNewKey">
<property name="geometry">
<rect>
<x>10</x>
<y>340</y>
<width>301</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="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>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Tab 2</string>
</attribute>
</widget>
</widget>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1169</width>
<height>28</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>