hardsploit_gui 2.3 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +22 -22
- data/Rakefile +1 -1
- data/bin/hardsploit_gui +3 -3
- data/lib/Firmwares/FPGA/I2C/I2C_INTERACT/HARDSPLOIT_FIRMWARE_FPGA_I2C_INTERACT.rpd +0 -0
- data/lib/Firmwares/FPGA/PARALLEL/NO_MUX_PARALLEL_MEMORY/HARDSPLOIT_FIRMWARE_FPGA_NO_MUX_PARALLEL_MEMORY.rpd +0 -0
- data/lib/Firmwares/FPGA/SPI/SPI_INTERACT/HARDSPLOIT_FIRMWARE_FPGA_SPI_INTERACT.rpd +0 -0
- data/lib/Firmwares/FPGA/SPI/SPI_SNIFFER/HARDSPLOIT_FIRMWARE_FPGA_SPI_SNIFFER.rpd +0 -0
- data/lib/Firmwares/FPGA/SWD/SWD_INTERACT/HARDSPLOIT_FIRMWARE_FPGA_SWD_INTERACT.rpd +0 -0
- data/lib/Firmwares/FPGA/UART/UART_INTERACT/HARDSPLOIT_FIRMWARE_FPGA_UART_INTERACT.rpd +0 -0
- data/lib/Firmwares/FPGA/VersionFPGA.rb +5 -5
- data/lib/Firmwares/UC/VersionUC.rb +12 -12
- data/lib/HardsploitAPI/Core/HardsploitAPI.rb +210 -210
- data/lib/HardsploitAPI/Core/HardsploitAPI_CONSTANT.rb +150 -150
- data/lib/HardsploitAPI/Core/HardsploitAPI_ERROR.rb +109 -109
- data/lib/HardsploitAPI/Core/HardsploitAPI_FIRMWARE.rb +305 -305
- data/lib/HardsploitAPI/Core/HardsploitAPI_PROGRESS.rb +28 -28
- data/lib/HardsploitAPI/Core/HardsploitAPI_USB_COMMUNICATION.rb +166 -166
- data/lib/HardsploitAPI/Modules/I2C/HardsploitAPI_I2C.rb +356 -356
- data/lib/HardsploitAPI/Modules/NO_MUX_PARALLEL_MEMORY/HardsploitAPI_NO_MUX_PARALLEL_MEMORY.rb +206 -206
- data/lib/HardsploitAPI/Modules/NRF24L01/HardsploitAPI_NRF24L01.rb +306 -306
- data/lib/HardsploitAPI/Modules/SPI/HardsploitAPI_SPI.rb +340 -340
- data/lib/HardsploitAPI/Modules/SPI_SNIFFER/HardsploitAPI_SPI_SNIFFER.rb +83 -83
- data/lib/HardsploitAPI/Modules/SWD/HardsploitAPI_SWD.rb +367 -367
- data/lib/HardsploitAPI/Modules/SWD/HardsploitAPI_SWD_DEBUG.rb +89 -89
- data/lib/HardsploitAPI/Modules/SWD/HardsploitAPI_SWD_MEM_AP.rb +61 -61
- data/lib/HardsploitAPI/Modules/SWD/HardsploitAPI_SWD_STM32.rb +121 -121
- data/lib/HardsploitAPI/Modules/TEST/HardsploitAPI_TEST_INTERACT.rb +98 -98
- data/lib/HardsploitAPI/Modules/UART/HardsploitAPI_UART.rb +196 -196
- data/lib/Hardsploit_gui.rb +96 -96
- data/lib/LICENSE.txt +674 -674
- data/lib/README.md +22 -22
- data/lib/TRADEMARK +2 -2
- data/lib/class/Chip_editor.rb +304 -304
- data/lib/class/Chip_management.rb +496 -496
- data/lib/class/Command_editor.rb +216 -216
- data/lib/class/Command_table.rb +233 -233
- data/lib/class/Console.rb +26 -26
- data/lib/class/ErrorMsg.rb +312 -312
- data/lib/class/Export.rb +140 -140
- data/lib/class/Export_manager.rb +124 -124
- data/lib/class/Firmware.rb +70 -70
- data/lib/class/Generic_commands.rb +260 -260
- data/lib/class/{i2c → I2C}/I2c_command.rb +51 -51
- data/lib/class/{i2c → I2C}/I2c_export.rb +95 -95
- data/lib/class/{i2c → I2C}/I2c_import.rb +117 -117
- data/lib/class/{i2c → I2C}/I2c_scanner.rb +114 -114
- data/lib/class/{i2c → I2C}/I2c_settings.rb +148 -148
- data/lib/class/Import.rb +193 -193
- data/lib/class/{parallel → PARALLEL}/Parallel_export.rb +118 -118
- data/lib/class/{parallel → PARALLEL}/Parallel_import.rb +113 -113
- data/lib/class/{parallel → PARALLEL}/Parallel_settings.rb +81 -81
- data/lib/class/Progress_bar.rb +32 -32
- data/lib/class/{spi → SPI}/Spi_export.rb +108 -108
- data/lib/class/{spi → SPI}/Spi_import.rb +159 -159
- data/lib/class/{spi → SPI}/Spi_settings.rb +108 -108
- data/lib/class/{spi → SPI}/Spi_sniffer.rb +101 -101
- data/lib/class/Signal_mapper.rb +120 -120
- data/lib/class/Wire_helper.rb +230 -230
- data/lib/class/swd/Swd.rb +125 -125
- data/lib/class/swd/Swd_scanner.rb +121 -121
- data/lib/class/swd/Swd_settings.rb +76 -76
- data/lib/class/uart/Uart_baudrate.rb +62 -62
- data/lib/class/uart/Uart_console.rb +115 -115
- data/lib/class/uart/Uart_settings.rb +102 -102
- data/lib/db/associations.rb +138 -138
- data/lib/db/database.rb +4 -4
- data/lib/db/development.sqlite3 +0 -0
- data/lib/db/migrate/004_create_manufacturers.rb +13 -13
- data/lib/db/migrate/005_create_packages.rb +13 -13
- data/lib/db/migrate/006_create_chip_types.rb +11 -11
- data/lib/db/migrate/007_create_buses.rb +11 -11
- data/lib/db/migrate/008_create_signals.rb +14 -14
- data/lib/db/migrate/009_create_chips.rb +25 -25
- data/lib/db/migrate/010_create_commands.rb +21 -21
- data/lib/db/migrate/011_create_bytes.rb +19 -19
- data/lib/db/migrate/012_create_i2c_settings.rb +21 -21
- data/lib/db/migrate/013_create_spi_settings.rb +26 -26
- data/lib/db/migrate/014_create_parallel_settings.rb +21 -21
- data/lib/db/migrate/015_create_pins.rb +19 -19
- data/lib/db/migrate/016_create_uses.rb +17 -17
- data/lib/db/migrate/017_create_swd_settings.rb +19 -19
- data/lib/db/migrate/018_create_uart_settings.rb +22 -22
- data/lib/db/schema.rb +157 -157
- data/lib/db/seeds.rb +161 -161
- data/lib/gui/gui_chip_editor.rb +349 -349
- data/lib/gui/gui_chip_management.rb +377 -377
- data/lib/gui/gui_command_editor.rb +219 -219
- data/lib/gui/gui_export.rb +132 -132
- data/lib/gui/gui_export_manager.rb +93 -93
- data/lib/gui/gui_generic_commands.rb +202 -202
- data/lib/gui/gui_generic_export.rb +164 -164
- data/lib/gui/gui_generic_import.rb +142 -142
- data/lib/gui/gui_i2c_command.rb +116 -116
- data/lib/gui/gui_i2c_settings.rb +230 -230
- data/lib/gui/gui_import.rb +131 -131
- data/lib/gui/gui_parallel_settings.rb +195 -195
- data/lib/gui/gui_progress_bar.rb +85 -85
- data/lib/gui/gui_signal_mapper.rb +121 -121
- data/lib/gui/gui_signal_scanner.rb +146 -146
- data/lib/gui/gui_spi_import.rb +126 -126
- data/lib/gui/gui_spi_settings.rb +313 -313
- data/lib/gui/gui_spi_sniffer.rb +112 -112
- data/lib/gui/gui_swd_settings.rb +166 -166
- data/lib/gui/gui_uart_baudrate.rb +114 -114
- data/lib/gui/gui_uart_console.rb +164 -164
- data/lib/gui/gui_uart_settings.rb +243 -243
- data/lib/gui/gui_wire_helper.rb +99 -99
- data/lib/gui_designer/gui_chip_editor.ui +549 -549
- data/lib/gui_designer/gui_chip_management.ui +886 -886
- data/lib/gui_designer/gui_command_editor.ui +350 -350
- data/lib/gui_designer/gui_export.ui +171 -171
- data/lib/gui_designer/gui_export_manager.ui +115 -115
- data/lib/gui_designer/gui_generic_commands.ui +342 -342
- data/lib/gui_designer/gui_generic_export.ui +202 -202
- data/lib/gui_designer/gui_generic_import.ui +165 -165
- data/lib/gui_designer/gui_i2c_command.ui +148 -148
- data/lib/gui_designer/gui_i2c_settings.ui +292 -292
- data/lib/gui_designer/gui_import.ui +168 -168
- data/lib/gui_designer/gui_parallel_settings.ui +247 -247
- data/lib/gui_designer/gui_progress_bar.ui +86 -86
- data/lib/gui_designer/gui_signal_mapper.ui +179 -179
- data/lib/gui_designer/gui_signal_scanner.ui +261 -261
- data/lib/gui_designer/gui_spi_settings.ui +446 -446
- data/lib/gui_designer/gui_spi_sniffer.ui +156 -156
- data/lib/gui_designer/gui_swd_settings.ui +189 -189
- data/lib/gui_designer/gui_uart_baudrate.ui +161 -161
- data/lib/gui_designer/gui_uart_console.ui +284 -284
- data/lib/gui_designer/gui_uart_settings.ui +280 -280
- data/lib/gui_designer/gui_wire_helper.ui +117 -117
- data/lib/images/search.png +0 -0
- data/lib/logs/error.log +0 -63
- data/lib/models/bus.rb +19 -19
- data/lib/models/byte.rb +29 -29
- data/lib/models/chip.rb +41 -41
- data/lib/models/chip_type.rb +14 -14
- data/lib/models/command.rb +20 -20
- data/lib/models/i2c_setting.rb +41 -41
- data/lib/models/manufacturer.rb +14 -14
- data/lib/models/package.rb +26 -26
- data/lib/models/parallel_setting.rb +37 -37
- data/lib/models/pin.rb +14 -14
- data/lib/models/signall.rb +20 -20
- data/lib/models/spi_setting.rb +67 -67
- data/lib/models/swd_setting.rb +25 -25
- data/lib/models/uart_setting.rb +52 -52
- data/lib/models/use.rb +6 -6
- data/lib/startHardsploit.rb +10 -10
- metadata +14 -14
@@ -1,280 +1,280 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<ui version="4.0">
|
3
|
-
<class>Uart_settings</class>
|
4
|
-
<widget class="QWidget" name="Uart_settings">
|
5
|
-
<property name="windowModality">
|
6
|
-
<enum>Qt::WindowModal</enum>
|
7
|
-
</property>
|
8
|
-
<property name="geometry">
|
9
|
-
<rect>
|
10
|
-
<x>0</x>
|
11
|
-
<y>0</y>
|
12
|
-
<width>254</width>
|
13
|
-
<height>291</height>
|
14
|
-
</rect>
|
15
|
-
</property>
|
16
|
-
<property name="windowTitle">
|
17
|
-
<string>Hardsploit - UART settings</string>
|
18
|
-
</property>
|
19
|
-
<layout class="QGridLayout" name="gridLayout">
|
20
|
-
<item row="0" column="0">
|
21
|
-
<layout class="QVBoxLayout" name="verticalLayout_2">
|
22
|
-
<item>
|
23
|
-
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
24
|
-
<item>
|
25
|
-
<widget class="QLabel" name="lbl_chip">
|
26
|
-
<property name="text">
|
27
|
-
<string>[CHIP]</string>
|
28
|
-
</property>
|
29
|
-
</widget>
|
30
|
-
</item>
|
31
|
-
<item>
|
32
|
-
<widget class="QLabel" name="lbl_uart">
|
33
|
-
<property name="text">
|
34
|
-
<string>UART settings</string>
|
35
|
-
</property>
|
36
|
-
</widget>
|
37
|
-
</item>
|
38
|
-
<item>
|
39
|
-
<spacer name="horizontalSpacer_2">
|
40
|
-
<property name="orientation">
|
41
|
-
<enum>Qt::Horizontal</enum>
|
42
|
-
</property>
|
43
|
-
<property name="sizeHint" stdset="0">
|
44
|
-
<size>
|
45
|
-
<width>40</width>
|
46
|
-
<height>20</height>
|
47
|
-
</size>
|
48
|
-
</property>
|
49
|
-
</spacer>
|
50
|
-
</item>
|
51
|
-
</layout>
|
52
|
-
</item>
|
53
|
-
<item>
|
54
|
-
<layout class="QFormLayout" name="formLayout">
|
55
|
-
<item row="1" column="0">
|
56
|
-
<widget class="QLabel" name="label">
|
57
|
-
<property name="text">
|
58
|
-
<string>Baud rate (manual):</string>
|
59
|
-
</property>
|
60
|
-
</widget>
|
61
|
-
</item>
|
62
|
-
<item row="1" column="1">
|
63
|
-
<widget class="QLineEdit" name="lie_baud_rate">
|
64
|
-
<property name="placeholderText">
|
65
|
-
<string>decimal value</string>
|
66
|
-
</property>
|
67
|
-
</widget>
|
68
|
-
</item>
|
69
|
-
<item row="3" column="0">
|
70
|
-
<widget class="QLabel" name="label_2">
|
71
|
-
<property name="text">
|
72
|
-
<string>Word size:</string>
|
73
|
-
</property>
|
74
|
-
</widget>
|
75
|
-
</item>
|
76
|
-
<item row="3" column="1">
|
77
|
-
<widget class="QLineEdit" name="lie_word_size">
|
78
|
-
<property name="placeholderText">
|
79
|
-
<string>decimal value</string>
|
80
|
-
</property>
|
81
|
-
</widget>
|
82
|
-
</item>
|
83
|
-
<item row="4" column="0">
|
84
|
-
<widget class="QLabel" name="label_3">
|
85
|
-
<property name="text">
|
86
|
-
<string>Parity bit:</string>
|
87
|
-
</property>
|
88
|
-
</widget>
|
89
|
-
</item>
|
90
|
-
<item row="4" column="1">
|
91
|
-
<widget class="QLineEdit" name="lie_parity_bit">
|
92
|
-
<property name="placeholderText">
|
93
|
-
<string>decimal value</string>
|
94
|
-
</property>
|
95
|
-
</widget>
|
96
|
-
</item>
|
97
|
-
<item row="5" column="0">
|
98
|
-
<widget class="QLabel" name="label_4">
|
99
|
-
<property name="text">
|
100
|
-
<string>Parity type:</string>
|
101
|
-
</property>
|
102
|
-
</widget>
|
103
|
-
</item>
|
104
|
-
<item row="5" column="1">
|
105
|
-
<widget class="QLineEdit" name="lie_parity_type">
|
106
|
-
<property name="placeholderText">
|
107
|
-
<string>decimal value</string>
|
108
|
-
</property>
|
109
|
-
</widget>
|
110
|
-
</item>
|
111
|
-
<item row="6" column="0">
|
112
|
-
<widget class="QLabel" name="label_5">
|
113
|
-
<property name="text">
|
114
|
-
<string>Stop bits number:</string>
|
115
|
-
</property>
|
116
|
-
</widget>
|
117
|
-
</item>
|
118
|
-
<item row="6" column="1">
|
119
|
-
<widget class="QLineEdit" name="lie_stop_bits_nbr">
|
120
|
-
<property name="placeholderText">
|
121
|
-
<string>decimal value</string>
|
122
|
-
</property>
|
123
|
-
</widget>
|
124
|
-
</item>
|
125
|
-
<item row="7" column="0">
|
126
|
-
<widget class="QLabel" name="label_6">
|
127
|
-
<property name="text">
|
128
|
-
<string>Idle line level:</string>
|
129
|
-
</property>
|
130
|
-
</widget>
|
131
|
-
</item>
|
132
|
-
<item row="7" column="1">
|
133
|
-
<widget class="QLineEdit" name="lie_idle_line_lvl">
|
134
|
-
<property name="placeholderText">
|
135
|
-
<string>decimal value</string>
|
136
|
-
</property>
|
137
|
-
</widget>
|
138
|
-
</item>
|
139
|
-
<item row="8" column="0">
|
140
|
-
<widget class="QLabel" name="label_7">
|
141
|
-
<property name="text">
|
142
|
-
<string>CR / LF:</string>
|
143
|
-
</property>
|
144
|
-
</widget>
|
145
|
-
</item>
|
146
|
-
<item row="8" column="1">
|
147
|
-
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
148
|
-
<item>
|
149
|
-
<widget class="QRadioButton" name="rbn_cr">
|
150
|
-
<property name="text">
|
151
|
-
<string>CR</string>
|
152
|
-
</property>
|
153
|
-
<property name="checked">
|
154
|
-
<bool>true</bool>
|
155
|
-
</property>
|
156
|
-
</widget>
|
157
|
-
</item>
|
158
|
-
<item>
|
159
|
-
<widget class="QRadioButton" name="rbn_lf">
|
160
|
-
<property name="text">
|
161
|
-
<string>LF</string>
|
162
|
-
</property>
|
163
|
-
</widget>
|
164
|
-
</item>
|
165
|
-
<item>
|
166
|
-
<widget class="QRadioButton" name="rbn_both">
|
167
|
-
<property name="text">
|
168
|
-
<string>Both</string>
|
169
|
-
</property>
|
170
|
-
</widget>
|
171
|
-
</item>
|
172
|
-
</layout>
|
173
|
-
</item>
|
174
|
-
<item row="2" column="0">
|
175
|
-
<widget class="QLabel" name="label_8">
|
176
|
-
<property name="text">
|
177
|
-
<string>Baud rate (auto):</string>
|
178
|
-
</property>
|
179
|
-
</widget>
|
180
|
-
</item>
|
181
|
-
<item row="2" column="1">
|
182
|
-
<widget class="QPushButton" name="pushButton_3">
|
183
|
-
<property name="text">
|
184
|
-
<string>Autodetection</string>
|
185
|
-
</property>
|
186
|
-
</widget>
|
187
|
-
</item>
|
188
|
-
</layout>
|
189
|
-
</item>
|
190
|
-
<item>
|
191
|
-
<layout class="QHBoxLayout" name="horizontalLayout">
|
192
|
-
<item>
|
193
|
-
<spacer name="horizontalSpacer">
|
194
|
-
<property name="orientation">
|
195
|
-
<enum>Qt::Horizontal</enum>
|
196
|
-
</property>
|
197
|
-
<property name="sizeHint" stdset="0">
|
198
|
-
<size>
|
199
|
-
<width>40</width>
|
200
|
-
<height>20</height>
|
201
|
-
</size>
|
202
|
-
</property>
|
203
|
-
</spacer>
|
204
|
-
</item>
|
205
|
-
<item>
|
206
|
-
<widget class="QPushButton" name="pushButton_2">
|
207
|
-
<property name="text">
|
208
|
-
<string>Cancel</string>
|
209
|
-
</property>
|
210
|
-
</widget>
|
211
|
-
</item>
|
212
|
-
<item>
|
213
|
-
<widget class="QPushButton" name="pushButton">
|
214
|
-
<property name="text">
|
215
|
-
<string>Save</string>
|
216
|
-
</property>
|
217
|
-
</widget>
|
218
|
-
</item>
|
219
|
-
</layout>
|
220
|
-
</item>
|
221
|
-
</layout>
|
222
|
-
</item>
|
223
|
-
</layout>
|
224
|
-
</widget>
|
225
|
-
<resources/>
|
226
|
-
<connections>
|
227
|
-
<connection>
|
228
|
-
<sender>pushButton</sender>
|
229
|
-
<signal>clicked()</signal>
|
230
|
-
<receiver>Uart_settings</receiver>
|
231
|
-
<slot>save_settings()</slot>
|
232
|
-
<hints>
|
233
|
-
<hint type="sourcelabel">
|
234
|
-
<x>242</x>
|
235
|
-
<y>279</y>
|
236
|
-
</hint>
|
237
|
-
<hint type="destinationlabel">
|
238
|
-
<x>279</x>
|
239
|
-
<y>231</y>
|
240
|
-
</hint>
|
241
|
-
</hints>
|
242
|
-
</connection>
|
243
|
-
<connection>
|
244
|
-
<sender>pushButton_2</sender>
|
245
|
-
<signal>clicked()</signal>
|
246
|
-
<receiver>Uart_settings</receiver>
|
247
|
-
<slot>close()</slot>
|
248
|
-
<hints>
|
249
|
-
<hint type="sourcelabel">
|
250
|
-
<x>161</x>
|
251
|
-
<y>279</y>
|
252
|
-
</hint>
|
253
|
-
<hint type="destinationlabel">
|
254
|
-
<x>157</x>
|
255
|
-
<y>229</y>
|
256
|
-
</hint>
|
257
|
-
</hints>
|
258
|
-
</connection>
|
259
|
-
<connection>
|
260
|
-
<sender>pushButton_3</sender>
|
261
|
-
<signal>clicked()</signal>
|
262
|
-
<receiver>Uart_settings</receiver>
|
263
|
-
<slot>autodetect()</slot>
|
264
|
-
<hints>
|
265
|
-
<hint type="sourcelabel">
|
266
|
-
<x>236</x>
|
267
|
-
<y>78</y>
|
268
|
-
</hint>
|
269
|
-
<hint type="destinationlabel">
|
270
|
-
<x>249</x>
|
271
|
-
<y>78</y>
|
272
|
-
</hint>
|
273
|
-
</hints>
|
274
|
-
</connection>
|
275
|
-
</connections>
|
276
|
-
<slots>
|
277
|
-
<slot>save_settings()</slot>
|
278
|
-
<slot>autodetect()</slot>
|
279
|
-
</slots>
|
280
|
-
</ui>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ui version="4.0">
|
3
|
+
<class>Uart_settings</class>
|
4
|
+
<widget class="QWidget" name="Uart_settings">
|
5
|
+
<property name="windowModality">
|
6
|
+
<enum>Qt::WindowModal</enum>
|
7
|
+
</property>
|
8
|
+
<property name="geometry">
|
9
|
+
<rect>
|
10
|
+
<x>0</x>
|
11
|
+
<y>0</y>
|
12
|
+
<width>254</width>
|
13
|
+
<height>291</height>
|
14
|
+
</rect>
|
15
|
+
</property>
|
16
|
+
<property name="windowTitle">
|
17
|
+
<string>Hardsploit - UART settings</string>
|
18
|
+
</property>
|
19
|
+
<layout class="QGridLayout" name="gridLayout">
|
20
|
+
<item row="0" column="0">
|
21
|
+
<layout class="QVBoxLayout" name="verticalLayout_2">
|
22
|
+
<item>
|
23
|
+
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
24
|
+
<item>
|
25
|
+
<widget class="QLabel" name="lbl_chip">
|
26
|
+
<property name="text">
|
27
|
+
<string>[CHIP]</string>
|
28
|
+
</property>
|
29
|
+
</widget>
|
30
|
+
</item>
|
31
|
+
<item>
|
32
|
+
<widget class="QLabel" name="lbl_uart">
|
33
|
+
<property name="text">
|
34
|
+
<string>UART settings</string>
|
35
|
+
</property>
|
36
|
+
</widget>
|
37
|
+
</item>
|
38
|
+
<item>
|
39
|
+
<spacer name="horizontalSpacer_2">
|
40
|
+
<property name="orientation">
|
41
|
+
<enum>Qt::Horizontal</enum>
|
42
|
+
</property>
|
43
|
+
<property name="sizeHint" stdset="0">
|
44
|
+
<size>
|
45
|
+
<width>40</width>
|
46
|
+
<height>20</height>
|
47
|
+
</size>
|
48
|
+
</property>
|
49
|
+
</spacer>
|
50
|
+
</item>
|
51
|
+
</layout>
|
52
|
+
</item>
|
53
|
+
<item>
|
54
|
+
<layout class="QFormLayout" name="formLayout">
|
55
|
+
<item row="1" column="0">
|
56
|
+
<widget class="QLabel" name="label">
|
57
|
+
<property name="text">
|
58
|
+
<string>Baud rate (manual):</string>
|
59
|
+
</property>
|
60
|
+
</widget>
|
61
|
+
</item>
|
62
|
+
<item row="1" column="1">
|
63
|
+
<widget class="QLineEdit" name="lie_baud_rate">
|
64
|
+
<property name="placeholderText">
|
65
|
+
<string>decimal value</string>
|
66
|
+
</property>
|
67
|
+
</widget>
|
68
|
+
</item>
|
69
|
+
<item row="3" column="0">
|
70
|
+
<widget class="QLabel" name="label_2">
|
71
|
+
<property name="text">
|
72
|
+
<string>Word size:</string>
|
73
|
+
</property>
|
74
|
+
</widget>
|
75
|
+
</item>
|
76
|
+
<item row="3" column="1">
|
77
|
+
<widget class="QLineEdit" name="lie_word_size">
|
78
|
+
<property name="placeholderText">
|
79
|
+
<string>decimal value</string>
|
80
|
+
</property>
|
81
|
+
</widget>
|
82
|
+
</item>
|
83
|
+
<item row="4" column="0">
|
84
|
+
<widget class="QLabel" name="label_3">
|
85
|
+
<property name="text">
|
86
|
+
<string>Parity bit:</string>
|
87
|
+
</property>
|
88
|
+
</widget>
|
89
|
+
</item>
|
90
|
+
<item row="4" column="1">
|
91
|
+
<widget class="QLineEdit" name="lie_parity_bit">
|
92
|
+
<property name="placeholderText">
|
93
|
+
<string>decimal value</string>
|
94
|
+
</property>
|
95
|
+
</widget>
|
96
|
+
</item>
|
97
|
+
<item row="5" column="0">
|
98
|
+
<widget class="QLabel" name="label_4">
|
99
|
+
<property name="text">
|
100
|
+
<string>Parity type:</string>
|
101
|
+
</property>
|
102
|
+
</widget>
|
103
|
+
</item>
|
104
|
+
<item row="5" column="1">
|
105
|
+
<widget class="QLineEdit" name="lie_parity_type">
|
106
|
+
<property name="placeholderText">
|
107
|
+
<string>decimal value</string>
|
108
|
+
</property>
|
109
|
+
</widget>
|
110
|
+
</item>
|
111
|
+
<item row="6" column="0">
|
112
|
+
<widget class="QLabel" name="label_5">
|
113
|
+
<property name="text">
|
114
|
+
<string>Stop bits number:</string>
|
115
|
+
</property>
|
116
|
+
</widget>
|
117
|
+
</item>
|
118
|
+
<item row="6" column="1">
|
119
|
+
<widget class="QLineEdit" name="lie_stop_bits_nbr">
|
120
|
+
<property name="placeholderText">
|
121
|
+
<string>decimal value</string>
|
122
|
+
</property>
|
123
|
+
</widget>
|
124
|
+
</item>
|
125
|
+
<item row="7" column="0">
|
126
|
+
<widget class="QLabel" name="label_6">
|
127
|
+
<property name="text">
|
128
|
+
<string>Idle line level:</string>
|
129
|
+
</property>
|
130
|
+
</widget>
|
131
|
+
</item>
|
132
|
+
<item row="7" column="1">
|
133
|
+
<widget class="QLineEdit" name="lie_idle_line_lvl">
|
134
|
+
<property name="placeholderText">
|
135
|
+
<string>decimal value</string>
|
136
|
+
</property>
|
137
|
+
</widget>
|
138
|
+
</item>
|
139
|
+
<item row="8" column="0">
|
140
|
+
<widget class="QLabel" name="label_7">
|
141
|
+
<property name="text">
|
142
|
+
<string>CR / LF:</string>
|
143
|
+
</property>
|
144
|
+
</widget>
|
145
|
+
</item>
|
146
|
+
<item row="8" column="1">
|
147
|
+
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
148
|
+
<item>
|
149
|
+
<widget class="QRadioButton" name="rbn_cr">
|
150
|
+
<property name="text">
|
151
|
+
<string>CR</string>
|
152
|
+
</property>
|
153
|
+
<property name="checked">
|
154
|
+
<bool>true</bool>
|
155
|
+
</property>
|
156
|
+
</widget>
|
157
|
+
</item>
|
158
|
+
<item>
|
159
|
+
<widget class="QRadioButton" name="rbn_lf">
|
160
|
+
<property name="text">
|
161
|
+
<string>LF</string>
|
162
|
+
</property>
|
163
|
+
</widget>
|
164
|
+
</item>
|
165
|
+
<item>
|
166
|
+
<widget class="QRadioButton" name="rbn_both">
|
167
|
+
<property name="text">
|
168
|
+
<string>Both</string>
|
169
|
+
</property>
|
170
|
+
</widget>
|
171
|
+
</item>
|
172
|
+
</layout>
|
173
|
+
</item>
|
174
|
+
<item row="2" column="0">
|
175
|
+
<widget class="QLabel" name="label_8">
|
176
|
+
<property name="text">
|
177
|
+
<string>Baud rate (auto):</string>
|
178
|
+
</property>
|
179
|
+
</widget>
|
180
|
+
</item>
|
181
|
+
<item row="2" column="1">
|
182
|
+
<widget class="QPushButton" name="pushButton_3">
|
183
|
+
<property name="text">
|
184
|
+
<string>Autodetection</string>
|
185
|
+
</property>
|
186
|
+
</widget>
|
187
|
+
</item>
|
188
|
+
</layout>
|
189
|
+
</item>
|
190
|
+
<item>
|
191
|
+
<layout class="QHBoxLayout" name="horizontalLayout">
|
192
|
+
<item>
|
193
|
+
<spacer name="horizontalSpacer">
|
194
|
+
<property name="orientation">
|
195
|
+
<enum>Qt::Horizontal</enum>
|
196
|
+
</property>
|
197
|
+
<property name="sizeHint" stdset="0">
|
198
|
+
<size>
|
199
|
+
<width>40</width>
|
200
|
+
<height>20</height>
|
201
|
+
</size>
|
202
|
+
</property>
|
203
|
+
</spacer>
|
204
|
+
</item>
|
205
|
+
<item>
|
206
|
+
<widget class="QPushButton" name="pushButton_2">
|
207
|
+
<property name="text">
|
208
|
+
<string>Cancel</string>
|
209
|
+
</property>
|
210
|
+
</widget>
|
211
|
+
</item>
|
212
|
+
<item>
|
213
|
+
<widget class="QPushButton" name="pushButton">
|
214
|
+
<property name="text">
|
215
|
+
<string>Save</string>
|
216
|
+
</property>
|
217
|
+
</widget>
|
218
|
+
</item>
|
219
|
+
</layout>
|
220
|
+
</item>
|
221
|
+
</layout>
|
222
|
+
</item>
|
223
|
+
</layout>
|
224
|
+
</widget>
|
225
|
+
<resources/>
|
226
|
+
<connections>
|
227
|
+
<connection>
|
228
|
+
<sender>pushButton</sender>
|
229
|
+
<signal>clicked()</signal>
|
230
|
+
<receiver>Uart_settings</receiver>
|
231
|
+
<slot>save_settings()</slot>
|
232
|
+
<hints>
|
233
|
+
<hint type="sourcelabel">
|
234
|
+
<x>242</x>
|
235
|
+
<y>279</y>
|
236
|
+
</hint>
|
237
|
+
<hint type="destinationlabel">
|
238
|
+
<x>279</x>
|
239
|
+
<y>231</y>
|
240
|
+
</hint>
|
241
|
+
</hints>
|
242
|
+
</connection>
|
243
|
+
<connection>
|
244
|
+
<sender>pushButton_2</sender>
|
245
|
+
<signal>clicked()</signal>
|
246
|
+
<receiver>Uart_settings</receiver>
|
247
|
+
<slot>close()</slot>
|
248
|
+
<hints>
|
249
|
+
<hint type="sourcelabel">
|
250
|
+
<x>161</x>
|
251
|
+
<y>279</y>
|
252
|
+
</hint>
|
253
|
+
<hint type="destinationlabel">
|
254
|
+
<x>157</x>
|
255
|
+
<y>229</y>
|
256
|
+
</hint>
|
257
|
+
</hints>
|
258
|
+
</connection>
|
259
|
+
<connection>
|
260
|
+
<sender>pushButton_3</sender>
|
261
|
+
<signal>clicked()</signal>
|
262
|
+
<receiver>Uart_settings</receiver>
|
263
|
+
<slot>autodetect()</slot>
|
264
|
+
<hints>
|
265
|
+
<hint type="sourcelabel">
|
266
|
+
<x>236</x>
|
267
|
+
<y>78</y>
|
268
|
+
</hint>
|
269
|
+
<hint type="destinationlabel">
|
270
|
+
<x>249</x>
|
271
|
+
<y>78</y>
|
272
|
+
</hint>
|
273
|
+
</hints>
|
274
|
+
</connection>
|
275
|
+
</connections>
|
276
|
+
<slots>
|
277
|
+
<slot>save_settings()</slot>
|
278
|
+
<slot>autodetect()</slot>
|
279
|
+
</slots>
|
280
|
+
</ui>
|