Class: Ui_SimpleSend
- Inherits:
-
Object
- Object
- Ui_SimpleSend
- Defined in:
- lib/mastercoin-wallet/gui/ui_simple_send.rb
Overview
** Form generated from reading ui file ‘simple_send_window.ui’ ** ** Created: Fri Nov 15 08:31:53 2013 ** by: Qt User Interface Compiler version 4.8.4 ** ** WARNING! All changes made in this file will be lost when recompiling ui file!
Direct Known Subclasses
Instance Attribute Summary collapse
-
#address_input ⇒ Object
readonly
Returns the value of attribute address_input.
-
#amount_input ⇒ Object
readonly
Returns the value of attribute amount_input.
-
#currency_box ⇒ Object
readonly
Returns the value of attribute currency_box.
-
#gridLayout ⇒ Object
readonly
Returns the value of attribute gridLayout.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#label_2 ⇒ Object
readonly
Returns the value of attribute label_2.
-
#label_3 ⇒ Object
readonly
Returns the value of attribute label_3.
-
#label_4 ⇒ Object
readonly
Returns the value of attribute label_4.
-
#label_5 ⇒ Object
readonly
Returns the value of attribute label_5.
-
#password_input ⇒ Object
readonly
Returns the value of attribute password_input.
-
#submit_button ⇒ Object
readonly
Returns the value of attribute submit_button.
-
#verticalLayout ⇒ Object
readonly
Returns the value of attribute verticalLayout.
-
#verticalLayoutWidget ⇒ Object
readonly
Returns the value of attribute verticalLayoutWidget.
Instance Method Summary collapse
-
#retranslate_ui(simpleSend) ⇒ Object
retranslateUi.
- #retranslateUi(simpleSend) ⇒ Object
-
#setup_ui(simpleSend) ⇒ Object
setupUi.
- #setupUi(simpleSend) ⇒ Object
Instance Attribute Details
#address_input ⇒ Object (readonly)
Returns the value of attribute address_input.
18 19 20 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 18 def address_input @address_input end |
#amount_input ⇒ Object (readonly)
Returns the value of attribute amount_input.
14 15 16 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 14 def amount_input @amount_input end |
#currency_box ⇒ Object (readonly)
Returns the value of attribute currency_box.
19 20 21 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 19 def currency_box @currency_box end |
#gridLayout ⇒ Object (readonly)
Returns the value of attribute gridLayout.
13 14 15 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 13 def gridLayout @gridLayout end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
22 23 24 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 22 def label @label end |
#label_2 ⇒ Object (readonly)
Returns the value of attribute label_2.
15 16 17 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 15 def label_2 @label_2 end |
#label_3 ⇒ Object (readonly)
Returns the value of attribute label_3.
16 17 18 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 16 def label_3 @label_3 end |
#label_4 ⇒ Object (readonly)
Returns the value of attribute label_4.
17 18 19 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 17 def label_4 @label_4 end |
#label_5 ⇒ Object (readonly)
Returns the value of attribute label_5.
21 22 23 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 21 def label_5 @label_5 end |
#password_input ⇒ Object (readonly)
Returns the value of attribute password_input.
20 21 22 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 20 def password_input @password_input end |
#submit_button ⇒ Object (readonly)
Returns the value of attribute submit_button.
23 24 25 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 23 def @submit_button end |
#verticalLayout ⇒ Object (readonly)
Returns the value of attribute verticalLayout.
12 13 14 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 12 def verticalLayout @verticalLayout end |
#verticalLayoutWidget ⇒ Object (readonly)
Returns the value of attribute verticalLayoutWidget.
11 12 13 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 11 def verticalLayoutWidget @verticalLayoutWidget end |
Instance Method Details
#retranslate_ui(simpleSend) ⇒ Object
retranslateUi
117 118 119 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 117 def retranslate_ui(simpleSend) retranslateUi(simpleSend) end |
#retranslateUi(simpleSend) ⇒ Object
105 106 107 108 109 110 111 112 113 114 115 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 105 def retranslateUi(simpleSend) simpleSend.windowTitle = Qt::Application.translate("SimpleSend", "New Simple Send", nil, Qt::Application::UnicodeUTF8) @amount_input.placeholderText = '' @label_2.text = Qt::Application.translate("SimpleSend", "Mastercoin address", nil, Qt::Application::UnicodeUTF8) @label_3.text = Qt::Application.translate("SimpleSend", "Amount", nil, Qt::Application::UnicodeUTF8) @label_4.text = Qt::Application.translate("SimpleSend", "Currency", nil, Qt::Application::UnicodeUTF8) @address_input.placeholderText = '' @label_5.text = Qt::Application.translate("SimpleSend", "Password", nil, Qt::Application::UnicodeUTF8) @label.text = Qt::Application.translate("SimpleSend", "<h3>New Simple Send</h3>", nil, Qt::Application::UnicodeUTF8) @submit_button.text = Qt::Application.translate("SimpleSend", "Send", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(simpleSend) ⇒ Object
setupUi
101 102 103 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 101 def setup_ui(simpleSend) setupUi(simpleSend) end |
#setupUi(simpleSend) ⇒ Object
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 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 |
# File 'lib/mastercoin-wallet/gui/ui_simple_send.rb', line 25 def setupUi(simpleSend) if simpleSend.objectName.nil? simpleSend.objectName = "simpleSend" end simpleSend.resize(534, 238) @verticalLayoutWidget = Qt::Widget.new(simpleSend) @verticalLayoutWidget.objectName = "verticalLayoutWidget" @verticalLayoutWidget.geometry = Qt::Rect.new(9, 39, 518, 121) @verticalLayout = Qt::VBoxLayout.new(@verticalLayoutWidget) @verticalLayout.objectName = "verticalLayout" @verticalLayout.setContentsMargins(0, 0, 0, 0) @gridLayout = Qt::GridLayout.new() @gridLayout.objectName = "gridLayout" @amount_input = Qt::LineEdit.new(@verticalLayoutWidget) @amount_input.objectName = "amount_input" @gridLayout.addWidget(@amount_input, 1, 1, 1, 1) @label_2 = Qt::Label.new(@verticalLayoutWidget) @label_2.objectName = "label_2" @gridLayout.addWidget(@label_2, 0, 0, 1, 1) @label_3 = Qt::Label.new(@verticalLayoutWidget) @label_3.objectName = "label_3" @gridLayout.addWidget(@label_3, 1, 0, 1, 1) @label_4 = Qt::Label.new(@verticalLayoutWidget) @label_4.objectName = "label_4" @gridLayout.addWidget(@label_4, 2, 0, 1, 1) @address_input = Qt::LineEdit.new(@verticalLayoutWidget) @address_input.objectName = "address_input" @address_input.minimumSize = Qt::Size.new(300, 0) @gridLayout.addWidget(@address_input, 0, 1, 1, 1) @currency_box = Qt::ComboBox.new(@verticalLayoutWidget) @currency_box.objectName = "currency_box" @gridLayout.addWidget(@currency_box, 2, 1, 1, 1) @password_input = Qt::LineEdit.new(@verticalLayoutWidget) @password_input.objectName = "password_input" @password_input.echoMode = Qt::LineEdit::Password @gridLayout.addWidget(@password_input, 3, 1, 1, 1) @label_5 = Qt::Label.new(@verticalLayoutWidget) @label_5.objectName = "label_5" @gridLayout.addWidget(@label_5, 3, 0, 1, 1) @verticalLayout.addLayout(@gridLayout) @label = Qt::Label.new(simpleSend) @label.objectName = "label" @label.geometry = Qt::Rect.new(20, 5, 151, 21) @submit_button = Qt::PushButton.new(simpleSend) @submit_button.objectName = "submit_button" @submit_button.enabled = false @submit_button.geometry = Qt::Rect.new(410, 170, 114, 32) @submit_button.autoDefault = false Qt::Widget.setTabOrder(@address_input, @amount_input) Qt::Widget.setTabOrder(@amount_input, @currency_box) Qt::Widget.setTabOrder(@currency_box, @password_input) Qt::Widget.setTabOrder(@password_input, @submit_button) retranslateUi(simpleSend) Qt::MetaObject.connectSlotsByName(simpleSend) end |