Class: Ui_Generic_export
- Inherits:
-
Object
- Object
- Ui_Generic_export
- Defined in:
- lib/gui/gui_generic_export.rb
Overview
** Form generated from reading ui file ‘gui_generic_export.ui’ ** ** Created: mar. juil. 12 16:04:54 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
-
#btn_export ⇒ Object
readonly
Returns the value of attribute btn_export.
-
#btn_file ⇒ Object
readonly
Returns the value of attribute btn_file.
-
#btn_full_export ⇒ Object
readonly
Returns the value of attribute btn_full_export.
-
#fl ⇒ Object
readonly
Returns the value of attribute fl.
-
#gridLayout ⇒ Object
readonly
Returns the value of attribute gridLayout.
-
#hl ⇒ Object
readonly
Returns the value of attribute hl.
-
#hl2 ⇒ Object
readonly
Returns the value of attribute hl2.
-
#hs ⇒ Object
readonly
Returns the value of attribute hs.
-
#lbl_chip ⇒ Object
readonly
Returns the value of attribute lbl_chip.
-
#lbl_export ⇒ Object
readonly
Returns the value of attribute lbl_export.
-
#lbl_file ⇒ Object
readonly
Returns the value of attribute lbl_file.
-
#lbl_selected ⇒ Object
readonly
Returns the value of attribute lbl_selected.
-
#lbl_selected_file ⇒ Object
readonly
Returns the value of attribute lbl_selected_file.
-
#lbl_start ⇒ Object
readonly
Returns the value of attribute lbl_start.
-
#lbl_stop ⇒ Object
readonly
Returns the value of attribute lbl_stop.
-
#lie_start ⇒ Object
readonly
Returns the value of attribute lie_start.
-
#lie_stop ⇒ Object
readonly
Returns the value of attribute lie_stop.
-
#vl ⇒ Object
readonly
Returns the value of attribute vl.
Instance Method Summary collapse
-
#retranslate_ui(generic_export) ⇒ Object
retranslateUi.
- #retranslateUi(generic_export) ⇒ Object
-
#setup_ui(generic_export) ⇒ Object
setupUi.
- #setupUi(generic_export) ⇒ Object
Instance Attribute Details
#btn_export ⇒ Object (readonly)
Returns the value of attribute btn_export.
27 28 29 |
# File 'lib/gui/gui_generic_export.rb', line 27 def btn_export @btn_export end |
#btn_file ⇒ Object (readonly)
Returns the value of attribute btn_file.
23 24 25 |
# File 'lib/gui/gui_generic_export.rb', line 23 def btn_file @btn_file end |
#btn_full_export ⇒ Object (readonly)
Returns the value of attribute btn_full_export.
28 29 30 |
# File 'lib/gui/gui_generic_export.rb', line 28 def btn_full_export @btn_full_export end |
#fl ⇒ Object (readonly)
Returns the value of attribute fl.
17 18 19 |
# File 'lib/gui/gui_generic_export.rb', line 17 def fl @fl end |
#gridLayout ⇒ Object (readonly)
Returns the value of attribute gridLayout.
11 12 13 |
# File 'lib/gui/gui_generic_export.rb', line 11 def gridLayout @gridLayout end |
#hl ⇒ Object (readonly)
Returns the value of attribute hl.
26 27 28 |
# File 'lib/gui/gui_generic_export.rb', line 26 def hl @hl end |
#hl2 ⇒ Object (readonly)
Returns the value of attribute hl2.
13 14 15 |
# File 'lib/gui/gui_generic_export.rb', line 13 def hl2 @hl2 end |
#hs ⇒ Object (readonly)
Returns the value of attribute hs.
16 17 18 |
# File 'lib/gui/gui_generic_export.rb', line 16 def hs @hs end |
#lbl_chip ⇒ Object (readonly)
Returns the value of attribute lbl_chip.
14 15 16 |
# File 'lib/gui/gui_generic_export.rb', line 14 def lbl_chip @lbl_chip end |
#lbl_export ⇒ Object (readonly)
Returns the value of attribute lbl_export.
15 16 17 |
# File 'lib/gui/gui_generic_export.rb', line 15 def lbl_export @lbl_export end |
#lbl_file ⇒ Object (readonly)
Returns the value of attribute lbl_file.
22 23 24 |
# File 'lib/gui/gui_generic_export.rb', line 22 def lbl_file @lbl_file end |
#lbl_selected ⇒ Object (readonly)
Returns the value of attribute lbl_selected.
24 25 26 |
# File 'lib/gui/gui_generic_export.rb', line 24 def lbl_selected @lbl_selected end |
#lbl_selected_file ⇒ Object (readonly)
Returns the value of attribute lbl_selected_file.
25 26 27 |
# File 'lib/gui/gui_generic_export.rb', line 25 def lbl_selected_file @lbl_selected_file end |
#lbl_start ⇒ Object (readonly)
Returns the value of attribute lbl_start.
18 19 20 |
# File 'lib/gui/gui_generic_export.rb', line 18 def lbl_start @lbl_start end |
#lbl_stop ⇒ Object (readonly)
Returns the value of attribute lbl_stop.
20 21 22 |
# File 'lib/gui/gui_generic_export.rb', line 20 def lbl_stop @lbl_stop end |
#lie_start ⇒ Object (readonly)
Returns the value of attribute lie_start.
19 20 21 |
# File 'lib/gui/gui_generic_export.rb', line 19 def lie_start @lie_start end |
#lie_stop ⇒ Object (readonly)
Returns the value of attribute lie_stop.
21 22 23 |
# File 'lib/gui/gui_generic_export.rb', line 21 def lie_stop @lie_stop end |
#vl ⇒ Object (readonly)
Returns the value of attribute vl.
12 13 14 |
# File 'lib/gui/gui_generic_export.rb', line 12 def vl @vl end |
Instance Method Details
#retranslate_ui(generic_export) ⇒ Object
retranslateUi
154 155 156 |
# File 'lib/gui/gui_generic_export.rb', line 154 def retranslate_ui(generic_export) retranslateUi(generic_export) end |
#retranslateUi(generic_export) ⇒ Object
140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/gui/gui_generic_export.rb', line 140 def retranslateUi(generic_export) generic_export.windowTitle = Qt::Application.translate("Generic_export", "Hardsploit - Export (Dump)", nil, Qt::Application::UnicodeUTF8) @lbl_chip.text = Qt::Application.translate("Generic_export", "[CHIP]", nil, Qt::Application::UnicodeUTF8) @lbl_export.text = Qt::Application.translate("Generic_export", "Export (Dump)", nil, Qt::Application::UnicodeUTF8) @lbl_start.text = Qt::Application.translate("Generic_export", "Start address:", nil, Qt::Application::UnicodeUTF8) @lbl_stop.text = Qt::Application.translate("Generic_export", "Stop address:", nil, Qt::Application::UnicodeUTF8) @lbl_file.text = Qt::Application.translate("Generic_export", "File:", nil, Qt::Application::UnicodeUTF8) @btn_file.text = Qt::Application.translate("Generic_export", "File...", nil, Qt::Application::UnicodeUTF8) @lbl_selected.text = Qt::Application.translate("Generic_export", "Selected file:", nil, Qt::Application::UnicodeUTF8) @lbl_selected_file.text = Qt::Application.translate("Generic_export", "None", nil, Qt::Application::UnicodeUTF8) @btn_export.text = Qt::Application.translate("Generic_export", "Export", nil, Qt::Application::UnicodeUTF8) @btn_full_export.text = Qt::Application.translate("Generic_export", "Full export", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(generic_export) ⇒ Object
setupUi
136 137 138 |
# File 'lib/gui/gui_generic_export.rb', line 136 def setup_ui(generic_export) setupUi(generic_export) end |
#setupUi(generic_export) ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 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 |
# File 'lib/gui/gui_generic_export.rb', line 30 def setupUi(generic_export) if generic_export.objectName.nil? generic_export.objectName = "generic_export" end generic_export.windowModality = Qt::ApplicationModal generic_export.resize(254, 203) @gridLayout = Qt::GridLayout.new(generic_export) @gridLayout.objectName = "gridLayout" @vl = Qt::VBoxLayout.new() @vl.objectName = "vl" @hl2 = Qt::HBoxLayout.new() @hl2.objectName = "hl2" @lbl_chip = Qt::Label.new(generic_export) @lbl_chip.objectName = "lbl_chip" @hl2.addWidget(@lbl_chip) @lbl_export = Qt::Label.new(generic_export) @lbl_export.objectName = "lbl_export" @hl2.addWidget(@lbl_export) @hs = Qt::SpacerItem.new(40, 20, Qt::SizePolicy::Expanding, Qt::SizePolicy::Minimum) @hl2.addItem(@hs) @vl.addLayout(@hl2) @fl = Qt::FormLayout.new() @fl.objectName = "fl" @lbl_start = Qt::Label.new(generic_export) @lbl_start.objectName = "lbl_start" @fl.setWidget(2, Qt::FormLayout::LabelRole, @lbl_start) @lie_start = Qt::LineEdit.new(generic_export) @lie_start.objectName = "lie_start" @lie_start.maxLength = 20 @fl.setWidget(2, Qt::FormLayout::FieldRole, @lie_start) @lbl_stop = Qt::Label.new(generic_export) @lbl_stop.objectName = "lbl_stop" @fl.setWidget(3, Qt::FormLayout::LabelRole, @lbl_stop) @lie_stop = Qt::LineEdit.new(generic_export) @lie_stop.objectName = "lie_stop" @lie_stop.maxLength = 20 @fl.setWidget(3, Qt::FormLayout::FieldRole, @lie_stop) @lbl_file = Qt::Label.new(generic_export) @lbl_file.objectName = "lbl_file" @fl.setWidget(4, Qt::FormLayout::LabelRole, @lbl_file) @btn_file = Qt::PushButton.new(generic_export) @btn_file.objectName = "btn_file" @fl.setWidget(4, Qt::FormLayout::FieldRole, @btn_file) @lbl_selected = Qt::Label.new(generic_export) @lbl_selected.objectName = "lbl_selected" @fl.setWidget(5, Qt::FormLayout::LabelRole, @lbl_selected) @lbl_selected_file = Qt::Label.new(generic_export) @lbl_selected_file.objectName = "lbl_selected_file" @lbl_selected_file.maximumSize = Qt::Size.new(250, 16777215) @fl.setWidget(5, Qt::FormLayout::FieldRole, @lbl_selected_file) @vl.addLayout(@fl) @hl = Qt::HBoxLayout.new() @hl.objectName = "hl" @btn_export = Qt::PushButton.new(generic_export) @btn_export.objectName = "btn_export" @btn_export.enabled = false @hl.addWidget(@btn_export) @btn_full_export = Qt::PushButton.new(generic_export) @btn_full_export.objectName = "btn_full_export" @btn_full_export.enabled = false @hl.addWidget(@btn_full_export) @vl.addLayout(@hl) @gridLayout.addLayout(@vl, 0, 0, 1, 1) retranslateUi(generic_export) Qt::Object.connect(@btn_export, SIGNAL('clicked()'), generic_export, SLOT('export()')) Qt::Object.connect(@btn_full_export, SIGNAL('clicked()'), generic_export, SLOT('export()')) Qt::Object.connect(@btn_file, SIGNAL('clicked()'), generic_export, SLOT('select_export_file()')) Qt::MetaObject.connectSlotsByName(generic_export) end |