mastercoin-wallet 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +4 -2
- data/Gemfile.lock +38 -15
- data/Makefile +13 -1
- data/README.rdoc +7 -2
- data/Rakefile +19 -0
- data/VERSION +1 -1
- data/bin/mastercoin-wallet +1 -1
- data/lib/mastercoin-wallet/builder.rb +254 -0
- data/lib/mastercoin-wallet/gui/bitcoin_offer_window.rb +50 -0
- data/lib/mastercoin-wallet/gui/bitcoin_offer_window.ui +121 -0
- data/lib/mastercoin-wallet/gui/main_window.rb +160 -34
- data/lib/mastercoin-wallet/gui/main_window.ui +356 -0
- data/lib/mastercoin-wallet/gui/purchase_offer_window.rb +60 -0
- data/lib/mastercoin-wallet/gui/purchase_offer_window.ui +142 -0
- data/lib/mastercoin-wallet/gui/selling_offer_window.rb +60 -0
- data/lib/mastercoin-wallet/gui/selling_offer_window.ui +154 -0
- data/lib/mastercoin-wallet/gui/simple_send_window.rb +6 -120
- data/lib/mastercoin-wallet/gui/simple_send_window.ui +7 -0
- data/lib/mastercoin-wallet/gui/ui_bitcoin_offer.rb +113 -0
- data/lib/mastercoin-wallet/gui/ui_main.rb +167 -0
- data/lib/mastercoin-wallet/gui/ui_purchase_offer.rb +140 -0
- data/lib/mastercoin-wallet/gui/ui_selling_offer.rb +155 -0
- data/lib/mastercoin-wallet/gui/ui_simple_send.rb +5 -1
- data/lib/mastercoin-wallet/models/selling_offer.rb +18 -0
- data/lib/mastercoin-wallet/network/selling_offer.rb +15 -0
- data/lib/mastercoin-wallet/network/wallet.rb +32 -0
- data/lib/mastercoin-wallet.rb +27 -4
- data/mastercoin-wallet.gemspec +30 -9
- data/resources/logo.icns +0 -0
- metadata +55 -8
- data/lib/mastercoin-wallet/network.rb +0 -34
| @@ -120,6 +120,13 @@ | |
| 120 120 | 
             
               </property>
         | 
| 121 121 | 
             
              </widget>
         | 
| 122 122 | 
             
             </widget>
         | 
| 123 | 
            +
             <tabstops>
         | 
| 124 | 
            +
              <tabstop>address_input</tabstop>
         | 
| 125 | 
            +
              <tabstop>amount_input</tabstop>
         | 
| 126 | 
            +
              <tabstop>currency_box</tabstop>
         | 
| 127 | 
            +
              <tabstop>password_input</tabstop>
         | 
| 128 | 
            +
              <tabstop>submit_button</tabstop>
         | 
| 129 | 
            +
             </tabstops>
         | 
| 123 130 | 
             
             <resources/>
         | 
| 124 131 | 
             
             <connections/>
         | 
| 125 132 | 
             
            </ui>
         | 
| @@ -0,0 +1,113 @@ | |
| 1 | 
            +
            =begin
         | 
| 2 | 
            +
            ** Form generated from reading ui file 'bitcoin_offer_window.ui'
         | 
| 3 | 
            +
            **
         | 
| 4 | 
            +
            ** Created: Sun Nov 3 15:14:29 2013
         | 
| 5 | 
            +
            **      by: Qt User Interface Compiler version 4.8.4
         | 
| 6 | 
            +
            **
         | 
| 7 | 
            +
            ** WARNING! All changes made in this file will be lost when recompiling ui file!
         | 
| 8 | 
            +
            =end
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            class Ui_BitcoinOffer
         | 
| 11 | 
            +
                attr_reader :verticalLayoutWidget
         | 
| 12 | 
            +
                attr_reader :verticalLayout
         | 
| 13 | 
            +
                attr_reader :gridLayout
         | 
| 14 | 
            +
                attr_reader :passwordInput
         | 
| 15 | 
            +
                attr_reader :addressInput
         | 
| 16 | 
            +
                attr_reader :label_2
         | 
| 17 | 
            +
                attr_reader :label_3
         | 
| 18 | 
            +
                attr_reader :label_5
         | 
| 19 | 
            +
                attr_reader :amountInput
         | 
| 20 | 
            +
                attr_reader :label
         | 
| 21 | 
            +
                attr_reader :submit_button
         | 
| 22 | 
            +
             | 
| 23 | 
            +
                def setupUi(bitcoinOffer)
         | 
| 24 | 
            +
                if bitcoinOffer.objectName.nil?
         | 
| 25 | 
            +
                    bitcoinOffer.objectName = "bitcoinOffer"
         | 
| 26 | 
            +
                end
         | 
| 27 | 
            +
                bitcoinOffer.resize(534, 238)
         | 
| 28 | 
            +
                @verticalLayoutWidget = Qt::Widget.new(bitcoinOffer)
         | 
| 29 | 
            +
                @verticalLayoutWidget.objectName = "verticalLayoutWidget"
         | 
| 30 | 
            +
                @verticalLayoutWidget.geometry = Qt::Rect.new(9, 39, 518, 148)
         | 
| 31 | 
            +
                @verticalLayout = Qt::VBoxLayout.new(@verticalLayoutWidget)
         | 
| 32 | 
            +
                @verticalLayout.objectName = "verticalLayout"
         | 
| 33 | 
            +
                @verticalLayout.setContentsMargins(0, 0, 0, 0)
         | 
| 34 | 
            +
                @gridLayout = Qt::GridLayout.new()
         | 
| 35 | 
            +
                @gridLayout.objectName = "gridLayout"
         | 
| 36 | 
            +
                @passwordInput = Qt::LineEdit.new(@verticalLayoutWidget)
         | 
| 37 | 
            +
                @passwordInput.objectName = "passwordInput"
         | 
| 38 | 
            +
                @passwordInput.echoMode = Qt::LineEdit::Password
         | 
| 39 | 
            +
             | 
| 40 | 
            +
                @gridLayout.addWidget(@passwordInput, 2, 1, 1, 1)
         | 
| 41 | 
            +
             | 
| 42 | 
            +
                @addressInput = Qt::LineEdit.new(@verticalLayoutWidget)
         | 
| 43 | 
            +
                @addressInput.objectName = "addressInput"
         | 
