class Ui_SellingOffer

** Form generated from reading ui file ‘selling_offer_window.ui’ ** ** Created: Sat Nov 2 14:56:10 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

amount_input[R]
btc_amount_input[R]
currency_box[R]
fee_input[R]
gridLayout[R]
label[R]
label_2[R]
label_3[R]
label_4[R]
label_5[R]
label_6[R]
label_7[R]
password_input[R]
submit_button[R]
time_input[R]
verticalLayout[R]
verticalLayoutWidget[R]

Public Instance Methods

retranslateUi(sellingOffer) click to toggle source
# File lib/mastercoin-wallet/gui/ui_selling_offer.rb, line 131
def retranslateUi(sellingOffer)
sellingOffer.windowTitle = Qt::Application.translate("SellingOffer", "New Simple Send", nil, Qt::Application::UnicodeUTF8)
@fee_input.placeholderText = ''
@label_5.text = Qt::Application.translate("SellingOffer", "Password", nil, Qt::Application::UnicodeUTF8)
@label_6.text = Qt::Application.translate("SellingOffer", "Time (in blocks)", nil, Qt::Application::UnicodeUTF8)
@amount_input.placeholderText = ''
@label_3.text = Qt::Application.translate("SellingOffer", "Amount to sell", nil, Qt::Application::UnicodeUTF8)
@label_4.text = Qt::Application.translate("SellingOffer", "Currency", nil, Qt::Application::UnicodeUTF8)
@label_2.text = Qt::Application.translate("SellingOffer", "Transaction fee", nil, Qt::Application::UnicodeUTF8)
@label_7.text = Qt::Application.translate("SellingOffer", "Total amount of BTC", nil, Qt::Application::UnicodeUTF8)
@label.text = Qt::Application.translate("SellingOffer", "<html><head/><body><p><span style=\" font-size:large; font-weight:600;\">New Selling Offer</span></p></body></html>", nil, Qt::Application::UnicodeUTF8)
@submit_button.text = Qt::Application.translate("SellingOffer", "Send", nil, Qt::Application::UnicodeUTF8)
end
retranslate_ui(sellingOffer) click to toggle source
# File lib/mastercoin-wallet/gui/ui_selling_offer.rb, line 145
def retranslate_ui(sellingOffer)
    retranslateUi(sellingOffer)
end
setupUi(sellingOffer) click to toggle source
# File lib/mastercoin-wallet/gui/ui_selling_offer.rb, line 29
def setupUi(sellingOffer)
if sellingOffer.objectName.nil?
    sellingOffer.objectName = "sellingOffer"
end
sellingOffer.resize(534, 276)
@verticalLayoutWidget = Qt::Widget.new(sellingOffer)
@verticalLayoutWidget.objectName = "verticalLayoutWidget"
@verticalLayoutWidget.geometry = Qt::Rect.new(9, 39, 518, 179)
@verticalLayout = Qt::VBoxLayout.new(@verticalLayoutWidget)
@verticalLayout.objectName = "verticalLayout"
@verticalLayout.setContentsMargins(0, 0, 0, 0)
@gridLayout = Qt::GridLayout.new()
@gridLayout.objectName = "gridLayout"
@fee_input = Qt::LineEdit.new(@verticalLayoutWidget)
@fee_input.objectName = "fee_input"
@fee_input.minimumSize = Qt::Size.new(300, 0)

@gridLayout.addWidget(@fee_input, 6, 1, 1, 1)

@password_input = Qt::LineEdit.new(@verticalLayoutWidget)
@password_input.objectName = "password_input"
@password_input.echoMode = Qt::LineEdit::Password

@gridLayout.addWidget(@password_input, 7, 1, 1, 1)

@label_5 = Qt::Label.new(@verticalLayoutWidget)
@label_5.objectName = "label_5"

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

@label_6 = Qt::Label.new(@verticalLayoutWidget)
@label_6.objectName = "label_6"

@gridLayout.addWidget(@label_6, 5, 0, 1, 1)

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

@gridLayout.addWidget(@amount_input, 1, 1, 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, 3, 0, 1, 1)

@currency_box = Qt::ComboBox.new(@verticalLayoutWidget)
@currency_box.objectName = "currency_box"

@gridLayout.addWidget(@currency_box, 3, 1, 1, 1)

@label_2 = Qt::Label.new(@verticalLayoutWidget)
@label_2.objectName = "label_2"

@gridLayout.addWidget(@label_2, 6, 0, 1, 1)

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

@gridLayout.addWidget(@time_input, 5, 1, 1, 1)

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

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

@label_7 = Qt::Label.new(@verticalLayoutWidget)
@label_7.objectName = "label_7"

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


@verticalLayout.addLayout(@gridLayout)

@label = Qt::Label.new(sellingOffer)
@label.objectName = "label"
@label.geometry = Qt::Rect.new(10, 10, 151, 21)
@submit_button = Qt::PushButton.new(sellingOffer)
@submit_button.objectName = "submit_button"
@submit_button.enabled = false
@submit_button.geometry = Qt::Rect.new(420, 230, 114, 32)
@submit_button.autoDefault = false
Qt::Widget.setTabOrder(@amount_input, @btc_amount_input)
Qt::Widget.setTabOrder(@btc_amount_input, @currency_box)
Qt::Widget.setTabOrder(@currency_box, @time_input)
Qt::Widget.setTabOrder(@time_input, @fee_input)
Qt::Widget.setTabOrder(@fee_input, @password_input)
Qt::Widget.setTabOrder(@password_input, @submit_button)

retranslateUi(sellingOffer)

Qt::MetaObject.connectSlotsByName(sellingOffer)
end
setup_ui(sellingOffer) click to toggle source
# File lib/mastercoin-wallet/gui/ui_selling_offer.rb, line 127
def setup_ui(sellingOffer)
    setupUi(sellingOffer)
end