Class: Ui_BitcoinOffer

Inherits:
Object
  • Object
show all
Defined in:
lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb

Overview

** Form generated from reading ui file ‘bitcoin_offer_window.ui’ ** ** Created: Sun Nov 3 15:14:29 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

Ui::BitcoinOffer

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#addressInputObject (readonly)

Returns the value of attribute addressInput.



15
16
17
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 15

def addressInput
  @addressInput
end

#amountInputObject (readonly)

Returns the value of attribute amountInput.



19
20
21
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 19

def amountInput
  @amountInput
end

#gridLayoutObject (readonly)

Returns the value of attribute gridLayout.



13
14
15
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 13

def gridLayout
  @gridLayout
end

#labelObject (readonly)

Returns the value of attribute label.



20
21
22
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 20

def label
  @label
end

#label_2Object (readonly)

Returns the value of attribute label_2.



16
17
18
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 16

def label_2
  @label_2
end

#label_3Object (readonly)

Returns the value of attribute label_3.



17
18
19
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 17

def label_3
  @label_3
end

#label_5Object (readonly)

Returns the value of attribute label_5.



18
19
20
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 18

def label_5
  @label_5
end

#passwordInputObject (readonly)

Returns the value of attribute passwordInput.



14
15
16
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 14

def passwordInput
  @passwordInput
end

#submit_buttonObject (readonly)

Returns the value of attribute submit_button.



21
22
23
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 21

def submit_button
  @submit_button
end

#verticalLayoutObject (readonly)

Returns the value of attribute verticalLayout.



12
13
14
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 12

def verticalLayout
  @verticalLayout
end

#verticalLayoutWidgetObject (readonly)

Returns the value of attribute verticalLayoutWidget.



11
12
13
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 11

def verticalLayoutWidget
  @verticalLayoutWidget
end

Instance Method Details

#retranslate_ui(bitcoinOffer) ⇒ Object

retranslateUi



103
104
105
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 103

def retranslate_ui(bitcoinOffer)
    retranslateUi(bitcoinOffer)
end

#retranslateUi(bitcoinOffer) ⇒ Object



92
93
94
95
96
97
98
99
100
101
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 92

def retranslateUi(bitcoinOffer)
bitcoinOffer.windowTitle = Qt::Application.translate("BitcoinOffer", "New Purchase Offer", nil, Qt::Application::UnicodeUTF8)
@addressInput.placeholderText = ''
@label_2.text = Qt::Application.translate("BitcoinOffer", "Masteroin address", nil, Qt::Application::UnicodeUTF8)
@label_3.text = Qt::Application.translate("BitcoinOffer", "Amount", nil, Qt::Application::UnicodeUTF8)
@label_5.text = Qt::Application.translate("BitcoinOffer", "Password", nil, Qt::Application::UnicodeUTF8)
@amountInput.placeholderText = ''
@label.text = Qt::Application.translate("BitcoinOffer", "<h3>Pay for Purchase Offer</h3>", nil, Qt::Application::UnicodeUTF8)
@submit_button.text = Qt::Application.translate("BitcoinOffer", "Send", nil, Qt::Application::UnicodeUTF8)
end

#setup_ui(bitcoinOffer) ⇒ Object

setupUi



88
89
90
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 88

def setup_ui(bitcoinOffer)
    setupUi(bitcoinOffer)
end

#setupUi(bitcoinOffer) ⇒ Object



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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# File 'lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb', line 23

def setupUi(bitcoinOffer)
if bitcoinOffer.objectName.nil?
    bitcoinOffer.objectName = "bitcoinOffer"
end
bitcoinOffer.resize(534, 238)
@verticalLayoutWidget = Qt::Widget.new(bitcoinOffer)
@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"
@passwordInput = Qt::LineEdit.new(@verticalLayoutWidget)
@passwordInput.objectName = "passwordInput"
@passwordInput.echoMode = Qt::LineEdit::Password

@gridLayout.addWidget(@passwordInput, 2, 1, 1, 1)

@addressInput = Qt::LineEdit.new(@verticalLayoutWidget)
@addressInput.objectName = "addressInput"
@addressInput.minimumSize = Qt::Size.new(300, 0)

@gridLayout.addWidget(@addressInput, 0, 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_5 = Qt::Label.new(@verticalLayoutWidget)
@label_5.objectName = "label_5"

@gridLayout.addWidget(@label_5, 2, 0, 1, 1)

@amountInput = Qt::LineEdit.new(@verticalLayoutWidget)
@amountInput.objectName = "amountInput"

@gridLayout.addWidget(@amountInput, 1, 1, 1, 1)


@verticalLayout.addLayout(@gridLayout)

@label = Qt::Label.new(bitcoinOffer)
@label.objectName = "label"
@label.geometry = Qt::Rect.new(10, 0, 231, 31)
@submit_button = Qt::PushButton.new(bitcoinOffer)
@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(@addressInput, @amountInput)
Qt::Widget.setTabOrder(@amountInput, @passwordInput)
Qt::Widget.setTabOrder(@passwordInput, @submit_button)

retranslateUi(bitcoinOffer)

Qt::MetaObject.connectSlotsByName(bitcoinOffer)
end