Class: Ui_Chip_management
- Inherits:
-
Object
- Object
- Ui_Chip_management
- Defined in:
- lib/gui/gui_chip_management.rb
Overview
** Form generated from reading ui file ‘gui_chip_management.ui’ ** ** Created: lun. juil. 25 09:23:04 2016 ** by: Qt User Interface Compiler version 4.8.6 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!
Direct Known Subclasses
Instance Attribute Summary collapse
-
#actionAdd ⇒ Object
readonly
Returns the value of attribute actionAdd.
-
#actionDatabase_file ⇒ Object
readonly
Returns the value of attribute actionDatabase_file.
-
#actionDelete ⇒ Object
readonly
Returns the value of attribute actionDelete.
-
#actionDisplay_firmware ⇒ Object
readonly
Returns the value of attribute actionDisplay_firmware.
-
#actionEdit ⇒ Object
readonly
Returns the value of attribute actionEdit.
-
#actionError_log_file ⇒ Object
readonly
Returns the value of attribute actionError_log_file.
-
#actionExport ⇒ Object
readonly
Returns the value of attribute actionExport.
-
#actionHardsploit_website ⇒ Object
readonly
Returns the value of attribute actionHardsploit_website.
-
#actionI2C ⇒ Object
readonly
Returns the value of attribute actionI2C.
-
#actionImport_2 ⇒ Object
readonly
Returns the value of attribute actionImport_2.
-
#actionParallel ⇒ Object
readonly
Returns the value of attribute actionParallel.
-
#actionSignal_Mapper ⇒ Object
readonly
Returns the value of attribute actionSignal_Mapper.
-
#actionSPI ⇒ Object
readonly
Returns the value of attribute actionSPI.
-
#actionSWD ⇒ Object
readonly
Returns the value of attribute actionSWD.
-
#actionTemplate ⇒ Object
readonly
Returns the value of attribute actionTemplate.
-
#actionUART ⇒ Object
readonly
Returns the value of attribute actionUART.
-
#actionUC ⇒ Object
readonly
Returns the value of attribute actionUC.
-
#actionVersions ⇒ Object
readonly
Returns the value of attribute actionVersions.
-
#actionWire ⇒ Object
readonly
Returns the value of attribute actionWire.
-
#btn_add ⇒ Object
readonly
Returns the value of attribute btn_add.
-
#cbx_manufacturer ⇒ Object
readonly
Returns the value of attribute cbx_manufacturer.
-
#cbx_type ⇒ Object
readonly
Returns the value of attribute cbx_type.
-
#check_console ⇒ Object
readonly
Returns the value of attribute check_console.
-
#cl_main ⇒ Object
readonly
Returns the value of attribute cl_main.
-
#gridLayout ⇒ Object
readonly
Returns the value of attribute gridLayout.
-
#hl_filters ⇒ Object
readonly
Returns the value of attribute hl_filters.
-
#hl_main ⇒ Object
readonly
Returns the value of attribute hl_main.
-
#hl_options ⇒ Object
readonly
Returns the value of attribute hl_options.
-
#horizontalLayout ⇒ Object
readonly
Returns the value of attribute horizontalLayout.
-
#horizontalSpacer ⇒ Object
readonly
Returns the value of attribute horizontalSpacer.
-
#horizontalSpacer_2 ⇒ Object
readonly
Returns the value of attribute horizontalSpacer_2.
-
#img_search ⇒ Object
readonly
Returns the value of attribute img_search.
-
#lbl_info ⇒ Object
readonly
Returns the value of attribute lbl_info.
-
#lie_search ⇒ Object
readonly
Returns the value of attribute lie_search.
-
#menuAbout ⇒ Object
readonly
Returns the value of attribute menuAbout.
-
#menubar ⇒ Object
readonly
Returns the value of attribute menubar.
-
#menuComponent ⇒ Object
readonly
Returns the value of attribute menuComponent.
-
#menuMenu ⇒ Object
readonly
Returns the value of attribute menuMenu.
-
#menuPath ⇒ Object
readonly
Returns the value of attribute menuPath.
-
#menuUpload_firmware ⇒ Object
readonly
Returns the value of attribute menuUpload_firmware.
-
#pushButton ⇒ Object
readonly
Returns the value of attribute pushButton.
-
#statusbar ⇒ Object
readonly
Returns the value of attribute statusbar.
-
#tbl_chip ⇒ Object
readonly
Returns the value of attribute tbl_chip.
-
#tbl_console ⇒ Object
readonly
Returns the value of attribute tbl_console.
-
#tw_chip ⇒ Object
readonly
Returns the value of attribute tw_chip.
-
#vl_array ⇒ Object
readonly
Returns the value of attribute vl_array.
-
#vl_body ⇒ Object
readonly
Returns the value of attribute vl_body.
Instance Method Summary collapse
-
#retranslate_ui(chip_management) ⇒ Object
retranslateUi.
- #retranslateUi(chip_management) ⇒ Object
-
#setup_ui(chip_management) ⇒ Object
setupUi.
- #setupUi(chip_management) ⇒ Object
Instance Attribute Details
#actionAdd ⇒ Object (readonly)
Returns the value of attribute actionAdd.
19 20 21 |
# File 'lib/gui/gui_chip_management.rb', line 19 def actionAdd @actionAdd end |
#actionDatabase_file ⇒ Object (readonly)
Returns the value of attribute actionDatabase_file.
12 13 14 |
# File 'lib/gui/gui_chip_management.rb', line 12 def actionDatabase_file @actionDatabase_file end |
#actionDelete ⇒ Object (readonly)
Returns the value of attribute actionDelete.
21 22 23 |
# File 'lib/gui/gui_chip_management.rb', line 21 def actionDelete @actionDelete end |
#actionDisplay_firmware ⇒ Object (readonly)
Returns the value of attribute actionDisplay_firmware.
22 23 24 |
# File 'lib/gui/gui_chip_management.rb', line 22 def actionDisplay_firmware @actionDisplay_firmware end |
#actionEdit ⇒ Object (readonly)
Returns the value of attribute actionEdit.
20 21 22 |
# File 'lib/gui/gui_chip_management.rb', line 20 def actionEdit @actionEdit end |
#actionError_log_file ⇒ Object (readonly)
Returns the value of attribute actionError_log_file.
13 14 15 |
# File 'lib/gui/gui_chip_management.rb', line 13 def actionError_log_file @actionError_log_file end |
#actionExport ⇒ Object (readonly)
Returns the value of attribute actionExport.
25 26 27 |
# File 'lib/gui/gui_chip_management.rb', line 25 def actionExport @actionExport end |
#actionHardsploit_website ⇒ Object (readonly)
Returns the value of attribute actionHardsploit_website.
18 19 20 |
# File 'lib/gui/gui_chip_management.rb', line 18 def actionHardsploit_website @actionHardsploit_website end |
#actionI2C ⇒ Object (readonly)
Returns the value of attribute actionI2C.
16 17 18 |
# File 'lib/gui/gui_chip_management.rb', line 16 def actionI2C @actionI2C end |
#actionImport_2 ⇒ Object (readonly)
Returns the value of attribute actionImport_2.
26 27 28 |
# File 'lib/gui/gui_chip_management.rb', line 26 def actionImport_2 @actionImport_2 end |
#actionParallel ⇒ Object (readonly)
Returns the value of attribute actionParallel.
15 16 17 |
# File 'lib/gui/gui_chip_management.rb', line 15 def actionParallel @actionParallel end |
#actionSignal_Mapper ⇒ Object (readonly)
Returns the value of attribute actionSignal_Mapper.
24 25 26 |
# File 'lib/gui/gui_chip_management.rb', line 24 def actionSignal_Mapper @actionSignal_Mapper end |
#actionSPI ⇒ Object (readonly)
Returns the value of attribute actionSPI.
17 18 19 |
# File 'lib/gui/gui_chip_management.rb', line 17 def actionSPI @actionSPI end |
#actionSWD ⇒ Object (readonly)
Returns the value of attribute actionSWD.
28 29 30 |
# File 'lib/gui/gui_chip_management.rb', line 28 def actionSWD @actionSWD end |
#actionTemplate ⇒ Object (readonly)
Returns the value of attribute actionTemplate.
27 28 29 |
# File 'lib/gui/gui_chip_management.rb', line 27 def actionTemplate @actionTemplate end |
#actionUART ⇒ Object (readonly)
Returns the value of attribute actionUART.
29 30 31 |
# File 'lib/gui/gui_chip_management.rb', line 29 def actionUART @actionUART end |
#actionUC ⇒ Object (readonly)
Returns the value of attribute actionUC.
14 15 16 |
# File 'lib/gui/gui_chip_management.rb', line 14 def actionUC @actionUC end |
#actionVersions ⇒ Object (readonly)
Returns the value of attribute actionVersions.
11 12 13 |
# File 'lib/gui/gui_chip_management.rb', line 11 def actionVersions @actionVersions end |
#actionWire ⇒ Object (readonly)
Returns the value of attribute actionWire.
23 24 25 |
# File 'lib/gui/gui_chip_management.rb', line 23 def actionWire @actionWire end |
#btn_add ⇒ Object (readonly)
Returns the value of attribute btn_add.
45 46 47 |
# File 'lib/gui/gui_chip_management.rb', line 45 def btn_add @btn_add end |
#cbx_manufacturer ⇒ Object (readonly)
Returns the value of attribute cbx_manufacturer.
38 39 40 |
# File 'lib/gui/gui_chip_management.rb', line 38 def cbx_manufacturer @cbx_manufacturer end |
#cbx_type ⇒ Object (readonly)
Returns the value of attribute cbx_type.
39 40 41 |
# File 'lib/gui/gui_chip_management.rb', line 39 def cbx_type @cbx_type end |
#check_console ⇒ Object (readonly)
Returns the value of attribute check_console.
48 49 50 |
# File 'lib/gui/gui_chip_management.rb', line 48 def check_console @check_console end |
#cl_main ⇒ Object (readonly)
Returns the value of attribute cl_main.
30 31 32 |
# File 'lib/gui/gui_chip_management.rb', line 30 def cl_main @cl_main end |
#gridLayout ⇒ Object (readonly)
Returns the value of attribute gridLayout.
31 32 33 |
# File 'lib/gui/gui_chip_management.rb', line 31 def gridLayout @gridLayout end |
#hl_filters ⇒ Object (readonly)
Returns the value of attribute hl_filters.
35 36 37 |
# File 'lib/gui/gui_chip_management.rb', line 35 def hl_filters @hl_filters end |
#hl_main ⇒ Object (readonly)
Returns the value of attribute hl_main.
32 33 34 |
# File 'lib/gui/gui_chip_management.rb', line 32 def hl_main @hl_main end |
#hl_options ⇒ Object (readonly)
Returns the value of attribute hl_options.
42 43 44 |
# File 'lib/gui/gui_chip_management.rb', line 42 def end |
#horizontalLayout ⇒ Object (readonly)
Returns the value of attribute horizontalLayout.
47 48 49 |
# File 'lib/gui/gui_chip_management.rb', line 47 def horizontalLayout @horizontalLayout end |
#horizontalSpacer ⇒ Object (readonly)
Returns the value of attribute horizontalSpacer.
44 45 46 |
# File 'lib/gui/gui_chip_management.rb', line 44 def horizontalSpacer @horizontalSpacer end |
#horizontalSpacer_2 ⇒ Object (readonly)
Returns the value of attribute horizontalSpacer_2.
50 51 52 |
# File 'lib/gui/gui_chip_management.rb', line 50 def horizontalSpacer_2 @horizontalSpacer_2 end |
#img_search ⇒ Object (readonly)
Returns the value of attribute img_search.
36 37 38 |
# File 'lib/gui/gui_chip_management.rb', line 36 def img_search @img_search end |
#lbl_info ⇒ Object (readonly)
Returns the value of attribute lbl_info.
43 44 45 |
# File 'lib/gui/gui_chip_management.rb', line 43 def lbl_info @lbl_info end |
#lie_search ⇒ Object (readonly)
Returns the value of attribute lie_search.
37 38 39 |
# File 'lib/gui/gui_chip_management.rb', line 37 def lie_search @lie_search end |
#menuAbout ⇒ Object (readonly)
Returns the value of attribute menuAbout.
55 56 57 |
# File 'lib/gui/gui_chip_management.rb', line 55 def end |
#menubar ⇒ Object (readonly)
Returns the value of attribute menubar.
51 52 53 |
# File 'lib/gui/gui_chip_management.rb', line 51 def end |
#menuComponent ⇒ Object (readonly)
Returns the value of attribute menuComponent.
54 55 56 |
# File 'lib/gui/gui_chip_management.rb', line 54 def end |
#menuMenu ⇒ Object (readonly)
Returns the value of attribute menuMenu.
52 53 54 |
# File 'lib/gui/gui_chip_management.rb', line 52 def end |
#menuPath ⇒ Object (readonly)
Returns the value of attribute menuPath.
56 57 58 |
# File 'lib/gui/gui_chip_management.rb', line 56 def end |
#menuUpload_firmware ⇒ Object (readonly)
Returns the value of attribute menuUpload_firmware.
53 54 55 |
# File 'lib/gui/gui_chip_management.rb', line 53 def end |
#pushButton ⇒ Object (readonly)
Returns the value of attribute pushButton.
49 50 51 |
# File 'lib/gui/gui_chip_management.rb', line 49 def pushButton @pushButton end |
#statusbar ⇒ Object (readonly)
Returns the value of attribute statusbar.
57 58 59 |
# File 'lib/gui/gui_chip_management.rb', line 57 def end |
#tbl_chip ⇒ Object (readonly)
Returns the value of attribute tbl_chip.
41 42 43 |
# File 'lib/gui/gui_chip_management.rb', line 41 def tbl_chip @tbl_chip end |
#tbl_console ⇒ Object (readonly)
Returns the value of attribute tbl_console.
46 47 48 |
# File 'lib/gui/gui_chip_management.rb', line 46 def tbl_console @tbl_console end |
#tw_chip ⇒ Object (readonly)
Returns the value of attribute tw_chip.
33 34 35 |
# File 'lib/gui/gui_chip_management.rb', line 33 def tw_chip @tw_chip end |
#vl_array ⇒ Object (readonly)
Returns the value of attribute vl_array.
40 41 42 |
# File 'lib/gui/gui_chip_management.rb', line 40 def vl_array @vl_array end |
#vl_body ⇒ Object (readonly)
Returns the value of attribute vl_body.
34 35 36 |
# File 'lib/gui/gui_chip_management.rb', line 34 def vl_body @vl_body end |
Instance Method Details
#retranslate_ui(chip_management) ⇒ Object
retranslateUi
367 368 369 |
# File 'lib/gui/gui_chip_management.rb', line 367 def retranslate_ui(chip_management) retranslateUi(chip_management) end |
#retranslateUi(chip_management) ⇒ Object
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 |
# File 'lib/gui/gui_chip_management.rb', line 293 def retranslateUi(chip_management) chip_management.windowTitle = Qt::Application.translate("Chip_management", "Hardsploit - Chip management", nil, Qt::Application::UnicodeUTF8) @actionVersions.text = Qt::Application.translate("Chip_management", "Versions", nil, Qt::Application::UnicodeUTF8) @actionDatabase_file.text = Qt::Application.translate("Chip_management", "Database file", nil, Qt::Application::UnicodeUTF8) @actionError_log_file.text = Qt::Application.translate("Chip_management", "Error log file", nil, Qt::Application::UnicodeUTF8) @actionUC.text = Qt::Application.translate("Chip_management", "Update uC", nil, Qt::Application::UnicodeUTF8) @actionParallel.text = Qt::Application.translate("Chip_management", "Set parallel", nil, Qt::Application::UnicodeUTF8) @actionI2C.text = Qt::Application.translate("Chip_management", "Set I\302\262C", nil, Qt::Application::UnicodeUTF8) @actionSPI.text = Qt::Application.translate("Chip_management", "Set SPI", nil, Qt::Application::UnicodeUTF8) @actionHardsploit_website.text = Qt::Application.translate("Chip_management", "Hardsploit website", nil, Qt::Application::UnicodeUTF8) @actionAdd.text = Qt::Application.translate("Chip_management", "New", nil, Qt::Application::UnicodeUTF8) @actionAdd.shortcut = Qt::Application.translate("Chip_management", "Ctrl+A", nil, Qt::Application::UnicodeUTF8) @actionEdit.text = Qt::Application.translate("Chip_management", "Edit", nil, Qt::Application::UnicodeUTF8) @actionEdit.shortcut = Qt::Application.translate("Chip_management", "Ctrl+E", nil, Qt::Application::UnicodeUTF8) @actionDelete.text = Qt::Application.translate("Chip_management", "Delete", nil, Qt::Application::UnicodeUTF8) @actionDelete.shortcut = Qt::Application.translate("Chip_management", "Ctrl+D", nil, Qt::Application::UnicodeUTF8) @actionDisplay_firmware.text = Qt::Application.translate("Chip_management", "Display current firmware", nil, Qt::Application::UnicodeUTF8) @actionDisplay_firmware.shortcut = Qt::Application.translate("Chip_management", "Ctrl+F", nil, Qt::Application::UnicodeUTF8) @actionWire.text = Qt::Application.translate("Chip_management", "Wire", nil, Qt::Application::UnicodeUTF8) @actionWire.shortcut = Qt::Application.translate("Chip_management", "Ctrl+W", nil, Qt::Application::UnicodeUTF8) @actionSignal_Mapper.text = Qt::Application.translate("Chip_management", "Signal Mapper", nil, Qt::Application::UnicodeUTF8) @actionExport.text = Qt::Application.translate("Chip_management", "Export", nil, Qt::Application::UnicodeUTF8) @actionExport.shortcut = Qt::Application.translate("Chip_management", "Ctrl+C", nil, Qt::Application::UnicodeUTF8) @actionImport_2.text = Qt::Application.translate("Chip_management", "Import", nil, Qt::Application::UnicodeUTF8) @actionImport_2.shortcut = Qt::Application.translate("Chip_management", "Ctrl+V", nil, Qt::Application::UnicodeUTF8) @actionTemplate.text = Qt::Application.translate("Chip_management", "Template", nil, Qt::Application::UnicodeUTF8) @actionTemplate.shortcut = Qt::Application.translate("Chip_management", "Ctrl+T", nil, Qt::Application::UnicodeUTF8) @actionSWD.text = Qt::Application.translate("Chip_management", "Set SWD", nil, Qt::Application::UnicodeUTF8) @actionUART.text = Qt::Application.translate("Chip_management", "Set UART", nil, Qt::Application::UnicodeUTF8) @tw_chip.headerItem.setText(0, Qt::Application.translate("Chip_management", "Current chip", nil, Qt::Application::UnicodeUTF8)) @img_search.text = Qt::Application.translate("Chip_management", "Search", nil, Qt::Application::UnicodeUTF8) @cbx_manufacturer.insertItems(0, [Qt::Application.translate("Chip_management", "Manufacturer...", nil, Qt::Application::UnicodeUTF8)]) @cbx_type.insertItems(0, [Qt::Application.translate("Chip_management", "Type...", nil, Qt::Application::UnicodeUTF8)]) if @tbl_chip.columnCount < 4 @tbl_chip.columnCount = 4 end __colItem = Qt::TableWidgetItem.new __colItem.setText(Qt::Application.translate("Chip_management", "Reference", nil, Qt::Application::UnicodeUTF8)) @tbl_chip.setHorizontalHeaderItem(0, __colItem) __colItem1 = Qt::TableWidgetItem.new __colItem1.setText(Qt::Application.translate("Chip_management", "Type", nil, Qt::Application::UnicodeUTF8)) @tbl_chip.setHorizontalHeaderItem(1, __colItem1) __colItem2 = Qt::TableWidgetItem.new __colItem2.setText(Qt::Application.translate("Chip_management", "Manufacturer", nil, Qt::Application::UnicodeUTF8)) @tbl_chip.setHorizontalHeaderItem(2, __colItem2) __colItem3 = Qt::TableWidgetItem.new __colItem3.setText(Qt::Application.translate("Chip_management", "BUS", nil, Qt::Application::UnicodeUTF8)) @tbl_chip.setHorizontalHeaderItem(3, __colItem3) @lbl_info.text = Qt::Application.translate("Chip_management", "Double click a chip reference to load it", nil, Qt::Application::UnicodeUTF8) @btn_add.text = Qt::Application.translate("Chip_management", "Create component", nil, Qt::Application::UnicodeUTF8) if @tbl_console.columnCount < 2 @tbl_console.columnCount = 2 end __colItem4 = Qt::TableWidgetItem.new __colItem4.setText(Qt::Application.translate("Chip_management", "Date / Time", nil, Qt::Application::UnicodeUTF8)) @tbl_console.setHorizontalHeaderItem(0, __colItem4) __colItem5 = Qt::TableWidgetItem.new __colItem5.setText(Qt::Application.translate("Chip_management", "Message", nil, Qt::Application::UnicodeUTF8)) @tbl_console.setHorizontalHeaderItem(1, __colItem5) @check_console.text = Qt::Application.translate("Chip_management", "Console:", nil, Qt::Application::UnicodeUTF8) @pushButton.text = Qt::Application.translate("Chip_management", "Clear", nil, Qt::Application::UnicodeUTF8) .title = Qt::Application.translate("Chip_management", "Menu", nil, Qt::Application::UnicodeUTF8) .title = Qt::Application.translate("Chip_management", "Firmware...", nil, Qt::Application::UnicodeUTF8) .title = Qt::Application.translate("Chip_management", "Component...", nil, Qt::Application::UnicodeUTF8) .title = Qt::Application.translate("Chip_management", "About", nil, Qt::Application::UnicodeUTF8) .title = Qt::Application.translate("Chip_management", "Path...", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(chip_management) ⇒ Object
setupUi
289 290 291 |
# File 'lib/gui/gui_chip_management.rb', line 289 def setup_ui(chip_management) setupUi(chip_management) end |
#setupUi(chip_management) ⇒ Object
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 |
# File 'lib/gui/gui_chip_management.rb', line 59 def setupUi(chip_management) if chip_management.objectName.nil? chip_management.objectName = "chip_management" end chip_management.resize(710, 589) chip_management.minimumSize = Qt::Size.new(710, 450) icon = Qt::Icon.new icon.addPixmap(Qt::Pixmap.new("../../../../.designer/images/logoOpale_ico.ico"), Qt::Icon::Normal, Qt::Icon::Off) chip_management.windowIcon = icon @actionVersions = Qt::Action.new(chip_management) @actionVersions.objectName = "actionVersions" @actionDatabase_file = Qt::Action.new(chip_management) @actionDatabase_file.objectName = "actionDatabase_file" @actionError_log_file = Qt::Action.new(chip_management) @actionError_log_file.objectName = "actionError_log_file" @actionUC = Qt::Action.new(chip_management) @actionUC.objectName = "actionUC" @actionParallel = Qt::Action.new(chip_management) @actionParallel.objectName = "actionParallel" @actionI2C = Qt::Action.new(chip_management) @actionI2C.objectName = "actionI2C" @actionSPI = Qt::Action.new(chip_management) @actionSPI.objectName = "actionSPI" @actionHardsploit_website = Qt::Action.new(chip_management) @actionHardsploit_website.objectName = "actionHardsploit_website" @actionAdd = Qt::Action.new(chip_management) @actionAdd.objectName = "actionAdd" @actionEdit = Qt::Action.new(chip_management) @actionEdit.objectName = "actionEdit" @actionDelete = Qt::Action.new(chip_management) @actionDelete.objectName = "actionDelete" @actionDisplay_firmware = Qt::Action.new(chip_management) @actionDisplay_firmware.objectName = "actionDisplay_firmware" @actionWire = Qt::Action.new(chip_management) @actionWire.objectName = "actionWire" @actionSignal_Mapper = Qt::Action.new(chip_management) @actionSignal_Mapper.objectName = "actionSignal_Mapper" @actionExport = Qt::Action.new(chip_management) @actionExport.objectName = "actionExport" @actionImport_2 = Qt::Action.new(chip_management) @actionImport_2.objectName = "actionImport_2" @actionTemplate = Qt::Action.new(chip_management) @actionTemplate.objectName = "actionTemplate" @actionSWD = Qt::Action.new(chip_management) @actionSWD.objectName = "actionSWD" @actionUART = Qt::Action.new(chip_management) @actionUART.objectName = "actionUART" @cl_main = Qt::Widget.new(chip_management) @cl_main.objectName = "cl_main" @gridLayout = Qt::GridLayout.new(@cl_main) @gridLayout.objectName = "gridLayout" @hl_main = Qt::HBoxLayout.new() @hl_main.objectName = "hl_main" @tw_chip = Qt::TreeWidget.new(@cl_main) @tw_chip.objectName = "tw_chip" @tw_chip.minimumSize = Qt::Size.new(200, 0) @tw_chip.maximumSize = Qt::Size.new(150, 16777215) @hl_main.addWidget(@tw_chip) @vl_body = Qt::VBoxLayout.new() @vl_body.objectName = "vl_body" @hl_filters = Qt::HBoxLayout.new() @hl_filters.objectName = "hl_filters" @img_search = Qt::Label.new(@cl_main) @img_search.objectName = "img_search" @hl_filters.addWidget(@img_search) @lie_search = Qt::LineEdit.new(@cl_main) @lie_search.objectName = "lie_search" @hl_filters.addWidget(@lie_search) @cbx_manufacturer = Qt::ComboBox.new(@cl_main) @cbx_manufacturer.objectName = "cbx_manufacturer" @cbx_manufacturer.minimumSize = Qt::Size.new(200, 0) @cbx_manufacturer.maximumSize = Qt::Size.new(16777215, 16777215) @hl_filters.addWidget(@cbx_manufacturer) @cbx_type = Qt::ComboBox.new(@cl_main) @cbx_type.objectName = "cbx_type" @cbx_type.minimumSize = Qt::Size.new(100, 0) @cbx_type.maximumSize = Qt::Size.new(100, 16777215) @hl_filters.addWidget(@cbx_type) @vl_body.addLayout(@hl_filters) @vl_array = Qt::VBoxLayout.new() @vl_array.objectName = "vl_array" @tbl_chip = Qt::TableWidget.new(@cl_main) @tbl_chip.objectName = "tbl_chip" @vl_array.addWidget(@tbl_chip) @vl_body.addLayout(@vl_array) = Qt::HBoxLayout.new() .objectName = "hl_options" @lbl_info = Qt::Label.new(@cl_main) @lbl_info.objectName = "lbl_info" .addWidget(@lbl_info) @horizontalSpacer = Qt::SpacerItem.new(40, 20, Qt::SizePolicy::Expanding, Qt::SizePolicy::Minimum) .addItem(@horizontalSpacer) @btn_add = Qt::PushButton.new(@cl_main) @btn_add.objectName = "btn_add" .addWidget(@btn_add) @vl_body.addLayout() @hl_main.addLayout(@vl_body) @gridLayout.addLayout(@hl_main, 2, 0, 1, 1) @tbl_console = Qt::TableWidget.new(@cl_main) @tbl_console.objectName = "tbl_console" @tbl_console.minimumSize = Qt::Size.new(0, 100) @tbl_console.maximumSize = Qt::Size.new(16777215, 100) @gridLayout.addWidget(@tbl_console, 6, 0, 1, 1) @horizontalLayout = Qt::HBoxLayout.new() @horizontalLayout.objectName = "horizontalLayout" @check_console = Qt::CheckBox.new(@cl_main) @check_console.objectName = "check_console" @check_console.checked = true @horizontalLayout.addWidget(@check_console) @pushButton = Qt::PushButton.new(@cl_main) @pushButton.objectName = "pushButton" @horizontalLayout.addWidget(@pushButton) @horizontalSpacer_2 = Qt::SpacerItem.new(40, 20, Qt::SizePolicy::Expanding, Qt::SizePolicy::Minimum) @horizontalLayout.addItem(@horizontalSpacer_2) @gridLayout.addLayout(@horizontalLayout, 4, 0, 1, 1) chip_management.centralWidget = @cl_main = Qt::MenuBar.new(chip_management) .objectName = "menubar" .geometry = Qt::Rect.new(0, 0, 710, 21) = Qt::Menu.new() .objectName = "menuMenu" = Qt::Menu.new() .objectName = "menuUpload_firmware" = Qt::Menu.new() .objectName = "menuComponent" = Qt::Menu.new() .objectName = "menuAbout" = Qt::Menu.new() .objectName = "menuPath" chip_management.setMenuBar() = Qt::StatusBar.new(chip_management) .objectName = "statusbar" chip_management.statusBar = .addAction(.()) .addAction(.()) .addAction(.()) .addAction(.()) .addAction(@actionSignal_Mapper) .addAction(@actionDisplay_firmware) .addAction(@actionParallel) .addAction(@actionI2C) .addAction(@actionSPI) .addAction(@actionSWD) .addAction(@actionUART) .addSeparator() .addAction(@actionUC) .addAction(@actionAdd) .addAction(@actionEdit) .addAction(@actionWire) .addAction(@actionDelete) .addAction(@actionTemplate) .addAction(@actionImport_2) .addAction(@actionExport) .addAction(@actionHardsploit_website) .addAction(@actionVersions) .addAction(.()) .addAction(@actionDatabase_file) .addAction(@actionError_log_file) retranslateUi(chip_management) Qt::Object.connect(@tbl_chip, SIGNAL('cellDoubleClicked(int,int)'), chip_management, SLOT('load_tree(int,int)')) Qt::Object.connect(@lie_search, SIGNAL('textEdited(QString)'), chip_management, SLOT('feed_chip_array()')) Qt::Object.connect(@cbx_manufacturer, SIGNAL('currentIndexChanged(int)'), chip_management, SLOT('feed_chip_array()')) Qt::Object.connect(@cbx_type, SIGNAL('currentIndexChanged(int)'), chip_management, SLOT('feed_chip_array()')) Qt::Object.connect(@actionError_log_file, SIGNAL('triggered()'), chip_management, SLOT('get_log_path()')) Qt::Object.connect(@actionHardsploit_website, SIGNAL('triggered()'), chip_management, SLOT('get_hardsploit_website()')) Qt::Object.connect(@actionI2C, SIGNAL('triggered()'), chip_management, SLOT('set_firmware()')) Qt::Object.connect(@actionParallel, SIGNAL('triggered()'), chip_management, SLOT('set_firmware()')) Qt::Object.connect(@actionSPI, SIGNAL('triggered()'), chip_management, SLOT('set_firmware()')) Qt::Object.connect(@actionUC, SIGNAL('triggered()'), chip_management, SLOT('update_uc_firmware()')) Qt::Object.connect(@actionVersions, SIGNAL('triggered()'), chip_management, SLOT('get_hardsploit_versions()')) Qt::Object.connect(@actionDatabase_file, SIGNAL('triggered()'), chip_management, SLOT('get_db_path()')) Qt::Object.connect(@check_console, SIGNAL('toggled(bool)'), chip_management, SLOT('console_view()')) Qt::Object.connect(@btn_add, SIGNAL('clicked()'), chip_management, SLOT('add_chip()')) Qt::Object.connect(@tw_chip, SIGNAL('itemDoubleClicked(QTreeWidgetItem*,int)'), chip_management, SLOT('load_chip_action(QTreeWidgetItem*,int)')) Qt::Object.connect(@actionDisplay_firmware, SIGNAL('triggered()'), chip_management, SLOT('display_current_firmware()')) Qt::Object.connect(@actionAdd, SIGNAL('triggered()'), chip_management, SLOT('add_chip()')) Qt::Object.connect(@actionDelete, SIGNAL('triggered()'), chip_management, SLOT('delete_chip()')) Qt::Object.connect(@actionEdit, SIGNAL('triggered()'), chip_management, SLOT('edit_chip()')) Qt::Object.connect(@actionWire, SIGNAL('triggered()'), chip_management, SLOT('wire_chip()')) Qt::Object.connect(@pushButton, SIGNAL('clicked()'), @tbl_console, SLOT('clearContents()')) Qt::Object.connect(@actionSignal_Mapper, SIGNAL('triggered()'), chip_management, SLOT('open_signal_mapper()')) Qt::Object.connect(@actionExport, SIGNAL('triggered()'), chip_management, SLOT('export()')) Qt::Object.connect(@actionImport_2, SIGNAL('triggered()'), chip_management, SLOT('import()')) Qt::Object.connect(@actionTemplate, SIGNAL('triggered()'), chip_management, SLOT('add_chip()')) Qt::Object.connect(@actionSWD, SIGNAL('triggered()'), chip_management, SLOT('set_firmware()')) Qt::Object.connect(@actionUART, SIGNAL('triggered()'), chip_management, SLOT('set_firmware()')) Qt::MetaObject.connectSlotsByName(chip_management) end |