| 44 | 
            +
                @addressInput.minimumSize = Qt::Size.new(300, 0)
         | 
| 45 | 
            +
             | 
| 46 | 
            +
                @gridLayout.addWidget(@addressInput, 0, 1, 1, 1)
         | 
| 47 | 
            +
             | 
| 48 | 
            +
                @label_2 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 49 | 
            +
                @label_2.objectName = "label_2"
         | 
| 50 | 
            +
             | 
| 51 | 
            +
                @gridLayout.addWidget(@label_2, 0, 0, 1, 1)
         | 
| 52 | 
            +
             | 
| 53 | 
            +
                @label_3 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 54 | 
            +
                @label_3.objectName = "label_3"
         | 
| 55 | 
            +
             | 
| 56 | 
            +
                @gridLayout.addWidget(@label_3, 1, 0, 1, 1)
         | 
| 57 | 
            +
             | 
| 58 | 
            +
                @label_5 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 59 | 
            +
                @label_5.objectName = "label_5"
         | 
| 60 | 
            +
             | 
| 61 | 
            +
                @gridLayout.addWidget(@label_5, 2, 0, 1, 1)
         | 
| 62 | 
            +
             | 
| 63 | 
            +
                @amountInput = Qt::LineEdit.new(@verticalLayoutWidget)
         | 
| 64 | 
            +
                @amountInput.objectName = "amountInput"
         | 
| 65 | 
            +
             | 
| 66 | 
            +
                @gridLayout.addWidget(@amountInput, 1, 1, 1, 1)
         | 
| 67 | 
            +
             | 
| 68 | 
            +
             | 
| 69 | 
            +
                @verticalLayout.addLayout(@gridLayout)
         | 
| 70 | 
            +
             | 
| 71 | 
            +
                @label = Qt::Label.new(bitcoinOffer)
         | 
| 72 | 
            +
                @label.objectName = "label"
         | 
| 73 | 
            +
                @label.geometry = Qt::Rect.new(10, 0, 231, 31)
         | 
| 74 | 
            +
                @submit_button = Qt::PushButton.new(bitcoinOffer)
         | 
| 75 | 
            +
                @submit_button.objectName = "submit_button"
         | 
| 76 | 
            +
                @submit_button.enabled = false
         | 
| 77 | 
            +
                @submit_button.geometry = Qt::Rect.new(410, 190, 114, 32)
         | 
| 78 | 
            +
                @submit_button.autoDefault = false
         | 
| 79 | 
            +
                Qt::Widget.setTabOrder(@addressInput, @amountInput)
         | 
| 80 | 
            +
                Qt::Widget.setTabOrder(@amountInput, @passwordInput)
         | 
| 81 | 
            +
                Qt::Widget.setTabOrder(@passwordInput, @submit_button)
         | 
| 82 | 
            +
             | 
| 83 | 
            +
                retranslateUi(bitcoinOffer)
         | 
| 84 | 
            +
             | 
| 85 | 
            +
                Qt::MetaObject.connectSlotsByName(bitcoinOffer)
         | 
| 86 | 
            +
                end # setupUi
         | 
| 87 | 
            +
             | 
| 88 | 
            +
                def setup_ui(bitcoinOffer)
         | 
| 89 | 
            +
                    setupUi(bitcoinOffer)
         | 
| 90 | 
            +
                end
         | 
| 91 | 
            +
             | 
| 92 | 
            +
                def retranslateUi(bitcoinOffer)
         | 
| 93 | 
            +
                bitcoinOffer.windowTitle = Qt::Application.translate("BitcoinOffer", "New Purchase Offer", nil, Qt::Application::UnicodeUTF8)
         | 
| 94 | 
            +
                @addressInput.placeholderText = ''
         | 
| 95 | 
            +
                @label_2.text = Qt::Application.translate("BitcoinOffer", "Masteroin address", nil, Qt::Application::UnicodeUTF8)
         | 
| 96 | 
            +
                @label_3.text = Qt::Application.translate("BitcoinOffer", "Amount", nil, Qt::Application::UnicodeUTF8)
         | 
| 97 | 
            +
                @label_5.text = Qt::Application.translate("BitcoinOffer", "Password", nil, Qt::Application::UnicodeUTF8)
         | 
| 98 | 
            +
                @amountInput.placeholderText = ''
         | 
| 99 | 
            +
                @label.text = Qt::Application.translate("BitcoinOffer", "<h3>Pay for Purchase Offer</h3>", nil, Qt::Application::UnicodeUTF8)
         | 
| 100 | 
            +
                @submit_button.text = Qt::Application.translate("BitcoinOffer", "Send", nil, Qt::Application::UnicodeUTF8)
         | 
| 101 | 
            +
                end # retranslateUi
         | 
| 102 | 
            +
             | 
| 103 | 
            +
                def retranslate_ui(bitcoinOffer)
         | 
| 104 | 
            +
                    retranslateUi(bitcoinOffer)
         | 
| 105 | 
            +
                end
         | 
| 106 | 
            +
             | 
| 107 | 
            +
            end
         | 
| 108 | 
            +
             | 
| 109 | 
            +
            module Ui
         | 
| 110 | 
            +
                class BitcoinOffer < Ui_BitcoinOffer
         | 
| 111 | 
            +
                end
         | 
| 112 | 
            +
            end  # module Ui
         | 
| 113 | 
            +
             | 
| @@ -0,0 +1,167 @@ | |
| 1 | 
            +
            =begin
         | 
| 2 | 
            +
            ** Form generated from reading ui file 'main_window.ui'
         | 
| 3 | 
            +
            **
         | 
| 4 | 
            +
            ** Created: Sun Nov 3 15:47:04 2013
         | 
| 5 | 
            +
            **      by: Qt User Interface Compiler version 4.8.4
         | 
| 6 | 
            +
            **
         | 
| 7 | 
            +
            ** WARNING! All changes made in this file will be lost when recompiling ui file!
         | 
| 8 | 
            +
            =end
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            class Ui_MainWindow
         | 
| 11 | 
            +
                attr_reader :mainTab
         | 
| 12 | 
            +
                attr_reader :tab
         | 
| 13 | 
            +
                attr_reader :balanceGroup
         | 
| 14 | 
            +
                attr_reader :mscBalanceLabel
         | 
| 15 | 
            +
                attr_reader :tMscBalanceLabel
         | 
| 16 | 
            +
                attr_reader :bitcoinLabel
         | 
| 17 | 
            +
                attr_reader :mscAddressLabel
         | 
