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
data/lib/gui/gui_wire_helper.rb
CHANGED
@@ -1,99 +1,99 @@
|
|
1
|
-
=begin
|
2
|
-
** Form generated from reading ui file 'gui_wire_helper.ui'
|
3
|
-
**
|
4
|
-
** Created: mar. déc. 8 16:25:10 2015
|
5
|
-
** by: Qt User Interface Compiler version 4.8.6
|
6
|
-
**
|
7
|
-
** WARNING! All changes made in this file will be lost when recompiling ui file!
|
8
|
-
=end
|
9
|
-
|
10
|
-
class Ui_Wire_helper
|
11
|
-
attr_reader :gridLayout
|
12
|
-
attr_reader :vl
|
13
|
-
attr_reader :lbl_advice
|
14
|
-
attr_reader :lbl_chip
|
15
|
-
attr_reader :gView
|
16
|
-
attr_reader :hl
|
17
|
-
attr_reader :hs
|
18
|
-
attr_reader :btn_cancel
|
19
|
-
attr_reader :btn_rotate
|
20
|
-
|
21
|
-
def setupUi(wire_helper)
|
22
|
-
if wire_helper.objectName.nil?
|
23
|
-
wire_helper.objectName = "wire_helper"
|
24
|
-
end
|
25
|
-
wire_helper.resize(581, 560)
|
26
|
-
wire_helper.styleSheet = ""
|
27
|
-
@gridLayout = Qt::GridLayout.new(wire_helper)
|
28
|
-
@gridLayout.objectName = "gridLayout"
|
29
|
-
@vl = Qt::VBoxLayout.new()
|
30
|
-
@vl.objectName = "vl"
|
31
|
-
@lbl_advice = Qt::Label.new(wire_helper)
|
32
|
-
@lbl_advice.objectName = "lbl_advice"
|
33
|
-
|
34
|
-
@vl.addWidget(@lbl_advice)
|
35
|
-
|
36
|
-
@lbl_chip = Qt::Label.new(wire_helper)
|
37
|
-
@lbl_chip.objectName = "lbl_chip"
|
38
|
-
|
39
|
-
@vl.addWidget(@lbl_chip)
|
40
|
-
|
41
|
-
@gView = Qt::GraphicsView.new(wire_helper)
|
42
|
-
@gView.objectName = "gView"
|
43
|
-
@gView.styleSheet = "Qt::GraphicsTextItem{outline: 0;}"
|
44
|
-
|
45
|
-
@vl.addWidget(@gView)
|
46
|
-
|
47
|
-
@hl = Qt::HBoxLayout.new()
|
48
|
-
@hl.objectName = "hl"
|
49
|
-
@hs = Qt::SpacerItem.new(40, 20, Qt::SizePolicy::Expanding, Qt::SizePolicy::Minimum)
|
50
|
-
|
51
|
-
@hl.addItem(@hs)
|
52
|
-
|
53
|
-
@btn_cancel = Qt::PushButton.new(wire_helper)
|
54
|
-
@btn_cancel.objectName = "btn_cancel"
|
55
|
-
|
56
|
-
@hl.addWidget(@btn_cancel)
|
57
|
-
|
58
|
-
@btn_rotate = Qt::PushButton.new(wire_helper)
|
59
|
-
@btn_rotate.objectName = "btn_rotate"
|
60
|
-
|
61
|
-
@hl.addWidget(@btn_rotate)
|
62
|
-
|
63
|
-
|
64
|
-
@vl.addLayout(@hl)
|
65
|
-
|
66
|
-
|
67
|
-
@gridLayout.addLayout(@vl, 1, 0, 1, 1)
|
68
|
-
|
69
|
-
|
70
|
-
retranslateUi(wire_helper)
|
71
|
-
Qt::Object.connect(@btn_cancel, SIGNAL('clicked()'), wire_helper, SLOT('close()'))
|
72
|
-
Qt::Object.connect(@btn_rotate, SIGNAL('clicked()'), wire_helper, SLOT('rotate_scene()'))
|
73
|
-
|
74
|
-
Qt::MetaObject.connectSlotsByName(wire_helper)
|
75
|
-
end # setupUi
|
76
|
-
|
77
|
-
def setup_ui(wire_helper)
|
78
|
-
setupUi(wire_helper)
|
79
|
-
end
|
80
|
-
|
81
|
-
def retranslateUi(wire_helper)
|
82
|
-
wire_helper.windowTitle = Qt::Application.translate("Wire_helper", "Harsploit - Wiring helper", nil, Qt::Application::UnicodeUTF8)
|
83
|
-
@lbl_advice.text = Qt::Application.translate("Wire_helper", "Click on a pin number or signal name to turn ON the corresponding LED", nil, Qt::Application::UnicodeUTF8)
|
84
|
-
@lbl_chip.text = Qt::Application.translate("Wire_helper", "Your chip:", nil, Qt::Application::UnicodeUTF8)
|
85
|
-
@btn_cancel.text = Qt::Application.translate("Wire_helper", "Close", nil, Qt::Application::UnicodeUTF8)
|
86
|
-
@btn_rotate.text = Qt::Application.translate("Wire_helper", "Rotate", nil, Qt::Application::UnicodeUTF8)
|
87
|
-
end # retranslateUi
|
88
|
-
|
89
|
-
def retranslate_ui(wire_helper)
|
90
|
-
retranslateUi(wire_helper)
|
91
|
-
end
|
92
|
-
|
93
|
-
end
|
94
|
-
|
95
|
-
module Ui
|
96
|
-
class Wire_helper < Ui_Wire_helper
|
97
|
-
end
|
98
|
-
end # module Ui
|
99
|
-
|
1
|
+
=begin
|
2
|
+
** Form generated from reading ui file 'gui_wire_helper.ui'
|
3
|
+
**
|
4
|
+
** Created: mar. déc. 8 16:25:10 2015
|
5
|
+
** by: Qt User Interface Compiler version 4.8.6
|
6
|
+
**
|
7
|
+
** WARNING! All changes made in this file will be lost when recompiling ui file!
|
8
|
+
=end
|
9
|
+
|
10
|
+
class Ui_Wire_helper
|
11
|
+
attr_reader :gridLayout
|
12
|
+
attr_reader :vl
|
13
|
+
attr_reader :lbl_advice
|
14
|
+
attr_reader :lbl_chip
|
15
|
+
attr_reader :gView
|
16
|
+
attr_reader :hl
|
17
|
+
attr_reader :hs
|
18
|
+
attr_reader :btn_cancel
|
19
|
+
attr_reader :btn_rotate
|
20
|
+
|
21
|
+
def setupUi(wire_helper)
|
22
|
+
if wire_helper.objectName.nil?
|
23
|
+
wire_helper.objectName = "wire_helper"
|
24
|
+
end
|
25
|
+
wire_helper.resize(581, 560)
|
26
|
+
wire_helper.styleSheet = ""
|
27
|
+
@gridLayout = Qt::GridLayout.new(wire_helper)
|
28
|
+
@gridLayout.objectName = "gridLayout"
|
29
|
+
@vl = Qt::VBoxLayout.new()
|
30
|
+
@vl.objectName = "vl"
|
31
|
+
@lbl_advice = Qt::Label.new(wire_helper)
|
32
|
+
@lbl_advice.objectName = "lbl_advice"
|
33
|
+
|
34
|
+
@vl.addWidget(@lbl_advice)
|
35
|
+
|
36
|
+
@lbl_chip = Qt::Label.new(wire_helper)
|
37
|
+
@lbl_chip.objectName = "lbl_chip"
|
38
|
+
|
39
|
+
@vl.addWidget(@lbl_chip)
|
40
|
+
|
41
|
+
@gView = Qt::GraphicsView.new(wire_helper)
|
42
|
+
@gView.objectName = "gView"
|
43
|
+
@gView.styleSheet = "Qt::GraphicsTextItem{outline: 0;}"
|
44
|
+
|
45
|
+
@vl.addWidget(@gView)
|
46
|
+
|
47
|
+
@hl = Qt::HBoxLayout.new()
|
48
|
+
@hl.objectName = "hl"
|
49
|
+
@hs = Qt::SpacerItem.new(40, 20, Qt::SizePolicy::Expanding, Qt::SizePolicy::Minimum)
|
50
|
+
|
51
|
+
@hl.addItem(@hs)
|
52
|
+
|
53
|
+
@btn_cancel = Qt::PushButton.new(wire_helper)
|
54
|
+
@btn_cancel.objectName = "btn_cancel"
|
55
|
+
|
56
|
+
@hl.addWidget(@btn_cancel)
|
57
|
+
|
58
|
+
@btn_rotate = Qt::PushButton.new(wire_helper)
|
59
|
+
@btn_rotate.objectName = "btn_rotate"
|
60
|
+
|
61
|
+
@hl.addWidget(@btn_rotate)
|
62
|
+
|
63
|
+
|
64
|
+
@vl.addLayout(@hl)
|
65
|
+
|
66
|
+
|
67
|
+
@gridLayout.addLayout(@vl, 1, 0, 1, 1)
|
68
|
+
|
69
|
+
|
70
|
+
retranslateUi(wire_helper)
|
71
|
+
Qt::Object.connect(@btn_cancel, SIGNAL('clicked()'), wire_helper, SLOT('close()'))
|
72
|
+
Qt::Object.connect(@btn_rotate, SIGNAL('clicked()'), wire_helper, SLOT('rotate_scene()'))
|
73
|
+
|
74
|
+
Qt::MetaObject.connectSlotsByName(wire_helper)
|
75
|
+
end # setupUi
|
76
|
+
|
77
|
+
def setup_ui(wire_helper)
|
78
|
+
setupUi(wire_helper)
|
79
|
+
end
|
80
|
+
|
81
|
+
def retranslateUi(wire_helper)
|
82
|
+
wire_helper.windowTitle = Qt::Application.translate("Wire_helper", "Harsploit - Wiring helper", nil, Qt::Application::UnicodeUTF8)
|
83
|
+
@lbl_advice.text = Qt::Application.translate("Wire_helper", "Click on a pin number or signal name to turn ON the corresponding LED", nil, Qt::Application::UnicodeUTF8)
|
84
|
+
@lbl_chip.text = Qt::Application.translate("Wire_helper", "Your chip:", nil, Qt::Application::UnicodeUTF8)
|
85
|
+
@btn_cancel.text = Qt::Application.translate("Wire_helper", "Close", nil, Qt::Application::UnicodeUTF8)
|
86
|
+
@btn_rotate.text = Qt::Application.translate("Wire_helper", "Rotate", nil, Qt::Application::UnicodeUTF8)
|
87
|
+
end # retranslateUi
|
88
|
+
|
89
|
+
def retranslate_ui(wire_helper)
|
90
|
+
retranslateUi(wire_helper)
|
91
|
+
end
|
92
|
+
|
93
|
+
end
|
94
|
+
|
95
|
+
module Ui
|
96
|
+
class Wire_helper < Ui_Wire_helper
|
97
|
+
end
|
98
|
+
end # module Ui
|
99
|
+
|
@@ -1,549 +1,549 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<ui version="4.0">
|
3
|
-
<class>Chip_editor</class>
|
4
|
-
<widget class="QWidget" name="Chip_editor">
|
5
|
-
<property name="windowModality">
|
6
|
-
<enum>Qt::ApplicationModal</enum>
|
7
|
-
</property>
|
8
|
-
<property name="geometry">
|
9
|
-
<rect>
|
10
|
-
<x>0</x>
|
11
|
-
<y>0</y>
|
12
|
-
<width>414</width>
|
13
|
-
<height>594</height>
|
14
|
-
</rect>
|
15
|
-
</property>
|
16
|
-
<property name="windowTitle">
|
17
|
-
<string>Hardsploit - Chip editor</string>
|
18
|
-
</property>
|
19
|
-
<layout class="QGridLayout" name="gridLayout">
|
20
|
-
<item row="1" column="0">
|
21
|
-
<widget class="QTableWidget" name="tbl_pins">
|
22
|
-
<property name="minimumSize">
|
23
|
-
<size>
|
24
|
-
<width>0</width>
|
25
|
-
<height>200</height>
|
26
|
-
</size>
|
27
|
-
</property>
|
28
|
-
<property name="maximumSize">
|
29
|
-
<size>
|
30
|
-
<width>16777215</width>
|
31
|
-
<height>16777215</height>
|
32
|
-
</size>
|
33
|
-
</property>
|
34
|
-
<attribute name="horizontalHeaderStretchLastSection">
|
35
|
-
<bool>true</bool>
|
36
|
-
</attribute>
|
37
|
-
<attribute name="verticalHeaderVisible">
|
38
|
-
<bool>false</bool>
|
39
|
-
</attribute>
|
40
|
-
<attribute name="verticalHeaderStretchLastSection">
|
41
|
-
<bool>true</bool>
|
42
|
-
</attribute>
|
43
|
-
<column>
|
44
|
-
<property name="text">
|
45
|
-
<string>Pin Number</string>
|
46
|
-
</property>
|
47
|
-
</column>
|
48
|
-
<column>
|
49
|
-
<property name="text">
|
50
|
-
<string>Bus</string>
|
51
|
-
</property>
|
52
|
-
</column>
|
53
|
-
<column>
|
54
|
-
<property name="text">
|
55
|
-
<string>Signal</string>
|
56
|
-
</property>
|
57
|
-
</column>
|
58
|
-
</widget>
|
59
|
-
</item>
|
60
|
-
<item row="2" column="0">
|
61
|
-
<widget class="QLabel" name="lbl_advice">
|
62
|
-
<property name="text">
|
63
|
-
<string>To complete this form, please report to the component datasheet.</string>
|
64
|
-
</property>
|
65
|
-
</widget>
|
66
|
-
</item>
|
67
|
-
<item row="3" column="0">
|
68
|
-
<layout class="QHBoxLayout" name="hl">
|
69
|
-
<item>
|
70
|
-
<spacer name="hs">
|
71
|
-
<property name="orientation">
|
72
|
-
<enum>Qt::Horizontal</enum>
|
73
|
-
</property>
|
74
|
-
<property name="sizeHint" stdset="0">
|
75
|
-
<size>
|
76
|
-
<width>40</width>
|
77
|
-
<height>20</height>
|
78
|
-
</size>
|
79
|
-
</property>
|
80
|
-
</spacer>
|
81
|
-
</item>
|
82
|
-
<item>
|
83
|
-
<widget class="QPushButton" name="btn_cancel">
|
84
|
-
<property name="text">
|
85
|
-
<string>Cancel</string>
|
86
|
-
</property>
|
87
|
-
</widget>
|
88
|
-
</item>
|
89
|
-
<item>
|
90
|
-
<widget class="QPushButton" name="btn_add">
|
91
|
-
<property name="text">
|
92
|
-
<string>Add</string>
|
93
|
-
</property>
|
94
|
-
</widget>
|
95
|
-
</item>
|
96
|
-
</layout>
|
97
|
-
</item>
|
98
|
-
<item row="0" column="0">
|
99
|
-
<layout class="QVBoxLayout" name="vl">
|
100
|
-
<item>
|
101
|
-
<layout class="QFormLayout" name="fl">
|
102
|
-
<item row="0" column="0">
|
103
|
-
<widget class="QLabel" name="lbl_ref">
|
104
|
-
<property name="text">
|
105
|
-
<string>Name / Reference:</string>
|
106
|
-
</property>
|
107
|
-
</widget>
|
108
|
-
</item>
|
109
|
-
<item row="0" column="1">
|
110
|
-
<widget class="QLineEdit" name="lie_reference">
|
111
|
-
<property name="maxLength">
|
112
|
-
<number>30</number>
|
113
|
-
</property>
|
114
|
-
<property name="placeholderText">
|
115
|
-
<string>30 chars max</string>
|
116
|
-
</property>
|
117
|
-
</widget>
|
118
|
-
</item>
|
119
|
-
<item row="1" column="0">
|
120
|
-
<widget class="QLabel" name="lbl_description">
|
121
|
-
<property name="text">
|
122
|
-
<string>Description:</string>
|
123
|
-
</property>
|
124
|
-
</widget>
|
125
|
-
</item>
|
126
|
-
<item row="1" column="1">
|
127
|
-
<widget class="QLineEdit" name="lie_description">
|
128
|
-
<property name="maxLength">
|
129
|
-
<number>200</number>
|
130
|
-
</property>
|
131
|
-
<property name="placeholderText">
|
132
|
-
<string>200 chars max</string>
|
133
|
-
</property>
|
134
|
-
</widget>
|
135
|
-
</item>
|
136
|
-
<item row="2" column="0">
|
137
|
-
<widget class="QLabel" name="lbl_voltage">
|
138
|
-
<property name="text">
|
139
|
-
<string>Voltage:</string>
|
140
|
-
</property>
|
141
|
-
</widget>
|
142
|
-
</item>
|
143
|
-
<item row="2" column="1">
|
144
|
-
<layout class="QHBoxLayout" name="hl2">
|
145
|
-
<item>
|
146
|
-
<widget class="QGroupBox" name="groupBox">
|
147
|
-
<property name="title">
|
148
|
-
<string/>
|
149
|
-
</property>
|
150
|
-
<widget class="QRadioButton" name="rbn_3v">
|
151
|
-
<property name="geometry">
|
152
|
-
<rect>
|
153
|
-
<x>10</x>
|
154
|
-
<y>0</y>
|
155
|
-
<width>70</width>
|
156
|
-
<height>21</height>
|
157
|
-
</rect>
|
158
|
-
</property>
|
159
|
-
<property name="text">
|
160
|
-
<string>3,3V</string>
|
161
|
-
</property>
|
162
|
-
<property name="checked">
|
163
|
-
<bool>true</bool>
|
164
|
-
</property>
|
165
|
-
<property name="autoExclusive">
|
166
|
-
<bool>true</bool>
|
167
|
-
</property>
|
168
|
-
</widget>
|
169
|
-
<widget class="QRadioButton" name="rbn_5v">
|
170
|
-
<property name="geometry">
|
171
|
-
<rect>
|
172
|
-
<x>90</x>
|
173
|
-
<y>0</y>
|
174
|
-
<width>109</width>
|
175
|
-
<height>21</height>
|
176
|
-
</rect>
|
177
|
-
</property>
|
178
|
-
<property name="text">
|
179
|
-
<string>5V</string>
|
180
|
-
</property>
|
181
|
-
<property name="autoExclusive">
|
182
|
-
<bool>true</bool>
|
183
|
-
</property>
|
184
|
-
</widget>
|
185
|
-
</widget>
|
186
|
-
</item>
|
187
|
-
</layout>
|
188
|
-
</item>
|
189
|
-
<item row="3" column="0">
|
190
|
-
<widget class="QLabel" name="lbl_manu">
|
191
|
-
<property name="text">
|
192
|
-
<string>Manufacturer:</string>
|
193
|
-
</property>
|
194
|
-
</widget>
|
195
|
-
</item>
|
196
|
-
<item row="3" column="1">
|
197
|
-
<layout class="QHBoxLayout" name="hl4">
|
198
|
-
<item>
|
199
|
-
<widget class="QComboBox" name="cbx_manufacturer">
|
200
|
-
<item>
|
201
|
-
<property name="text">
|
202
|
-
<string>Select...</string>
|
203
|
-
</property>
|
204
|
-
</item>
|
205
|
-
</widget>
|
206
|
-
</item>
|
207
|
-
<item>
|
208
|
-
<widget class="QPushButton" name="btn_delete_manufacturer">
|
209
|
-
<property name="maximumSize">
|
210
|
-
<size>
|
211
|
-
<width>30</width>
|
212
|
-
<height>16777215</height>
|
213
|
-
</size>
|
214
|
-
</property>
|
215
|
-
<property name="text">
|
216
|
-
<string>X</string>
|
217
|
-
</property>
|
218
|
-
</widget>
|
219
|
-
</item>
|
220
|
-
</layout>
|
221
|
-
</item>
|
222
|
-
<item row="4" column="1">
|
223
|
-
<widget class="QLineEdit" name="lie_manu_name">
|
224
|
-
<property name="maxLength">
|
225
|
-
<number>30</number>
|
226
|
-
</property>
|
227
|
-
<property name="placeholderText">
|
228
|
-
<string>Other...</string>
|
229
|
-
</property>
|
230
|
-
</widget>
|
231
|
-
</item>
|
232
|
-
<item row="5" column="0">
|
233
|
-
<widget class="QLabel" name="lbl_type">
|
234
|
-
<property name="text">
|
235
|
-
<string>Type:</string>
|
236
|
-
</property>
|
237
|
-
</widget>
|
238
|
-
</item>
|
239
|
-
<item row="5" column="1">
|
240
|
-
<layout class="QHBoxLayout" name="hl5">
|
241
|
-
<item>
|
242
|
-
<widget class="QComboBox" name="cbx_type">
|
243
|
-
<item>
|
244
|
-
<property name="text">
|
245
|
-
<string>Select...</string>
|
246
|
-
</property>
|
247
|
-
</item>
|
248
|
-
</widget>
|
249
|
-
</item>
|
250
|
-
<item>
|
251
|
-
<widget class="QPushButton" name="btn_delete_type">
|
252
|
-
<property name="maximumSize">
|
253
|
-
<size>
|
254
|
-
<width>30</width>
|
255
|
-
<height>16777215</height>
|
256
|
-
</size>
|
257
|
-
</property>
|
258
|
-
<property name="text">
|
259
|
-
<string>X</string>
|
260
|
-
</property>
|
261
|
-
</widget>
|
262
|
-
</item>
|
263
|
-
</layout>
|
264
|
-
</item>
|
265
|
-
<item row="6" column="1">
|
266
|
-
<widget class="QLineEdit" name="lie_type_name">
|
267
|
-
<property name="text">
|
268
|
-
<string/>
|
269
|
-
</property>
|
270
|
-
<property name="maxLength">
|
271
|
-
<number>30</number>
|
272
|
-
</property>
|
273
|
-
<property name="placeholderText">
|
274
|
-
<string>Other...</string>
|
275
|
-
</property>
|
276
|
-
</widget>
|
277
|
-
</item>
|
278
|
-
<item row="7" column="0">
|
279
|
-
<widget class="QLabel" name="lbl_package">
|
280
|
-
<property name="text">
|
281
|
-
<string>Package:</string>
|
282
|
-
</property>
|
283
|
-
</widget>
|
284
|
-
</item>
|
285
|
-
<item row="7" column="1">
|
286
|
-
<layout class="QHBoxLayout" name="hl1">
|
287
|
-
<item>
|
288
|
-
<widget class="QComboBox" name="cbx_package">
|
289
|
-
<item>
|
290
|
-
<property name="text">
|
291
|
-
<string>Select...</string>
|
292
|
-
</property>
|
293
|
-
</item>
|
294
|
-
</widget>
|
295
|
-
</item>
|
296
|
-
<item>
|
297
|
-
<widget class="QPushButton" name="btn_delete_package">
|
298
|
-
<property name="maximumSize">
|
299
|
-
<size>
|
300
|
-
<width>30</width>
|
301
|
-
<height>16777215</height>
|
302
|
-
</size>
|
303
|
-
</property>
|
304
|
-
<property name="text">
|
305
|
-
<string>X</string>
|
306
|
-
</property>
|
307
|
-
</widget>
|
308
|
-
</item>
|
309
|
-
</layout>
|
310
|
-
</item>
|
311
|
-
<item row="8" column="0">
|
312
|
-
<widget class="QLabel" name="lbl_name">
|
313
|
-
<property name="text">
|
314
|
-
<string>Package name:</string>
|
315
|
-
</property>
|
316
|
-
</widget>
|
317
|
-
</item>
|
318
|
-
<item row="8" column="1">
|
319
|
-
<widget class="QLineEdit" name="lie_pack_name">
|
320
|
-
<property name="maxLength">
|
321
|
-
<number>30</number>
|
322
|
-
</property>
|
323
|
-
<property name="placeholderText">
|
324
|
-
<string>30 chars max</string>
|
325
|
-
</property>
|
326
|
-
</widget>
|
327
|
-
</item>
|
328
|
-
<item row="9" column="0">
|
329
|
-
<widget class="QLabel" name="lbl_pack_pin">
|
330
|
-
<property name="text">
|
331
|
-
<string>Package pin number:</string>
|
332
|
-
</property>
|
333
|
-
</widget>
|
334
|
-
</item>
|
335
|
-
<item row="9" column="1">
|
336
|
-
<widget class="QLineEdit" name="lie_pack_pin">
|
337
|
-
<property name="inputMask">
|
338
|
-
<string/>
|
339
|
-
</property>
|
340
|
-
<property name="maxLength">
|
341
|
-
<number>3</number>
|
342
|
-
</property>
|
343
|
-
<property name="placeholderText">
|
344
|
-
<string>4-144</string>
|
345
|
-
</property>
|
346
|
-
</widget>
|
347
|
-
</item>
|
348
|
-
<item row="10" column="0">
|
349
|
-
<widget class="QLabel" name="lbl_pack_shape">
|
350
|
-
<property name="text">
|
351
|
-
<string>Package shape:</string>
|
352
|
-
</property>
|
353
|
-
</widget>
|
354
|
-
</item>
|
355
|
-
<item row="10" column="1">
|
356
|
-
<layout class="QHBoxLayout" name="hl3">
|
357
|
-
<item>
|
358
|
-
<widget class="QGroupBox" name="groupBox_2">
|
359
|
-
<property name="title">
|
360
|
-
<string/>
|
361
|
-
</property>
|
362
|
-
<widget class="QRadioButton" name="rbn_square">
|
363
|
-
<property name="geometry">
|
364
|
-
<rect>
|
365
|
-
<x>10</x>
|
366
|
-
<y>0</y>
|
367
|
-
<width>81</width>
|
368
|
-
<height>20</height>
|
369
|
-
</rect>
|
370
|
-
</property>
|
371
|
-
<property name="text">
|
372
|
-
<string>Square</string>
|
373
|
-
</property>
|
374
|
-
<property name="checked">
|
375
|
-
<bool>true</bool>
|
376
|
-
</property>
|
377
|
-
<property name="autoExclusive">
|
378
|
-
<bool>true</bool>
|
379
|
-
</property>
|
380
|
-
</widget>
|
381
|
-
<widget class="QRadioButton" name="rbn_rectangular">
|
382
|
-
<property name="geometry">
|
383
|
-
<rect>
|
384
|
-
<x>110</x>
|
385
|
-
<y>0</y>
|
386
|
-
<width>109</width>
|
387
|
-
<height>20</height>
|
388
|
-
</rect>
|
389
|
-
</property>
|
390
|
-
<property name="text">
|
391
|
-
<string>Rectangular</string>
|
392
|
-
</property>
|
393
|
-
<property name="checked">
|
394
|
-
<bool>false</bool>
|
395
|
-
</property>
|
396
|
-
<property name="autoExclusive">
|
397
|
-
<bool>true</bool>
|
398
|
-
</property>
|
399
|
-
</widget>
|
400
|
-
</widget>
|
401
|
-
</item>
|
402
|
-
</layout>
|
403
|
-
</item>
|
404
|
-
</layout>
|
405
|
-
</item>
|
406
|
-
</layout>
|
407
|
-
</item>
|
408
|
-
</layout>
|
409
|
-
</widget>
|
410
|
-
<resources/>
|
411
|
-
<connections>
|
412
|
-
<connection>
|
413
|
-
<sender>lie_pack_pin</sender>
|
414
|
-
<signal>editingFinished()</signal>
|
415
|
-
<receiver>Chip_editor</receiver>
|
416
|
-
<slot>fill_pin_table()</slot>
|
417
|
-
<hints>
|
418
|
-
<hint type="sourcelabel">
|
419
|
-
<x>393</x>
|
420
|
-
<y>300</y>
|
421
|
-
</hint>
|
422
|
-
<hint type="destinationlabel">
|
423
|
-
<x>409</x>
|
424
|
-
<y>300</y>
|
425
|
-
</hint>
|
426
|
-
</hints>
|
427
|
-
</connection>
|
428
|
-
<connection>
|
429
|
-
<sender>btn_delete_manufacturer</sender>
|
430
|
-
<signal>clicked()</signal>
|
431
|
-
<receiver>Chip_editor</receiver>
|
432
|
-
<slot>delete_cbx_element()</slot>
|
433
|
-
<hints>
|
434
|
-
<hint type="sourcelabel">
|
435
|
-
<x>392</x>
|
436
|
-
<y>99</y>
|
437
|
-
</hint>
|
438
|
-
<hint type="destinationlabel">
|
439
|
-
<x>410</x>
|
440
|
-
<y>96</y>
|
441
|
-
</hint>
|
442
|
-
</hints>
|
443
|
-
</connection>
|
444
|
-
<connection>
|
445
|
-
<sender>btn_delete_type</sender>
|
446
|
-
<signal>clicked()</signal>
|
447
|
-
<receiver>Chip_editor</receiver>
|
448
|
-
<slot>delete_cbx_element()</slot>
|
449
|
-
<hints>
|
450
|
-
<hint type="sourcelabel">
|
451
|
-
<x>394</x>
|
452
|
-
<y>157</y>
|
453
|
-
</hint>
|
454
|
-
<hint type="destinationlabel">
|
455
|
-
<x>410</x>
|
456
|
-
<y>157</y>
|
457
|
-
</hint>
|
458
|
-
</hints>
|
459
|
-
</connection>
|
460
|
-
<connection>
|
461
|
-
<sender>btn_delete_package</sender>
|
462
|
-
<signal>clicked()</signal>
|
463
|
-
<receiver>Chip_editor</receiver>
|
464
|
-
<slot>delete_cbx_element()</slot>
|
465
|
-
<hints>
|
466
|
-
<hint type="sourcelabel">
|
467
|
-
<x>397</x>
|
468
|
-
<y>214</y>
|
469
|
-
</hint>
|
470
|
-
<hint type="destinationlabel">
|
471
|
-
<x>409</x>
|
472
|
-
<y>214</y>
|
473
|
-
</hint>
|
474
|
-
</hints>
|
475
|
-
</connection>
|
476
|
-
<connection>
|
477
|
-
<sender>cbx_package</sender>
|
478
|
-
<signal>currentIndexChanged(int)</signal>
|
479
|
-
<receiver>Chip_editor</receiver>
|
480
|
-
<slot>select_package()</slot>
|
481
|
-
<hints>
|
482
|
-
<hint type="sourcelabel">
|
483
|
-
<x>184</x>
|
484
|
-
<y>214</y>
|
485
|
-
</hint>
|
486
|
-
<hint type="destinationlabel">
|
487
|
-
<x>8</x>
|
488
|
-
<y>191</y>
|
489
|
-
</hint>
|
490
|
-
</hints>
|
491
|
-
</connection>
|
492
|
-
<connection>
|
493
|
-
<sender>cbx_type</sender>
|
494
|
-
<signal>currentIndexChanged(int)</signal>
|
495
|
-
<receiver>Chip_editor</receiver>
|
496
|
-
<slot>select_type()</slot>
|
497
|
-
<hints>
|
498
|
-
<hint type="sourcelabel">
|
499
|
-
<x>182</x>
|
500
|
-
<y>155</y>
|
501
|
-
</hint>
|
502
|
-
<hint type="destinationlabel">
|
503
|
-
<x>2</x>
|
504
|
-
<y>160</y>
|
505
|
-
</hint>
|
506
|
-
</hints>
|
507
|
-
</connection>
|
508
|
-
<connection>
|
509
|
-
<sender>cbx_manufacturer</sender>
|
510
|
-
<signal>currentIndexChanged(int)</signal>
|
511
|
-
<receiver>Chip_editor</receiver>
|
512
|
-
<slot>select_manufacturer()</slot>
|
513
|
-
<hints>
|
514
|
-
<hint type="sourcelabel">
|
515
|
-
<x>180</x>
|
516
|
-
<y>105</y>
|
517
|
-
</hint>
|
518
|
-
<hint type="destinationlabel">
|
519
|
-
<x>2</x>
|
520
|
-
<y>109</y>
|
521
|
-
</hint>
|
522
|
-
</hints>
|
523
|
-
</connection>
|
524
|
-
<connection>
|
525
|
-
<sender>btn_cancel</sender>
|
526
|
-
<signal>clicked()</signal>
|
527
|
-
<receiver>Chip_editor</receiver>
|
528
|
-
<slot>close()</slot>
|
529
|
-
<hints>
|
530
|
-
<hint type="sourcelabel">
|
531
|
-
<x>253</x>
|
532
|
-
<y>609</y>
|
533
|
-
</hint>
|
534
|
-
<hint type="destinationlabel">
|
535
|
-
<x>411</x>
|
536
|
-
<y>575</y>
|
537
|
-
</hint>
|
538
|
-
</hints>
|
539
|
-
</connection>
|
540
|
-
</connections>
|
541
|
-
<slots>
|
542
|
-
<slot>fill_pin_table()</slot>
|
543
|
-
<slot>select_package()</slot>
|
544
|
-
<slot>select_manufacturer()</slot>
|
545
|
-
<slot>filter_cbx()</slot>
|
546
|
-
<slot>delete_cbx_element()</slot>
|
547
|
-
<slot>select_type()</slot>
|
548
|
-
</slots>
|
549
|
-
</ui>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ui version="4.0">
|
3
|
+
<class>Chip_editor</class>
|
4
|
+
<widget class="QWidget" name="Chip_editor">
|
5
|
+
<property name="windowModality">
|
6
|
+
<enum>Qt::ApplicationModal</enum>
|
7
|
+
</property>
|
8
|
+
<property name="geometry">
|
9
|
+
<rect>
|
10
|
+
<x>0</x>
|
11
|
+
<y>0</y>
|
12
|
+
<width>414</width>
|
13
|
+
<height>594</height>
|
14
|
+
</rect>
|
15
|
+
</property>
|
16
|
+
<property name="windowTitle">
|
17
|
+
<string>Hardsploit - Chip editor</string>
|
18
|
+
</property>
|
19
|
+
<layout class="QGridLayout" name="gridLayout">
|
20
|
+
<item row="1" column="0">
|
21
|
+
<widget class="QTableWidget" name="tbl_pins">
|
22
|
+
<property name="minimumSize">
|
23
|
+
<size>
|
24
|
+
<width>0</width>
|
25
|
+
<height>200</height>
|
26
|
+
</size>
|
27
|
+
</property>
|
28
|
+
<property name="maximumSize">
|
29
|
+
<size>
|
30
|
+
<width>16777215</width>
|
31
|
+
<height>16777215</height>
|
32
|
+
</size>
|
33
|
+
</property>
|
34
|
+
<attribute name="horizontalHeaderStretchLastSection">
|
35
|
+
<bool>true</bool>
|
36
|
+
</attribute>
|
37
|
+
<attribute name="verticalHeaderVisible">
|
38
|
+
<bool>false</bool>
|
39
|
+
</attribute>
|
40
|
+
<attribute name="verticalHeaderStretchLastSection">
|
41
|
+
<bool>true</bool>
|
42
|
+
</attribute>
|
43
|
+
<column>
|
44
|
+
<property name="text">
|
45
|
+
<string>Pin Number</string>
|
46
|
+
</property>
|
47
|
+
</column>
|
48
|
+
<column>
|
49
|
+
<property name="text">
|
50
|
+
<string>Bus</string>
|
51
|
+
</property>
|
52
|
+
</column>
|
53
|
+
<column>
|
54
|
+
<property name="text">
|
55
|
+
<string>Signal</string>
|
56
|
+
</property>
|
57
|
+
</column>
|
58
|
+
</widget>
|
59
|
+
</item>
|
60
|
+
<item row="2" column="0">
|
61
|
+
<widget class="QLabel" name="lbl_advice">
|
62
|
+
<property name="text">
|
63
|
+
<string>To complete this form, please report to the component datasheet.</string>
|
64
|
+
</property>
|
65
|
+
</widget>
|
66
|
+
</item>
|
67
|
+
<item row="3" column="0">
|
68
|
+
<layout class="QHBoxLayout" name="hl">
|
69
|
+
<item>
|
70
|
+
<spacer name="hs">
|
71
|
+
<property name="orientation">
|
72
|
+
<enum>Qt::Horizontal</enum>
|
73
|
+
</property>
|
74
|
+
<property name="sizeHint" stdset="0">
|
75
|
+
<size>
|
76
|
+
<width>40</width>
|
77
|
+
<height>20</height>
|
78
|
+
</size>
|
79
|
+
</property>
|
80
|
+
</spacer>
|
81
|
+
</item>
|
82
|
+
<item>
|
83
|
+
<widget class="QPushButton" name="btn_cancel">
|
84
|
+
<property name="text">
|
85
|
+
<string>Cancel</string>
|
86
|
+
</property>
|
87
|
+
</widget>
|
88
|
+
</item>
|
89
|
+
<item>
|
90
|
+
<widget class="QPushButton" name="btn_add">
|
91
|
+
<property name="text">
|
92
|
+
<string>Add</string>
|
93
|
+
</property>
|
94
|
+
</widget>
|
95
|
+
</item>
|
96
|
+
</layout>
|
97
|
+
</item>
|
98
|
+
<item row="0" column="0">
|
99
|
+
<layout class="QVBoxLayout" name="vl">
|
100
|
+
<item>
|
101
|
+
<layout class="QFormLayout" name="fl">
|
102
|
+
<item row="0" column="0">
|
103
|
+
<widget class="QLabel" name="lbl_ref">
|
104
|
+
<property name="text">
|
105
|
+
<string>Name / Reference:</string>
|
106
|
+
</property>
|
107
|
+
</widget>
|
108
|
+
</item>
|
109
|
+
<item row="0" column="1">
|
110
|
+
<widget class="QLineEdit" name="lie_reference">
|
111
|
+
<property name="maxLength">
|
112
|
+
<number>30</number>
|
113
|
+
</property>
|
114
|
+
<property name="placeholderText">
|
115
|
+
<string>30 chars max</string>
|
116
|
+
</property>
|
117
|
+
</widget>
|
118
|
+
</item>
|
119
|
+
<item row="1" column="0">
|
120
|
+
<widget class="QLabel" name="lbl_description">
|
121
|
+
<property name="text">
|
122
|
+
<string>Description:</string>
|
123
|
+
</property>
|
124
|
+
</widget>
|
125
|
+
</item>
|
126
|
+
<item row="1" column="1">
|
127
|
+
<widget class="QLineEdit" name="lie_description">
|
128
|
+
<property name="maxLength">
|
129
|
+
<number>200</number>
|
130
|
+
</property>
|
131
|
+
<property name="placeholderText">
|
132
|
+
<string>200 chars max</string>
|
133
|
+
</property>
|
134
|
+
</widget>
|
135
|
+
</item>
|
136
|
+
<item row="2" column="0">
|
137
|
+
<widget class="QLabel" name="lbl_voltage">
|
138
|
+
<property name="text">
|
139
|
+
<string>Voltage:</string>
|
140
|
+
</property>
|
141
|
+
</widget>
|
142
|
+
</item>
|
143
|
+
<item row="2" column="1">
|
144
|
+
<layout class="QHBoxLayout" name="hl2">
|
145
|
+
<item>
|
146
|
+
<widget class="QGroupBox" name="groupBox">
|
147
|
+
<property name="title">
|
148
|
+
<string/>
|
149
|
+
</property>
|
150
|
+
<widget class="QRadioButton" name="rbn_3v">
|
151
|
+
<property name="geometry">
|
152
|
+
<rect>
|
153
|
+
<x>10</x>
|
154
|
+
<y>0</y>
|
155
|
+
<width>70</width>
|
156
|
+
<height>21</height>
|
157
|
+
</rect>
|
158
|
+
</property>
|
159
|
+
<property name="text">
|
160
|
+
<string>3,3V</string>
|
161
|
+
</property>
|
162
|
+
<property name="checked">
|
163
|
+
<bool>true</bool>
|
164
|
+
</property>
|
165
|
+
<property name="autoExclusive">
|
166
|
+
<bool>true</bool>
|
167
|
+
</property>
|
168
|
+
</widget>
|
169
|
+
<widget class="QRadioButton" name="rbn_5v">
|
170
|
+
<property name="geometry">
|
171
|
+
<rect>
|
172
|
+
<x>90</x>
|
173
|
+
<y>0</y>
|
174
|
+
<width>109</width>
|
175
|
+
<height>21</height>
|
176
|
+
</rect>
|
177
|
+
</property>
|
178
|
+
<property name="text">
|
179
|
+
<string>5V</string>
|
180
|
+
</property>
|
181
|
+
<property name="autoExclusive">
|
182
|
+
<bool>true</bool>
|
183
|
+
</property>
|
184
|
+
</widget>
|
185
|
+
</widget>
|
186
|
+
</item>
|
187
|
+
</layout>
|
188
|
+
</item>
|
189
|
+
<item row="3" column="0">
|
190
|
+
<widget class="QLabel" name="lbl_manu">
|
191
|
+
<property name="text">
|
192
|
+
<string>Manufacturer:</string>
|
193
|
+
</property>
|
194
|
+
</widget>
|
195
|
+
</item>
|
196
|
+
<item row="3" column="1">
|
197
|
+
<layout class="QHBoxLayout" name="hl4">
|
198
|
+
<item>
|
199
|
+
<widget class="QComboBox" name="cbx_manufacturer">
|
200
|
+
<item>
|
201
|
+
<property name="text">
|
202
|
+
<string>Select...</string>
|
203
|
+
</property>
|
204
|
+
</item>
|
205
|
+
</widget>
|
206
|
+
</item>
|
207
|
+
<item>
|
208
|
+
<widget class="QPushButton" name="btn_delete_manufacturer">
|
209
|
+
<property name="maximumSize">
|
210
|
+
<size>
|
211
|
+
<width>30</width>
|
212
|
+
<height>16777215</height>
|
213
|
+
</size>
|
214
|
+
</property>
|
215
|
+
<property name="text">
|
216
|
+
<string>X</string>
|
217
|
+
</property>
|
218
|
+
</widget>
|
219
|
+
</item>
|
220
|
+
</layout>
|
221
|
+
</item>
|
222
|
+
<item row="4" column="1">
|
223
|
+
<widget class="QLineEdit" name="lie_manu_name">
|
224
|
+
<property name="maxLength">
|
225
|
+
<number>30</number>
|
226
|
+
</property>
|
227
|
+
<property name="placeholderText">
|
228
|
+
<string>Other...</string>
|
229
|
+
</property>
|
230
|
+
</widget>
|
231
|
+
</item>
|
232
|
+
<item row="5" column="0">
|
233
|
+
<widget class="QLabel" name="lbl_type">
|
234
|
+
<property name="text">
|
235
|
+
<string>Type:</string>
|
236
|
+
</property>
|
237
|
+
</widget>
|
238
|
+
</item>
|
239
|
+
<item row="5" column="1">
|
240
|
+
<layout class="QHBoxLayout" name="hl5">
|
241
|
+
<item>
|
242
|
+
<widget class="QComboBox" name="cbx_type">
|
243
|
+
<item>
|
244
|
+
<property name="text">
|
245
|
+
<string>Select...</string>
|
246
|
+
</property>
|
247
|
+
</item>
|
248
|
+
</widget>
|
249
|
+
</item>
|
250
|
+
<item>
|
251
|
+
<widget class="QPushButton" name="btn_delete_type">
|
252
|
+
<property name="maximumSize">
|
253
|
+
<size>
|
254
|
+
<width>30</width>
|
255
|
+
<height>16777215</height>
|
256
|
+
</size>
|
257
|
+
</property>
|
258
|
+
<property name="text">
|
259
|
+
<string>X</string>
|
260
|
+
</property>
|
261
|
+
</widget>
|
262
|
+
</item>
|
263
|
+
</layout>
|
264
|
+
</item>
|
265
|
+
<item row="6" column="1">
|
266
|
+
<widget class="QLineEdit" name="lie_type_name">
|
267
|
+
<property name="text">
|
268
|
+
<string/>
|
269
|
+
</property>
|
270
|
+
<property name="maxLength">
|
271
|
+
<number>30</number>
|
272
|
+
</property>
|
273
|
+
<property name="placeholderText">
|
274
|
+
<string>Other...</string>
|
275
|
+
</property>
|
276
|
+
</widget>
|
277
|
+
</item>
|
278
|
+
<item row="7" column="0">
|
279
|
+
<widget class="QLabel" name="lbl_package">
|
280
|
+
<property name="text">
|
281
|
+
<string>Package:</string>
|
282
|
+
</property>
|
283
|
+
</widget>
|
284
|
+
</item>
|
285
|
+
<item row="7" column="1">
|
286
|
+
<layout class="QHBoxLayout" name="hl1">
|
287
|
+
<item>
|
288
|
+
<widget class="QComboBox" name="cbx_package">
|
289
|
+
<item>
|
290
|
+
<property name="text">
|
291
|
+
<string>Select...</string>
|
292
|
+
</property>
|
293
|
+
</item>
|
294
|
+
</widget>
|
295
|
+
</item>
|
296
|
+
<item>
|
297
|
+
<widget class="QPushButton" name="btn_delete_package">
|
298
|
+
<property name="maximumSize">
|
299
|
+
<size>
|
300
|
+
<width>30</width>
|
301
|
+
<height>16777215</height>
|
302
|
+
</size>
|
303
|
+
</property>
|
304
|
+
<property name="text">
|
305
|
+
<string>X</string>
|
306
|
+
</property>
|
307
|
+
</widget>
|
308
|
+
</item>
|
309
|
+
</layout>
|
310
|
+
</item>
|
311
|
+
<item row="8" column="0">
|
312
|
+
<widget class="QLabel" name="lbl_name">
|
313
|
+
<property name="text">
|
314
|
+
<string>Package name:</string>
|
315
|
+
</property>
|
316
|
+
</widget>
|
317
|
+
</item>
|
318
|
+
<item row="8" column="1">
|
319
|
+
<widget class="QLineEdit" name="lie_pack_name">
|
320
|
+
<property name="maxLength">
|
321
|
+
<number>30</number>
|
322
|
+
</property>
|
323
|
+
<property name="placeholderText">
|
324
|
+
<string>30 chars max</string>
|
325
|
+
</property>
|
326
|
+
</widget>
|
327
|
+
</item>
|
328
|
+
<item row="9" column="0">
|
329
|
+
<widget class="QLabel" name="lbl_pack_pin">
|
330
|
+
<property name="text">
|
331
|
+
<string>Package pin number:</string>
|
332
|
+
</property>
|
333
|
+
</widget>
|
334
|
+
</item>
|
335
|
+
<item row="9" column="1">
|
336
|
+
<widget class="QLineEdit" name="lie_pack_pin">
|
337
|
+
<property name="inputMask">
|
338
|
+
<string/>
|
339
|
+
</property>
|
340
|
+
<property name="maxLength">
|
341
|
+
<number>3</number>
|
342
|
+
</property>
|
343
|
+
<property name="placeholderText">
|
344
|
+
<string>4-144</string>
|
345
|
+
</property>
|
346
|
+
</widget>
|
347
|
+
</item>
|
348
|
+
<item row="10" column="0">
|
349
|
+
<widget class="QLabel" name="lbl_pack_shape">
|
350
|
+
<property name="text">
|
351
|
+
<string>Package shape:</string>
|
352
|
+
</property>
|
353
|
+
</widget>
|
354
|
+
</item>
|
355
|
+
<item row="10" column="1">
|
356
|
+
<layout class="QHBoxLayout" name="hl3">
|
357
|
+
<item>
|
358
|
+
<widget class="QGroupBox" name="groupBox_2">
|
359
|
+
<property name="title">
|
360
|
+
<string/>
|
361
|
+
</property>
|
362
|
+
<widget class="QRadioButton" name="rbn_square">
|
363
|
+
<property name="geometry">
|
364
|
+
<rect>
|
365
|
+
<x>10</x>
|
366
|
+
<y>0</y>
|
367
|
+
<width>81</width>
|
368
|
+
<height>20</height>
|
369
|
+
</rect>
|
370
|
+
</property>
|
371
|
+
<property name="text">
|
372
|
+
<string>Square</string>
|
373
|
+
</property>
|
374
|
+
<property name="checked">
|
375
|
+
<bool>true</bool>
|
376
|
+
</property>
|
377
|
+
<property name="autoExclusive">
|
378
|
+
<bool>true</bool>
|
379
|
+
</property>
|
380
|
+
</widget>
|
381
|
+
<widget class="QRadioButton" name="rbn_rectangular">
|
382
|
+
<property name="geometry">
|
383
|
+
<rect>
|
384
|
+
<x>110</x>
|
385
|
+
<y>0</y>
|
386
|
+
<width>109</width>
|
387
|
+
<height>20</height>
|
388
|
+
</rect>
|
389
|
+
</property>
|
390
|
+
<property name="text">
|
391
|
+
<string>Rectangular</string>
|
392
|
+
</property>
|
393
|
+
<property name="checked">
|
394
|
+
<bool>false</bool>
|
395
|
+
</property>
|
396
|
+
<property name="autoExclusive">
|
397
|
+
<bool>true</bool>
|
398
|
+
</property>
|
399
|
+
</widget>
|
400
|
+
</widget>
|
401
|
+
</item>
|
402
|
+
</layout>
|
403
|
+
</item>
|
404
|
+
</layout>
|
405
|
+
</item>
|
406
|
+
</layout>
|
407
|
+
</item>
|
408
|
+
</layout>
|
409
|
+
</widget>
|
410
|
+
<resources/>
|
411
|
+
<connections>
|
412
|
+
<connection>
|
413
|
+
<sender>lie_pack_pin</sender>
|
414
|
+
<signal>editingFinished()</signal>
|
415
|
+
<receiver>Chip_editor</receiver>
|
416
|
+
<slot>fill_pin_table()</slot>
|
417
|
+
<hints>
|
418
|
+
<hint type="sourcelabel">
|
419
|
+
<x>393</x>
|
420
|
+
<y>300</y>
|
421
|
+
</hint>
|
422
|
+
<hint type="destinationlabel">
|
423
|
+
<x>409</x>
|
424
|
+
<y>300</y>
|
425
|
+
</hint>
|
426
|
+
</hints>
|
427
|
+
</connection>
|
428
|
+
<connection>
|
429
|
+
<sender>btn_delete_manufacturer</sender>
|
430
|
+
<signal>clicked()</signal>
|
431
|
+
<receiver>Chip_editor</receiver>
|
432
|
+
<slot>delete_cbx_element()</slot>
|
433
|
+
<hints>
|
434
|
+
<hint type="sourcelabel">
|
435
|
+
<x>392</x>
|
436
|
+
<y>99</y>
|
437
|
+
</hint>
|
438
|
+
<hint type="destinationlabel">
|
439
|
+
<x>410</x>
|
440
|
+
<y>96</y>
|
441
|
+
</hint>
|
442
|
+
</hints>
|
443
|
+
</connection>
|
444
|
+
<connection>
|
445
|
+
<sender>btn_delete_type</sender>
|
446
|
+
<signal>clicked()</signal>
|
447
|
+
<receiver>Chip_editor</receiver>
|
448
|
+
<slot>delete_cbx_element()</slot>
|
449
|
+
<hints>
|
450
|
+
<hint type="sourcelabel">
|
451
|
+
<x>394</x>
|
452
|
+
<y>157</y>
|
453
|
+
</hint>
|
454
|
+
<hint type="destinationlabel">
|
455
|
+
<x>410</x>
|
456
|
+
<y>157</y>
|
457
|
+
</hint>
|
458
|
+
</hints>
|
459
|
+
</connection>
|
460
|
+
<connection>
|
461
|
+
<sender>btn_delete_package</sender>
|
462
|
+
<signal>clicked()</signal>
|
463
|
+
<receiver>Chip_editor</receiver>
|
464
|
+
<slot>delete_cbx_element()</slot>
|
465
|
+
<hints>
|
466
|
+
<hint type="sourcelabel">
|
467
|
+
<x>397</x>
|
468
|
+
<y>214</y>
|
469
|
+
</hint>
|
470
|
+
<hint type="destinationlabel">
|
471
|
+
<x>409</x>
|
472
|
+
<y>214</y>
|
473
|
+
</hint>
|
474
|
+
</hints>
|
475
|
+
</connection>
|
476
|
+
<connection>
|
477
|
+
<sender>cbx_package</sender>
|
478
|
+
<signal>currentIndexChanged(int)</signal>
|
479
|
+
<receiver>Chip_editor</receiver>
|
480
|
+
<slot>select_package()</slot>
|
481
|
+
<hints>
|
482
|
+
<hint type="sourcelabel">
|
483
|
+
<x>184</x>
|
484
|
+
<y>214</y>
|
485
|
+
</hint>
|
486
|
+
<hint type="destinationlabel">
|
487
|
+
<x>8</x>
|
488
|
+
<y>191</y>
|
489
|
+
</hint>
|
490
|
+
</hints>
|
491
|
+
</connection>
|
492
|
+
<connection>
|
493
|
+
<sender>cbx_type</sender>
|
494
|
+
<signal>currentIndexChanged(int)</signal>
|
495
|
+
<receiver>Chip_editor</receiver>
|
496
|
+
<slot>select_type()</slot>
|
497
|
+
<hints>
|
498
|
+
<hint type="sourcelabel">
|
499
|
+
<x>182</x>
|
500
|
+
<y>155</y>
|
501
|
+
</hint>
|
502
|
+
<hint type="destinationlabel">
|
503
|
+
<x>2</x>
|
504
|
+
<y>160</y>
|
505
|
+
</hint>
|
506
|
+
</hints>
|
507
|
+
</connection>
|
508
|
+
<connection>
|
509
|
+
<sender>cbx_manufacturer</sender>
|
510
|
+
<signal>currentIndexChanged(int)</signal>
|
511
|
+
<receiver>Chip_editor</receiver>
|
512
|
+
<slot>select_manufacturer()</slot>
|
513
|
+
<hints>
|
514
|
+
<hint type="sourcelabel">
|
515
|
+
<x>180</x>
|
516
|
+
<y>105</y>
|
517
|
+
</hint>
|
518
|
+
<hint type="destinationlabel">
|
519
|
+
<x>2</x>
|
520
|
+
<y>109</y>
|
521
|
+
</hint>
|
522
|
+
</hints>
|
523
|
+
</connection>
|
524
|
+
<connection>
|
525
|
+
<sender>btn_cancel</sender>
|
526
|
+
<signal>clicked()</signal>
|
527
|
+
<receiver>Chip_editor</receiver>
|
528
|
+
<slot>close()</slot>
|
529
|
+
<hints>
|
530
|
+
<hint type="sourcelabel">
|
531
|
+
<x>253</x>
|
532
|
+
<y>609</y>
|
533
|
+
</hint>
|
534
|
+
<hint type="destinationlabel">
|
535
|
+
<x>411</x>
|
536
|
+
<y>575</y>
|
537
|
+
</hint>
|
538
|
+
</hints>
|
539
|
+
</connection>
|
540
|
+
</connections>
|
541
|
+
<slots>
|
542
|
+
<slot>fill_pin_table()</slot>
|
543
|
+
<slot>select_package()</slot>
|
544
|
+
<slot>select_manufacturer()</slot>
|
545
|
+
<slot>filter_cbx()</slot>
|
546
|
+
<slot>delete_cbx_element()</slot>
|
547
|
+
<slot>select_type()</slot>
|
548
|
+
</slots>
|
549
|
+
</ui>
|