Class: Ui_Export_manager
- Inherits:
-
Object
- Object
- Ui_Export_manager
- Defined in:
- lib/gui/gui_export_manager.rb
Overview
** Form generated from reading ui file ‘gui_export_manager.ui’ ** ** Created: jeu. déc. 17 11:12:21 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
Instance Attribute Summary collapse
-
#btn_save ⇒ Object
readonly
Returns the value of attribute btn_save.
-
#cbx_export ⇒ Object
readonly
Returns the value of attribute cbx_export.
-
#gridLayout ⇒ Object
readonly
Returns the value of attribute gridLayout.
-
#horizontalLayout ⇒ Object
readonly
Returns the value of attribute horizontalLayout.
-
#horizontalSpacer ⇒ Object
readonly
Returns the value of attribute horizontalSpacer.
-
#lbl_result ⇒ Object
readonly
Returns the value of attribute lbl_result.
-
#tbl_result ⇒ Object
readonly
Returns the value of attribute tbl_result.
-
#verticalLayout ⇒ Object
readonly
Returns the value of attribute verticalLayout.
Instance Method Summary collapse
-
#retranslate_ui(export_manager) ⇒ Object
retranslateUi.
- #retranslateUi(export_manager) ⇒ Object
-
#setup_ui(export_manager) ⇒ Object
setupUi.
- #setupUi(export_manager) ⇒ Object
Instance Attribute Details
#btn_save ⇒ Object (readonly)
Returns the value of attribute btn_save.
18 19 20 |
# File 'lib/gui/gui_export_manager.rb', line 18 def btn_save @btn_save end |
#cbx_export ⇒ Object (readonly)
Returns the value of attribute cbx_export.
17 18 19 |
# File 'lib/gui/gui_export_manager.rb', line 17 def cbx_export @cbx_export end |
#gridLayout ⇒ Object (readonly)
Returns the value of attribute gridLayout.
11 12 13 |
# File 'lib/gui/gui_export_manager.rb', line 11 def gridLayout @gridLayout end |
#horizontalLayout ⇒ Object (readonly)
Returns the value of attribute horizontalLayout.
15 16 17 |
# File 'lib/gui/gui_export_manager.rb', line 15 def horizontalLayout @horizontalLayout end |
#horizontalSpacer ⇒ Object (readonly)
Returns the value of attribute horizontalSpacer.
16 17 18 |
# File 'lib/gui/gui_export_manager.rb', line 16 def horizontalSpacer @horizontalSpacer end |
#lbl_result ⇒ Object (readonly)
Returns the value of attribute lbl_result.
13 14 15 |
# File 'lib/gui/gui_export_manager.rb', line 13 def lbl_result @lbl_result end |
#tbl_result ⇒ Object (readonly)
Returns the value of attribute tbl_result.
14 15 16 |
# File 'lib/gui/gui_export_manager.rb', line 14 def tbl_result @tbl_result end |
#verticalLayout ⇒ Object (readonly)
Returns the value of attribute verticalLayout.
12 13 14 |
# File 'lib/gui/gui_export_manager.rb', line 12 def verticalLayout @verticalLayout end |
Instance Method Details
#retranslate_ui(export_manager) ⇒ Object
retranslateUi
83 84 85 |
# File 'lib/gui/gui_export_manager.rb', line 83 def retranslate_ui(export_manager) retranslateUi(export_manager) end |
#retranslateUi(export_manager) ⇒ Object
75 76 77 78 79 80 81 |
# File 'lib/gui/gui_export_manager.rb', line 75 def retranslateUi(export_manager) export_manager.windowTitle = Qt::Application.translate("Export_manager", "Hardsploit - Export", nil, Qt::Application::UnicodeUTF8) @lbl_result.text = Qt::Application.translate("Export_manager", "Command result:", nil, Qt::Application::UnicodeUTF8) @cbx_export.insertItems(0, [Qt::Application.translate("Export_manager", "Debug (CSV file)", nil, Qt::Application::UnicodeUTF8), Qt::Application.translate("Export_manager", "Data only (Read)", nil, Qt::Application::UnicodeUTF8)]) @btn_save.text = Qt::Application.translate("Export_manager", "Save...", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(export_manager) ⇒ Object
setupUi
71 72 73 |
# File 'lib/gui/gui_export_manager.rb', line 71 def setup_ui(export_manager) setupUi(export_manager) end |
#setupUi(export_manager) ⇒ Object
20 21 22 23 24 25 26 27 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 |
# File 'lib/gui/gui_export_manager.rb', line 20 def setupUi(export_manager) if export_manager.objectName.nil? export_manager.objectName = "export_manager" end export_manager.windowModality = Qt::ApplicationModal export_manager.resize(276, 601) @gridLayout = Qt::GridLayout.new(export_manager) @gridLayout.objectName = "gridLayout" @verticalLayout = Qt::VBoxLayout.new() @verticalLayout.objectName = "verticalLayout" @lbl_result = Qt::Label.new(export_manager) @lbl_result.objectName = "lbl_result" @lbl_result.minimumSize = Qt::Size.new(241, 16) @lbl_result.maximumSize = Qt::Size.new(240, 16) @verticalLayout.addWidget(@lbl_result) @tbl_result = Qt::TableWidget.new(export_manager) @tbl_result.objectName = "tbl_result" @verticalLayout.addWidget(@tbl_result) @horizontalLayout = Qt::HBoxLayout.new() @horizontalLayout.objectName = "horizontalLayout" @horizontalSpacer = Qt::SpacerItem.new(40, 20, Qt::SizePolicy::Expanding, Qt::SizePolicy::Minimum) @horizontalLayout.addItem(@horizontalSpacer) @cbx_export = Qt::ComboBox.new(export_manager) @cbx_export.objectName = "cbx_export" @horizontalLayout.addWidget(@cbx_export) @btn_save = Qt::PushButton.new(export_manager) @btn_save.objectName = "btn_save" @horizontalLayout.addWidget(@btn_save) @verticalLayout.addLayout(@horizontalLayout) @gridLayout.addLayout(@verticalLayout, 0, 0, 1, 1) retranslateUi(export_manager) Qt::Object.connect(@btn_save, SIGNAL('clicked()'), export_manager, SLOT('save_result()')) Qt::MetaObject.connectSlotsByName(export_manager) end |