| 18 | 
            +
                attr_reader :overviewTree
         | 
| 19 | 
            +
                attr_reader :simpleSendButton
         | 
| 20 | 
            +
                attr_reader :label_3
         | 
| 21 | 
            +
                attr_reader :tab_2
         | 
| 22 | 
            +
                attr_reader :orderTree
         | 
| 23 | 
            +
                attr_reader :label
         | 
| 24 | 
            +
                attr_reader :sellingButton
         | 
| 25 | 
            +
                attr_reader :purchaseTree
         | 
| 26 | 
            +
                attr_reader :label_2
         | 
| 27 | 
            +
                attr_reader :purchaseButton
         | 
| 28 | 
            +
                attr_reader :label_4
         | 
| 29 | 
            +
                attr_reader :label_5
         | 
| 30 | 
            +
             | 
| 31 | 
            +
                def setupUi(mainWindow)
         | 
| 32 | 
            +
                if mainWindow.objectName.nil?
         | 
| 33 | 
            +
                    mainWindow.objectName = "mainWindow"
         | 
| 34 | 
            +
                end
         | 
| 35 | 
            +
                mainWindow.resize(746, 469)
         | 
| 36 | 
            +
                @sizePolicy = Qt::SizePolicy.new(Qt::SizePolicy::Fixed, Qt::SizePolicy::Fixed)
         | 
| 37 | 
            +
                @sizePolicy.setHorizontalStretch(0)
         | 
| 38 | 
            +
                @sizePolicy.setVerticalStretch(0)
         | 
| 39 | 
            +
                @sizePolicy.heightForWidth = mainWindow.sizePolicy.hasHeightForWidth
         | 
| 40 | 
            +
                mainWindow.sizePolicy = @sizePolicy
         | 
| 41 | 
            +
                @mainTab = Qt::TabWidget.new(mainWindow)
         | 
| 42 | 
            +
                @mainTab.objectName = "mainTab"
         | 
| 43 | 
            +
                @mainTab.geometry = Qt::Rect.new(10, 10, 731, 451)
         | 
| 44 | 
            +
                @sizePolicy.heightForWidth = @mainTab.sizePolicy.hasHeightForWidth
         | 
| 45 | 
            +
                @mainTab.sizePolicy = @sizePolicy
         | 
| 46 | 
            +
                @tab = Qt::Widget.new()
         | 
| 47 | 
            +
                @tab.objectName = "tab"
         | 
| 48 | 
            +
                @balanceGroup = Qt::GroupBox.new(@tab)
         | 
| 49 | 
            +
                @balanceGroup.objectName = "balanceGroup"
         | 
| 50 | 
            +
                @balanceGroup.geometry = Qt::Rect.new(10, 0, 201, 111)
         | 
| 51 | 
            +
                @mscBalanceLabel = Qt::Label.new(@balanceGroup)
         | 
| 52 | 
            +
                @mscBalanceLabel.objectName = "mscBalanceLabel"
         | 
| 53 | 
            +
                @mscBalanceLabel.geometry = Qt::Rect.new(10, 30, 181, 19)
         | 
| 54 | 
            +
                @tMscBalanceLabel = Qt::Label.new(@balanceGroup)
         | 
| 55 | 
            +
                @tMscBalanceLabel.objectName = "tMscBalanceLabel"
         | 
| 56 | 
            +
                @tMscBalanceLabel.geometry = Qt::Rect.new(10, 50, 171, 20)
         | 
| 57 | 
            +
                @bitcoinLabel = Qt::Label.new(@balanceGroup)
         | 
| 58 | 
            +
                @bitcoinLabel.objectName = "bitcoinLabel"
         | 
| 59 | 
            +
                @bitcoinLabel.geometry = Qt::Rect.new(10, 70, 171, 19)
         | 
| 60 | 
            +
                @mscAddressLabel = Qt::Label.new(@tab)
         | 
| 61 | 
            +
                @mscAddressLabel.objectName = "mscAddressLabel"
         | 
| 62 | 
            +
                @mscAddressLabel.geometry = Qt::Rect.new(220, 40, 471, 51)
         | 
| 63 | 
            +
                @font = Qt::Font.new
         | 
| 64 | 
            +
                @font.family = "Verdana"
         | 
| 65 | 
            +
                @font.pointSize = 24
         | 
| 66 | 
            +
                @mscAddressLabel.font = @font
         | 
| 67 | 
            +
                @overviewTree = Qt::TreeWidget.new(@tab)
         | 
| 68 | 
            +
                @overviewTree.objectName = "overviewTree"
         | 
| 69 | 
            +
                @overviewTree.geometry = Qt::Rect.new(10, 120, 711, 251)
         | 
| 70 | 
            +
                @overviewTree.sortingEnabled = true
         | 
| 71 | 
            +
                @overviewTree.columnCount = 5
         | 
| 72 | 
            +
                @simpleSendButton = Qt::PushButton.new(@tab)
         | 
| 73 | 
            +
                @simpleSendButton.objectName = "simpleSendButton"
         | 
| 74 | 
            +
                @simpleSendButton.geometry = Qt::Rect.new(580, 380, 141, 32)
         | 
| 75 | 
            +
                @label_3 = Qt::Label.new(@tab)
         | 
| 76 | 
            +
                @label_3.objectName = "label_3"
         | 
| 77 | 
            +
                @label_3.geometry = Qt::Rect.new(220, 20, 231, 19)
         | 
| 78 | 
            +
                @mainTab.addTab(@tab, Qt::Application.translate("MainWindow", "Dashboard", nil, Qt::Application::UnicodeUTF8))
         | 
| 79 | 
            +
                @tab_2 = Qt::Widget.new()
         | 
| 80 | 
            +
                @tab_2.objectName = "tab_2"
         | 
| 81 | 
            +
                @orderTree = Qt::TreeWidget.new(@tab_2)
         | 
| 82 | 
            +
                @orderTree.objectName = "orderTree"
         | 
| 83 | 
            +
                @orderTree.geometry = Qt::Rect.new(10, 30, 701, 131)
         | 
| 84 | 
            +
                @label = Qt::Label.new(@tab_2)
         | 
| 85 | 
            +
                @label.objectName = "label"
         | 
| 86 | 
            +
                @label.geometry = Qt::Rect.new(10, -2, 151, 31)
         | 
| 87 | 
            +
                @sellingButton = Qt::PushButton.new(@tab_2)
         | 
