Class: Ui_PurchaseOffer
- Inherits:
-
Object
- Object
- Ui_PurchaseOffer
- Defined in:
- lib/mastercoin-wallet/gui/ui_purchase_offer.rb
Overview
** Form generated from reading ui file ‘purchase_offer_window.ui’ ** ** Created: Sat Nov 2 15:12:58 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.
-
#fee_input ⇒ Object
readonly
Returns the value of attribute fee_input.
-
#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.
-
#label_6 ⇒ Object
readonly
Returns the value of attribute label_6.
-
#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(purchaseOffer) ⇒ Object
retranslateUi.
- #retranslateUi(purchaseOffer) ⇒ Object
-
#setup_ui(purchaseOffer) ⇒ Object
setupUi.
- #setupUi(purchaseOffer) ⇒ Object
Instance Attribute Details
#address_input ⇒ Object (readonly)
Returns the value of attribute address_input.
20 21 22 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 20 def address_input @address_input end |
#amount_input ⇒ Object (readonly)
Returns the value of attribute amount_input.
18 19 20 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 18 def amount_input @amount_input end |
#currency_box ⇒ Object (readonly)
Returns the value of attribute currency_box.
15 16 17 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 15 def currency_box @currency_box end |
#fee_input ⇒ Object (readonly)
Returns the value of attribute fee_input.
22 23 24 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 22 def fee_input @fee_input end |
#gridLayout ⇒ Object (readonly)
Returns the value of attribute gridLayout.
13 14 15 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 13 def gridLayout @gridLayout end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
24 25 26 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 24 def label @label end |
#label_2 ⇒ Object (readonly)
Returns the value of attribute label_2.
17 18 19 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 17 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_purchase_offer.rb', line 16 def label_3 @label_3 end |
#label_4 ⇒ Object (readonly)
Returns the value of attribute label_4.
19 20 21 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 19 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_purchase_offer.rb', line 21 def label_5 @label_5 end |
#label_6 ⇒ Object (readonly)
Returns the value of attribute label_6.
23 24 25 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 23 def label_6 @label_6 end |
#password_input ⇒ Object (readonly)
Returns the value of attribute password_input.
14 15 16 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 14 def password_input @password_input end |
#submit_button ⇒ Object (readonly)
Returns the value of attribute submit_button.
25 26 27 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 25 def @submit_button end |
#verticalLayout ⇒ Object (readonly)
Returns the value of attribute verticalLayout.
12 13 14 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.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_purchase_offer.rb', line 11 def verticalLayoutWidget @verticalLayoutWidget end |
Instance Method Details
#retranslate_ui(purchaseOffer) ⇒ Object
retranslateUi
130 131 132 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 130 def retranslate_ui(purchaseOffer) retranslateUi(purchaseOffer) end |
#retranslateUi(purchaseOffer) ⇒ Object
117 118 119 120 121 122 123 124 125 126 127 128 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 117 def retranslateUi(purchaseOffer) purchaseOffer.windowTitle = Qt::Application.translate("PurchaseOffer", "New Purchase Offer", nil, Qt::Application::UnicodeUTF8) @label_3.text = Qt::Application.translate("PurchaseOffer", "Amount", nil, Qt::Application::UnicodeUTF8) @label_2.text = Qt::Application.translate("PurchaseOffer", "Masteroin address", nil, Qt::Application::UnicodeUTF8) @amount_input.placeholderText = '' @label_4.text = Qt::Application.translate("PurchaseOffer", "Currency", nil, Qt::Application::UnicodeUTF8) @address_input.placeholderText = '' @label_5.text = Qt::Application.translate("PurchaseOffer", "Password", nil, Qt::Application::UnicodeUTF8) @label_6.text = Qt::Application.translate("PurchaseOffer", "Required fee", nil, Qt::Application::UnicodeUTF8) @label.text = Qt::Application.translate("PurchaseOffer", "<html><head/><body><p><span style=\" font-size:large; font-weight:600;\">New Purchase Offer</span></p></body></html>", nil, Qt::Application::UnicodeUTF8) @submit_button.text = Qt::Application.translate("PurchaseOffer", "Send", nil, Qt::Application::UnicodeUTF8) end |
#setup_ui(purchaseOffer) ⇒ Object
setupUi
113 114 115 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 113 def setup_ui(purchaseOffer) setupUi(purchaseOffer) end |
#setupUi(purchaseOffer) ⇒ Object
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 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/mastercoin-wallet/gui/ui_purchase_offer.rb', line 27 def setupUi(purchaseOffer) if purchaseOffer.objectName.nil? purchaseOffer.objectName = "purchaseOffer" end purchaseOffer.resize(534, 238) @verticalLayoutWidget = Qt::Widget.new(purchaseOffer) @verticalLayoutWidget.objectName = "verticalLayoutWidget" @verticalLayoutWidget.geometry = Qt::Rect.new(9, 39, 518, 148) @verticalLayout = Qt::VBoxLayout.new(@verticalLayoutWidget) @verticalLayout.objectName = "verticalLayout" @verticalLayout.setContentsMargins(0, 0, 0, 0) @gridLayout = Qt::GridLayout.new() @gridLayout.objectName = "gridLayout" @password_input = Qt::LineEdit.new(@verticalLayoutWidget) @password_input.objectName = "password_input" @password_input.echoMode = Qt::LineEdit::Password @gridLayout.addWidget(@password_input, 4, 1, 1, 1) @currency_box = Qt::ComboBox.new(@verticalLayoutWidget) @currency_box.objectName = "currency_box" @gridLayout.addWidget(@currency_box, 3, 1, 1, 1) @label_3 = Qt::Label.new(@verticalLayoutWidget) @label_3.objectName = "label_3" @gridLayout.addWidget(@label_3, 1, 0, 1, 1) @label_2 = Qt::Label.new(@verticalLayoutWidget) @label_2.objectName = "label_2" @gridLayout.addWidget(@label_2, 0, 0, 1, 1) @amount_input = Qt::LineEdit.new(@verticalLayoutWidget) @amount_input.objectName = "amount_input" @gridLayout.addWidget(@amount_input, 1, 1, 1, 1) @label_4 = Qt::Label.new(@verticalLayoutWidget) @label_4.objectName = "label_4" @gridLayout.addWidget(@label_4, 3, 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) @label_5 = Qt::Label.new(@verticalLayoutWidget) @label_5.objectName = "label_5" @gridLayout.addWidget(@label_5, 4, 0, 1, 1) @fee_input = Qt::LineEdit.new(@verticalLayoutWidget) @fee_input.objectName = "fee_input" @gridLayout.addWidget(@fee_input, 2, 1, 1, 1) @label_6 = Qt::Label.new(@verticalLayoutWidget) @label_6.objectName = "label_6" @gridLayout.addWidget(@label_6, 2, 0, 1, 1) @verticalLayout.addLayout(@gridLayout) @label = Qt::Label.new(purchaseOffer) @label.objectName = "label" @label.geometry = Qt::Rect.new(20, 10, 161, 21) @submit_button = Qt::PushButton.new(purchaseOffer) @submit_button.objectName = "submit_button" @submit_button.enabled = false @submit_button.geometry = Qt::Rect.new(410, 190, 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(purchaseOffer) Qt::MetaObject.connectSlotsByName(purchaseOffer) end |