Class: Ui_Generic_export

Inherits:
Object
  • Object
show all
Defined in:
lib/gui/gui_generic_export.rb

Overview

** Form generated from reading ui file ‘gui_generic_export.ui’ ** ** Created: mar. déc. 8 10:22:41 2015 ** 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

Ui::Generic_export

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#btn_exportObject (readonly)

Returns the value of attribute btn_export.



25
26
27
# File 'lib/gui/gui_generic_export.rb', line 25

def btn_export
  @btn_export
end

#btn_fileObject (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_exportObject (readonly)

Returns the value of attribute btn_full_export.



26
27
28
# File 'lib/gui/gui_generic_export.rb', line 26

def btn_full_export
  @btn_full_export
end

#flObject (readonly)

Returns the value of attribute fl.



17
18
19
# File 'lib/gui/gui_generic_export.rb', line 17

def fl
  @fl
end

#gridLayoutObject (readonly)

Returns the value of attribute gridLayout.



11
12
13
# File 'lib/gui/gui_generic_export.rb', line 11

def gridLayout
  @gridLayout
end

#hlObject (readonly)

Returns the value of attribute hl.



24
25
26
# File 'lib/gui/gui_generic_export.rb', line 24

def hl
  @hl
end

#hl2Object (readonly)

Returns the value of attribute hl2.



13
14
15
# File 'lib/gui/gui_generic_export.rb', line 13

def hl2
  @hl2
end

#hsObject (readonly)

Returns the value of attribute hs.



16
17
18
# File 'lib/gui/gui_generic_export.rb', line 16

def hs
  @hs
end

#lbl_chipObject (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_exportObject (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_fileObject (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_startObject (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_stopObject (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_startObject (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_stopObject (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

#vlObject (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



138
139
140
# File 'lib/gui/gui_generic_export.rb', line 138

def retranslate_ui(generic_export)
    retranslateUi(generic_export)
end

#retranslateUi(generic_export) ⇒ Object



126
127
128
129
130
131
132
133
134
135
136
# File 'lib/gui/gui_generic_export.rb', line 126

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)
@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



122
123
124
# File 'lib/gui/gui_generic_export.rb', line 122

def setup_ui(generic_export)
    setupUi(generic_export)
end

#setupUi(generic_export) ⇒ Object



28
29
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
# File 'lib/gui/gui_generic_export.rb', line 28

def setupUi(generic_export)
if generic_export.objectName.nil?
    generic_export.objectName = "generic_export"
end
generic_export.resize(254, 168)
@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)


@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