| 88 | 
            +
                @sellingButton.objectName = "sellingButton"
         | 
| 89 | 
            +
                @sellingButton.geometry = Qt::Rect.new(580, 160, 131, 32)
         | 
| 90 | 
            +
                @purchaseTree = Qt::TreeWidget.new(@tab_2)
         | 
| 91 | 
            +
                @purchaseTree.objectName = "purchaseTree"
         | 
| 92 | 
            +
                @purchaseTree.geometry = Qt::Rect.new(10, 250, 701, 131)
         | 
| 93 | 
            +
                @label_2 = Qt::Label.new(@tab_2)
         | 
| 94 | 
            +
                @label_2.objectName = "label_2"
         | 
| 95 | 
            +
                @label_2.geometry = Qt::Rect.new(10, 210, 191, 31)
         | 
| 96 | 
            +
                @purchaseButton = Qt::PushButton.new(@tab_2)
         | 
| 97 | 
            +
                @purchaseButton.objectName = "purchaseButton"
         | 
| 98 | 
            +
                @purchaseButton.geometry = Qt::Rect.new(560, 380, 151, 32)
         | 
| 99 | 
            +
                @label_4 = Qt::Label.new(@tab_2)
         | 
| 100 | 
            +
                @label_4.objectName = "label_4"
         | 
| 101 | 
            +
                @label_4.geometry = Qt::Rect.new(10, 160, 521, 21)
         | 
| 102 | 
            +
                @label_5 = Qt::Label.new(@tab_2)
         | 
| 103 | 
            +
                @label_5.objectName = "label_5"
         | 
| 104 | 
            +
                @label_5.geometry = Qt::Rect.new(10, 380, 521, 41)
         | 
| 105 | 
            +
                @label_5.wordWrap = true
         | 
| 106 | 
            +
                @mainTab.addTab(@tab_2, Qt::Application.translate("MainWindow", "Distributed exchange", nil, Qt::Application::UnicodeUTF8))
         | 
| 107 | 
            +
             | 
| 108 | 
            +
                retranslateUi(mainWindow)
         | 
| 109 | 
            +
             | 
| 110 | 
            +
                @mainTab.setCurrentIndex(0)
         | 
| 111 | 
            +
             | 
| 112 | 
            +
             | 
| 113 | 
            +
                Qt::MetaObject.connectSlotsByName(mainWindow)
         | 
| 114 | 
            +
                end # setupUi
         | 
| 115 | 
            +
             | 
| 116 | 
            +
                def setup_ui(mainWindow)
         | 
| 117 | 
            +
                    setupUi(mainWindow)
         | 
| 118 | 
            +
                end
         | 
| 119 | 
            +
             | 
| 120 | 
            +
                def retranslateUi(mainWindow)
         | 
| 121 | 
            +
                mainWindow.windowTitle = Qt::Application.translate("MainWindow", "New Purchase Offer", nil, Qt::Application::UnicodeUTF8)
         | 
| 122 | 
            +
                @balanceGroup.title = Qt::Application.translate("MainWindow", "Balances", nil, Qt::Application::UnicodeUTF8)
         | 
| 123 | 
            +
                @mscBalanceLabel.text = Qt::Application.translate("MainWindow", "Updating MSC balance", nil, Qt::Application::UnicodeUTF8)
         | 
| 124 | 
            +
                @tMscBalanceLabel.text = Qt::Application.translate("MainWindow", "Updating test MSC balance", nil, Qt::Application::UnicodeUTF8)
         | 
| 125 | 
            +
                @bitcoinLabel.text = Qt::Application.translate("MainWindow", "Updating Bitcoin balance", nil, Qt::Application::UnicodeUTF8)
         | 
| 126 | 
            +
                @mscAddressLabel.text = Qt::Application.translate("MainWindow", "MSC Address", nil, Qt::Application::UnicodeUTF8)
         | 
| 127 | 
            +
                @overviewTree.headerItem.setText(0, Qt::Application.translate("MainWindow", "Address", nil, Qt::Application::UnicodeUTF8))
         | 
| 128 | 
            +
                @overviewTree.headerItem.setText(1, Qt::Application.translate("MainWindow", "Amount", nil, Qt::Application::UnicodeUTF8))
         | 
| 129 | 
            +
                @overviewTree.headerItem.setText(2, Qt::Application.translate("MainWindow", "Type", nil, Qt::Application::UnicodeUTF8))
         | 
| 130 | 
            +
                @overviewTree.headerItem.setText(3, Qt::Application.translate("MainWindow", "Currency", nil, Qt::Application::UnicodeUTF8))
         | 
| 131 | 
            +
                @overviewTree.headerItem.setText(4, Qt::Application.translate("MainWindow", "Date", nil, Qt::Application::UnicodeUTF8))
         | 
| 132 | 
            +
                @simpleSendButton.text = Qt::Application.translate("MainWindow", "new Simple Send", nil, Qt::Application::UnicodeUTF8)
         | 
| 133 | 
            +
                @label_3.text = Qt::Application.translate("MainWindow", "Mastercoin wallet for", nil, Qt::Application::UnicodeUTF8)
         | 
| 134 | 
            +
                @mainTab.setTabText(@mainTab.indexOf(@tab), Qt::Application.translate("MainWindow", "Dashboard", nil, Qt::Application::UnicodeUTF8))
         | 
| 135 | 
            +
                @orderTree.headerItem.setText(0, Qt::Application.translate("MainWindow", "Seller", nil, Qt::Application::UnicodeUTF8))
         | 
| 136 | 
            +
                @orderTree.headerItem.setText(1, Qt::Application.translate("MainWindow", "Currency", nil, Qt::Application::UnicodeUTF8))
         | 
| 137 | 
            +
                @orderTree.headerItem.setText(2, Qt::Application.translate("MainWindow", "Units available", nil, Qt::Application::UnicodeUTF8))
         | 
| 138 | 
            +
                @orderTree.headerItem.setText(3, Qt::Application.translate("MainWindow", "Price per coin", nil, Qt::Application::UnicodeUTF8))
         | 
| 139 | 
            +
                @orderTree.headerItem.setText(4, Qt::Application.translate("MainWindow", "Required fee", nil, Qt::Application::UnicodeUTF8))
         | 
| 140 | 
            +
                @orderTree.headerItem.setText(5, Qt::Application.translate("MainWindow", "Date", nil, Qt::Application::UnicodeUTF8))
         | 
