class Ui_SimpleSend

** 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!

Attributes

address_input[R]
amount_input[R]
currency_box[R]
gridLayout[R]
label[R]
label_2[R]
label_3[R]
label_4[R]
label_5[R]
password_input[R]
submit_button[R]
verticalLayout[R]
verticalLayoutWidget[R]

Public Instance Methods

retranslateUi(simpleSend) click to toggle source
# 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
retranslate_ui(simpleSend) click to toggle source
# File lib/mastercoin-wallet/gui/ui_simple_send.rb, line 117
def retranslate_ui(simpleSend)
    retranslateUi(simpleSend)
end
setupUi(simpleSend) click to toggle source
# 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
setup_ui(simpleSend) click to toggle source
# File lib/mastercoin-wallet/gui/ui_simple_send.rb, line 101
def setup_ui(simpleSend)
    setupUi(simpleSend)
end