| 141 | 
            +
                @orderTree.toolTip = Qt::Application.translate("MainWindow", "Double click to create a purchase offer from this Selling Offer", nil, Qt::Application::UnicodeUTF8)
         | 
| 142 | 
            +
                @label.text = Qt::Application.translate("MainWindow", "<h2>Order book</h2>", nil, Qt::Application::UnicodeUTF8)
         | 
| 143 | 
            +
                @sellingButton.text = Qt::Application.translate("MainWindow", "New Selling Offer", nil, Qt::Application::UnicodeUTF8)
         | 
| 144 | 
            +
                @purchaseTree.headerItem.setText(0, Qt::Application.translate("MainWindow", "Offer address", nil, Qt::Application::UnicodeUTF8))
         | 
| 145 | 
            +
                @purchaseTree.headerItem.setText(1, Qt::Application.translate("MainWindow", "Amount", nil, Qt::Application::UnicodeUTF8))
         | 
| 146 | 
            +
                @purchaseTree.headerItem.setText(2, Qt::Application.translate("MainWindow", "Bitcoin amount", nil, Qt::Application::UnicodeUTF8))
         | 
| 147 | 
            +
                @purchaseTree.headerItem.setText(3, Qt::Application.translate("MainWindow", "Currency", nil, Qt::Application::UnicodeUTF8))
         | 
| 148 | 
            +
                @purchaseTree.headerItem.setText(4, Qt::Application.translate("MainWindow", "Offer status", nil, Qt::Application::UnicodeUTF8))
         | 
| 149 | 
            +
                @purchaseTree.headerItem.setText(5, Qt::Application.translate("MainWindow", "Date", nil, Qt::Application::UnicodeUTF8))
         | 
| 150 | 
            +
                @label_2.text = Qt::Application.translate("MainWindow", "<h2>My purchase offers</h2>", nil, Qt::Application::UnicodeUTF8)
         | 
| 151 | 
            +
                @purchaseButton.text = Qt::Application.translate("MainWindow", "New Purchase Offer", nil, Qt::Application::UnicodeUTF8)
         | 
| 152 | 
            +
                @label_4.text = Qt::Application.translate("MainWindow", "Hint: You can double click to create a Purchase Offer for an item in the order book", nil, Qt::Application::UnicodeUTF8)
         | 
| 153 | 
            +
                @label_5.text = Qt::Application.translate("MainWindow", "Hint: You can double click to send the required Bitcoins for an accepted Purchase offer that's waiting on payment", nil, Qt::Application::UnicodeUTF8)
         | 
| 154 | 
            +
                @mainTab.setTabText(@mainTab.indexOf(@tab_2), Qt::Application.translate("MainWindow", "Distributed exchange", nil, Qt::Application::UnicodeUTF8))
         | 
| 155 | 
            +
                end # retranslateUi
         | 
| 156 | 
            +
             | 
| 157 | 
            +
                def retranslate_ui(mainWindow)
         | 
| 158 | 
            +
                    retranslateUi(mainWindow)
         | 
| 159 | 
            +
                end
         | 
| 160 | 
            +
             | 
| 161 | 
            +
            end
         | 
| 162 | 
            +
             | 
| 163 | 
            +
            module Ui
         | 
| 164 | 
            +
                class MainWindow < Ui_MainWindow
         | 
| 165 | 
            +
                end
         | 
| 166 | 
            +
            end  # module Ui
         | 
| 167 | 
            +
             | 
| @@ -0,0 +1,140 @@ | |
| 1 | 
            +
            =begin
         | 
| 2 | 
            +
            ** Form generated from reading ui file 'purchase_offer_window.ui'
         | 
| 3 | 
            +
            **
         | 
| 4 | 
            +
            ** Created: Sat Nov 2 15:12:58 2013
         | 
| 5 | 
            +
            **      by: Qt User Interface Compiler version 4.8.4
         | 
| 6 | 
            +
            **
         | 
| 7 | 
            +
            ** WARNING! All changes made in this file will be lost when recompiling ui file!
         | 
| 8 | 
            +
            =end
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            class Ui_PurchaseOffer
         | 
| 11 | 
            +
                attr_reader :verticalLayoutWidget
         | 
| 12 | 
            +
                attr_reader :verticalLayout
         | 
| 13 | 
            +
                attr_reader :gridLayout
         | 
| 14 | 
            +
                attr_reader :password_input
         | 
| 15 | 
            +
                attr_reader :currency_box
         | 
| 16 | 
            +
                attr_reader :label_3
         | 
| 17 | 
            +
                attr_reader :label_2
         | 
| 18 | 
            +
                attr_reader :amount_input
         | 
| 19 | 
            +
                attr_reader :label_4
         | 
| 20 | 
            +
                attr_reader :address_input
         | 
| 21 | 
            +
                attr_reader :label_5
         | 
| 22 | 
            +
                attr_reader :fee_input
         | 
| 23 | 
            +
                attr_reader :label_6
         | 
| 24 | 
            +
                attr_reader :label
         | 
| 25 | 
            +
                attr_reader :submit_button
         | 
| 26 | 
            +
             | 
| 27 | 
            +
                def setupUi(purchaseOffer)
         | 
| 28 | 
            +
                if purchaseOffer.objectName.nil?
         | 
| 29 | 
            +
                    purchaseOffer.objectName = "purchaseOffer"
         | 
| 30 | 
            +
                end
         | 
| 31 | 
            +
                purchaseOffer.resize(534, 238)
         | 
| 32 | 
            +
                @verticalLayoutWidget = Qt::Widget.new(purchaseOffer)
         | 
| 33 | 
            +
                @verticalLayoutWidget.objectName = "verticalLayoutWidget"
         | 
| 34 | 
            +
                @verticalLayoutWidget.geometry = Qt::Rect.new(9, 39, 518, 148)
         | 
| 35 | 
            +
                @verticalLayout = Qt::VBoxLayout.new(@verticalLayoutWidget)
         | 
| 36 | 
            +
                @verticalLayout.objectName = "verticalLayout"
         | 
| 37 | 
            +
                @verticalLayout.setContentsMargins(0, 0, 0, 0)
         | 
| 38 | 
            +
                @gridLayout = Qt::GridLayout.new()
         | 
| 39 | 
            +
                @gridLayout.objectName = "gridLayout"
         | 
| 40 | 
            +
                @password_input = Qt::LineEdit.new(@verticalLayoutWidget)
         | 
| 41 | 
            +
                @password_input.objectName = "password_input"
         | 
| 42 | 
            +
                @password_input.echoMode = Qt::LineEdit::Password
         | 
| 43 | 
            +
             | 
| 44 | 
            +
                @gridLayout.addWidget(@password_input, 4, 1, 1, 1)
         | 
| 45 | 
            +
             | 
| 46 | 
            +
                @currency_box = Qt::ComboBox.new(@verticalLayoutWidget)
         | 
| 47 | 
            +
                @currency_box.objectName = "currency_box"
         | 
| 48 | 
            +
             | 
| 49 | 
            +
                @gridLayout.addWidget(@currency_box, 3, 1, 1, 1)
         | 
| 50 | 
            +
             | 
| 51 | 
            +
                @label_3 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 52 | 
            +
                @label_3.objectName = "label_3"
         | 
| 53 | 
            +
             | 
| 54 | 
            +
                @gridLayout.addWidget(@label_3, 1, 0, 1, 1)
         | 
| 55 | 
            +
             | 
| 56 | 
            +
                @label_2 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 57 | 
            +
                @label_2.objectName = "label_2"
         | 
| 58 | 
            +
             | 
| 59 | 
            +
                @gridLayout.addWidget(@label_2, 0, 0, 1, 1)
         | 
| 60 | 
            +
             | 
| 61 | 
            +
                @amount_input = Qt::LineEdit.new(@verticalLayoutWidget)
         | 
| 62 | 
            +
                @amount_input.objectName = "amount_input"
         | 
| 63 | 
            +
             | 
| 64 | 
            +
                @gridLayout.addWidget(@amount_input, 1, 1, 1, 1)
         | 
| 65 | 
            +
             | 
| 66 | 
            +
                @label_4 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 67 | 
            +
                @label_4.objectName = "label_4"
         | 
| 68 | 
            +
             | 
| 69 | 
            +
                @gridLayout.addWidget(@label_4, 3, 0, 1, 1)
         | 
| 70 | 
            +
             | 
| 71 | 
            +
                @address_input = Qt::LineEdit.new(@verticalLayoutWidget)
         | 
| 72 | 
            +
                @address_input.objectName = "address_input"
         | 
| 73 | 
            +
                @address_input.minimumSize = Qt::Size.new(300, 0)
         | 
| 74 | 
            +
             | 
| 75 | 
            +
                @gridLayout.addWidget(@address_input, 0, 1, 1, 1)
         | 
| 76 | 
            +
             | 
| 77 | 
            +
                @label_5 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 78 | 
            +
                @label_5.objectName = "label_5"
         | 
| 79 | 
            +
             | 
| 80 | 
            +
                @gridLayout.addWidget(@label_5, 4, 0, 1, 1)
         | 
| 81 | 
            +
             | 
| 82 | 
            +
                @fee_input = Qt::LineEdit.new(@verticalLayoutWidget)
         | 
| 83 | 
            +
                @fee_input.objectName = "fee_input"
         | 
| 84 | 
            +
             | 
| 85 | 
            +
                @gridLayout.addWidget(@fee_input, 2, 1, 1, 1)
         | 
| 86 | 
            +
             | 
| 87 | 
            +
                @label_6 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 88 | 
            +
                @label_6.objectName = "label_6"
         | 
| 89 | 
            +
             | 
| 90 | 
            +
                @gridLayout.addWidget(@label_6, 2, 0, 1, 1)
         | 
| 91 | 
            +
             | 
| 92 | 
            +
             | 
| 93 | 
            +
                @verticalLayout.addLayout(@gridLayout)
         | 
| 94 | 
            +
             | 
| 95 | 
            +
                @label = Qt::Label.new(purchaseOffer)
         | 
| 96 | 
            +
                @label.objectName = "label"
         | 
| 97 | 
            +
                @label.geometry = Qt::Rect.new(20, 10, 161, 21)
         | 
| 98 | 
            +
                @submit_button = Qt::PushButton.new(purchaseOffer)
         | 
| 99 | 
            +
                @submit_button.objectName = "submit_button"
         | 
| 100 | 
            +
                @submit_button.enabled = false
         | 
| 101 | 
            +
                @submit_button.geometry = Qt::Rect.new(410, 190, 114, 32)
         | 
| 102 | 
            +
                @submit_button.autoDefault = false
         | 
| 103 | 
            +
                Qt::Widget.setTabOrder(@address_input, @amount_input)
         | 
| 104 | 
            +
                Qt::Widget.setTabOrder(@amount_input, @currency_box)
         | 
| 105 | 
            +
                Qt::Widget.setTabOrder(@currency_box, @password_input)
         | 
| 106 | 
            +
                Qt::Widget.setTabOrder(@password_input, @submit_button)
         | 
| 107 | 
            +
             | 
| 108 | 
            +
                retranslateUi(purchaseOffer)
         | 
| 109 | 
            +
             | 
| 110 | 
            +
                Qt::MetaObject.connectSlotsByName(purchaseOffer)
         | 
| 111 | 
            +
                end # setupUi
         | 
| 112 | 
            +
             | 
| 113 | 
            +
                def setup_ui(purchaseOffer)
         | 
| 114 | 
            +
                    setupUi(purchaseOffer)
         | 
| 115 | 
            +
                end
         | 
| 116 | 
            +
             | 
| 117 | 
            +
                def retranslateUi(purchaseOffer)
         | 
| 118 | 
            +
                purchaseOffer.windowTitle = Qt::Application.translate("PurchaseOffer", "New Purchase Offer", nil, Qt::Application::UnicodeUTF8)
         | 
| 119 | 
            +
                @label_3.text = Qt::Application.translate("PurchaseOffer", "Amount", nil, Qt::Application::UnicodeUTF8)
         | 
| 120 | 
            +
                @label_2.text = Qt::Application.translate("PurchaseOffer", "Masteroin address", nil, Qt::Application::UnicodeUTF8)
         | 
| 121 | 
            +
                @amount_input.placeholderText = ''
         | 
| 122 | 
            +
                @label_4.text = Qt::Application.translate("PurchaseOffer", "Currency", nil, Qt::Application::UnicodeUTF8)
         | 
| 123 | 
            +
                @address_input.placeholderText = ''
         | 
| 124 | 
            +
                @label_5.text = Qt::Application.translate("PurchaseOffer", "Password", nil, Qt::Application::UnicodeUTF8)
         | 
| 125 | 
            +
                @label_6.text = Qt::Application.translate("PurchaseOffer", "Required fee", nil, Qt::Application::UnicodeUTF8)
         | 
| 126 | 
            +
                @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)
         | 
| 127 | 
            +
                @submit_button.text = Qt::Application.translate("PurchaseOffer", "Send", nil, Qt::Application::UnicodeUTF8)
         | 
| 128 | 
            +
                end # retranslateUi
         | 
| 129 | 
            +
             | 
| 130 | 
            +
                def retranslate_ui(purchaseOffer)
         | 
| 131 | 
            +
                    retranslateUi(purchaseOffer)
         | 
| 132 | 
            +
                end
         | 
| 133 | 
            +
             | 
| 134 | 
            +
            end
         | 
| 135 | 
            +
             | 
| 136 | 
            +
            module Ui
         | 
| 137 | 
            +
                class PurchaseOffer < Ui_PurchaseOffer
         | 
| 138 | 
            +
                end
         | 
| 139 | 
            +
            end  # module Ui
         | 
| 140 | 
            +
             | 
| @@ -0,0 +1,155 @@ | |
| 1 | 
            +
            =begin
         | 
| 2 | 
            +
            ** Form generated from reading ui file 'selling_offer_window.ui'
         | 
| 3 | 
            +
            **
         | 
| 4 | 
            +
            ** Created: Sat Nov 2 14:56:10 2013
         | 
| 5 | 
            +
            **      by: Qt User Interface Compiler version 4.8.4
         | 
| 6 | 
            +
            **
         | 
| 7 | 
            +
            ** WARNING! All changes made in this file will be lost when recompiling ui file!
         | 
| 8 | 
            +
            =end
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            class Ui_SellingOffer
         | 
| 11 | 
            +
                attr_reader :verticalLayoutWidget
         | 
| 12 | 
            +
                attr_reader :verticalLayout
         | 
| 13 | 
            +
                attr_reader :gridLayout
         | 
| 14 | 
            +
                attr_reader :fee_input
         | 
| 15 | 
            +
                attr_reader :password_input
         | 
| 16 | 
            +
                attr_reader :label_5
         | 
| 17 | 
            +
                attr_reader :label_6
         | 
| 18 | 
            +
                attr_reader :amount_input
         | 
| 19 | 
            +
                attr_reader :label_3
         | 
| 20 | 
            +
                attr_reader :label_4
         | 
| 21 | 
            +
                attr_reader :currency_box
         | 
| 22 | 
            +
                attr_reader :label_2
         | 
| 23 | 
            +
                attr_reader :time_input
         | 
| 24 | 
            +
                attr_reader :btc_amount_input
         | 
| 25 | 
            +
                attr_reader :label_7
         | 
| 26 | 
            +
                attr_reader :label
         | 
| 27 | 
            +
                attr_reader :submit_button
         | 
| 28 | 
            +
             | 
| 29 | 
            +
                def setupUi(sellingOffer)
         | 
| 30 | 
            +
                if sellingOffer.objectName.nil?
         | 
| 31 | 
            +
                    sellingOffer.objectName = "sellingOffer"
         | 
| 32 | 
            +
                end
         | 
| 33 | 
            +
                sellingOffer.resize(534, 276)
         | 
| 34 | 
            +
                @verticalLayoutWidget = Qt::Widget.new(sellingOffer)
         | 
| 35 | 
            +
                @verticalLayoutWidget.objectName = "verticalLayoutWidget"
         | 
| 36 | 
            +
                @verticalLayoutWidget.geometry = Qt::Rect.new(9, 39, 518, 179)
         | 
| 37 | 
            +
                @verticalLayout = Qt::VBoxLayout.new(@verticalLayoutWidget)
         | 
| 38 | 
            +
                @verticalLayout.objectName = "verticalLayout"
         | 
| 39 | 
            +
                @verticalLayout.setContentsMargins(0, 0, 0, 0)
         | 
| 40 | 
            +
                @gridLayout = Qt::GridLayout.new()
         | 
| 41 | 
            +
                @gridLayout.objectName = "gridLayout"
         | 
| 42 | 
            +
                @fee_input = Qt::LineEdit.new(@verticalLayoutWidget)
         | 
| 43 | 
            +
                @fee_input.objectName = "fee_input"
         | 
| 44 | 
            +
                @fee_input.minimumSize = Qt::Size.new(300, 0)
         | 
| 45 | 
            +
             | 
| 46 | 
            +
                @gridLayout.addWidget(@fee_input, 6, 1, 1, 1)
         | 
| 47 | 
            +
             | 
| 48 | 
            +
                @password_input = Qt::LineEdit.new(@verticalLayoutWidget)
         | 
| 49 | 
            +
                @password_input.objectName = "password_input"
         | 
| 50 | 
            +
                @password_input.echoMode = Qt::LineEdit::Password
         | 
| 51 | 
            +
             | 
| 52 | 
            +
                @gridLayout.addWidget(@password_input, 7, 1, 1, 1)
         | 
| 53 | 
            +
             | 
| 54 | 
            +
                @label_5 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 55 | 
            +
                @label_5.objectName = "label_5"
         | 
| 56 | 
            +
             | 
| 57 | 
            +
                @gridLayout.addWidget(@label_5, 7, 0, 1, 1)
         | 
| 58 | 
            +
             | 
| 59 | 
            +
                @label_6 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 60 | 
            +
                @label_6.objectName = "label_6"
         | 
| 61 | 
            +
             | 
| 62 | 
            +
                @gridLayout.addWidget(@label_6, 5, 0, 1, 1)
         | 
| 63 | 
            +
             | 
| 64 | 
            +
                @amount_input = Qt::LineEdit.new(@verticalLayoutWidget)
         | 
| 65 | 
            +
                @amount_input.objectName = "amount_input"
         | 
| 66 | 
            +
             | 
| 67 | 
            +
                @gridLayout.addWidget(@amount_input, 1, 1, 1, 1)
         | 
| 68 | 
            +
             | 
| 69 | 
            +
                @label_3 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 70 | 
            +
                @label_3.objectName = "label_3"
         | 
| 71 | 
            +
             | 
| 72 | 
            +
                @gridLayout.addWidget(@label_3, 1, 0, 1, 1)
         | 
| 73 | 
            +
             | 
| 74 | 
            +
                @label_4 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 75 | 
            +
                @label_4.objectName = "label_4"
         | 
| 76 | 
            +
             | 
| 77 | 
            +
                @gridLayout.addWidget(@label_4, 3, 0, 1, 1)
         | 
| 78 | 
            +
             | 
| 79 | 
            +
                @currency_box = Qt::ComboBox.new(@verticalLayoutWidget)
         | 
| 80 | 
            +
                @currency_box.objectName = "currency_box"
         | 
| 81 | 
            +
             | 
| 82 | 
            +
                @gridLayout.addWidget(@currency_box, 3, 1, 1, 1)
         | 
| 83 | 
            +
             | 
| 84 | 
            +
                @label_2 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 85 | 
            +
                @label_2.objectName = "label_2"
         | 
| 86 | 
            +
             | 
| 87 | 
            +
                @gridLayout.addWidget(@label_2, 6, 0, 1, 1)
         | 
| 88 | 
            +
             | 
| 89 | 
            +
                @time_input = Qt::LineEdit.new(@verticalLayoutWidget)
         | 
| 90 | 
            +
                @time_input.objectName = "time_input"
         | 
| 91 | 
            +
             | 
| 92 | 
            +
                @gridLayout.addWidget(@time_input, 5, 1, 1, 1)
         | 
| 93 | 
            +
             | 
| 94 | 
            +
                @btc_amount_input = Qt::LineEdit.new(@verticalLayoutWidget)
         | 
| 95 | 
            +
                @btc_amount_input.objectName = "btc_amount_input"
         | 
| 96 | 
            +
             | 
| 97 | 
            +
                @gridLayout.addWidget(@btc_amount_input, 2, 1, 1, 1)
         | 
| 98 | 
            +
             | 
| 99 | 
            +
                @label_7 = Qt::Label.new(@verticalLayoutWidget)
         | 
| 100 | 
            +
                @label_7.objectName = "label_7"
         | 
| 101 | 
            +
             | 
| 102 | 
            +
                @gridLayout.addWidget(@label_7, 2, 0, 1, 1)
         | 
| 103 | 
            +
             | 
| 104 | 
            +
             | 
| 105 | 
            +
                @verticalLayout.addLayout(@gridLayout)
         | 
| 106 | 
            +
             | 
| 107 | 
            +
                @label = Qt::Label.new(sellingOffer)
         | 
| 108 | 
            +
                @label.objectName = "label"
         | 
| 109 | 
            +
                @label.geometry = Qt::Rect.new(10, 10, 151, 21)
         | 
| 110 | 
            +
                @submit_button = Qt::PushButton.new(sellingOffer)
         | 
| 111 | 
            +
                @submit_button.objectName = "submit_button"
         | 
| 112 | 
            +
                @submit_button.enabled = false
         | 
| 113 | 
            +
                @submit_button.geometry = Qt::Rect.new(420, 230, 114, 32)
         | 
| 114 | 
            +
                @submit_button.autoDefault = false
         | 
| 115 | 
            +
                Qt::Widget.setTabOrder(@amount_input, @btc_amount_input)
         | 
| 116 | 
            +
                Qt::Widget.setTabOrder(@btc_amount_input, @currency_box)
         | 
| 117 | 
            +
                Qt::Widget.setTabOrder(@currency_box, @time_input)
         | 
| 118 | 
            +
                Qt::Widget.setTabOrder(@time_input, @fee_input)
         | 
| 119 | 
            +
                Qt::Widget.setTabOrder(@fee_input, @password_input)
         | 
| 120 | 
            +
                Qt::Widget.setTabOrder(@password_input, @submit_button)
         | 
| 121 | 
            +
             | 
| 122 | 
            +
                retranslateUi(sellingOffer)
         | 
| 123 | 
            +
             | 
| 124 | 
            +
                Qt::MetaObject.connectSlotsByName(sellingOffer)
         | 
| 125 | 
            +
                end # setupUi
         | 
| 126 | 
            +
             | 
| 127 | 
            +
                def setup_ui(sellingOffer)
         | 
| 128 | 
            +
                    setupUi(sellingOffer)
         | 
| 129 | 
            +
                end
         | 
| 130 | 
            +
             | 
| 131 | 
            +
                def retranslateUi(sellingOffer)
         | 
| 132 | 
            +
                sellingOffer.windowTitle = Qt::Application.translate("SellingOffer", "New Simple Send", nil, Qt::Application::UnicodeUTF8)
         | 
| 133 | 
            +
                @fee_input.placeholderText = ''
         | 
| 134 | 
            +
                @label_5.text = Qt::Application.translate("SellingOffer", "Password", nil, Qt::Application::UnicodeUTF8)
         | 
| 135 | 
            +
                @label_6.text = Qt::Application.translate("SellingOffer", "Time (in blocks)", nil, Qt::Application::UnicodeUTF8)
         | 
| 136 | 
            +
                @amount_input.placeholderText = ''
         | 
| 137 | 
            +
                @label_3.text = Qt::Application.translate("SellingOffer", "Amount to sell", nil, Qt::Application::UnicodeUTF8)
         | 
| 138 | 
            +
                @label_4.text = Qt::Application.translate("SellingOffer", "Currency", nil, Qt::Application::UnicodeUTF8)
         | 
| 139 | 
            +
                @label_2.text = Qt::Application.translate("SellingOffer", "Transaction fee", nil, Qt::Application::UnicodeUTF8)
         | 
| 140 | 
            +
                @label_7.text = Qt::Application.translate("SellingOffer", "Total amount of BTC", nil, Qt::Application::UnicodeUTF8)
         | 
| 141 | 
            +
                @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)
         | 
| 142 | 
            +
                @submit_button.text = Qt::Application.translate("SellingOffer", "Send", nil, Qt::Application::UnicodeUTF8)
         | 
| 143 | 
            +
                end # retranslateUi
         | 
| 144 | 
            +
             | 
| 145 | 
            +
                def retranslate_ui(sellingOffer)
         | 
| 146 | 
            +
                    retranslateUi(sellingOffer)
         | 
| 147 | 
            +
                end
         | 
| 148 | 
            +
             | 
| 149 | 
            +
            end
         | 
| 150 | 
            +
             | 
| 151 | 
            +
            module Ui
         | 
| 152 | 
            +
                class SellingOffer < Ui_SellingOffer
         | 
| 153 | 
            +
                end
         | 
| 154 | 
            +
            end  # module Ui
         | 
| 155 | 
            +
             |