diff --git a/src/qt/forms/tradingdialog.ui b/src/qt/forms/tradingdialog.ui index cd969281..e262d896 100644 --- a/src/qt/forms/tradingdialog.ui +++ b/src/qt/forms/tradingdialog.ui @@ -6,5024 +6,5579 @@ 0 0 - 849 - 480 + 1031 + 594 Dialog - - - true - - - - 10 - 50 - 831 - 421 - - - - - 50 - false - - - - QTabWidget::North - - - QTabWidget::Rounded - - - 1 - - - - Trade - - - - - 140 - 130 - 75 - 23 - - - - Buy TX - - - - - - 10 - 40 - 46 - 23 - - - - - 75 - true - - - - Units - - - - - - 150 - 40 - 101 - 23 - - - - - 9 - 75 - true - - - - - - - 150 - 70 - 101 - 23 - - - - - 9 - 75 - true - - - - - - - 260 - 40 - 31 - 23 - - - - TX - - - - - - 260 - 70 - 21 - 23 - - - - BTC - - - - - - 10 - 70 - 46 - 23 - - - - - 75 - true - - - - Bid - - - - - - 10 - 100 - 71 - 16 - - - - - 75 - true - - - - Order Type - - - - - - 80 - 40 - 61 - 23 - - - - - 10 - - - - Max - - - - - - 80 - 70 - 61 - 23 - - - - - 10 - - - - - - - 80 - 100 - 61 - 23 - - - - - 10 - - - - - - - 80 - 11 - 221 - 16 - - - - - - - - 75 - true - - - - BTC Available: - - - - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 75 - true - - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - - - - - - - 75 - true - - - - BTC - - - - - - - - - 60 - 100 - 271 - 16 - - - - - - - - 75 - true - - - - Total w/ 0.25% Fee - - - - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 75 - true - - - - false - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - - 50 - false - - - - BTC - - - - - - - - - 400 - 10 - 221 - 16 - - - - - - - - 75 - true - - - - TX Available: - - - - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 75 - true - - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - - - - - - - 75 - true - - - - TX - - - - - - - - - 400 - 40 - 61 - 23 - - - - - 10 - - - - Max - - - - - - 470 - 40 - 101 - 23 - - - - - 9 - 75 - true - - - - - - - 580 - 40 - 31 - 23 - - - - TX - - - - - - 400 - 70 - 61 - 23 - - - - - 10 - - - - - - - 470 - 70 - 101 - 23 - - - - - 9 - 75 - true - - - - - - - 580 - 70 - 21 - 23 - - - - BTC - - - - - - 400 - 100 - 61 - 23 - - - - - 10 - - - - - - - 380 - 100 - 271 - 16 - - - - - - - - 75 - true - - - - Total w/ 0.25% Fee - - - + + + + + + 0 + 0 + + + + + 849 + 35 + + + + + 16777215 + 220 + + + + QFrame::NoFrame + + + QFrame::Raised + + + 0 + + - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 75 - true - - - - false - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - - 50 - false - - - - BTC - - - - - - - - - 460 - 130 - 75 - 23 - - - - Sell TX - - - - - - Send - - - - - 140 - 70 - 101 - 23 - - - - - 9 - 75 - true - - - - - - - 60 - 0 - 171 - 31 - - - - - 18 - 75 - true - - - - Cross-Send - - - - - - 10 - 140 - 271 - 16 - - - - - - - - 75 - true - - - - Total w/ Fees : - - - - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 75 - true - - - - false - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - - 50 - false - - - - BTC - - - - - - - - - 70 - 100 - 311 - 23 - - - - - 9 - 75 - true - - - - - - - 10 - 100 - 61 - 23 - - - - - 75 - true - - - - Address: - - - - - - 270 - 70 - 21 - 23 - - - - BTC - - - - - - 90 - 180 - 75 - 23 - - - - Send - - - - - - 10 - 230 - 491 - 31 - - - - - 10 - 50 - false - - - - <html><head/><body><p><span style=" font-size:9pt;">Sending will </span><span style=" font-size:9pt; font-weight:600;">SELL</span><span style=" font-size:9pt;"> your available </span><span style=" font-size:9pt; font-weight:600;">TX</span><span style=" font-size:9pt;"> to </span><span style=" font-size:9pt; font-weight:600;">RECEIVE Bitcoin</span><span style=" font-size:9pt;">.</span></p></body></html> - - - - - - 10 - 250 - 431 - 31 - - - - - 10 - 50 - false - - - - <html><head/><body><p><span style=" font-size:9pt;">By using this feature you acknowledge that a minimum withdrawal fee</span></p></body></html> - - - - - - 10 - 270 - 431 - 31 - - - - - 10 - 50 - false - - - - <html><head/><body><p><span style=" font-size:9pt;">of 0.002 and 0.25% will be taken by Bittrex for using their services</span></p></body></html> - - - - - - 10 - 290 - 431 - 31 - - - - - 10 - 50 - false - - - - - - - - - - 10 - 160 - 271 - 16 - - - - - - - - 75 - true - - - - Lowest price: - - - - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 75 - true - - - - false - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - - 50 - false - - - - BTC - - + + + + + + 151 + 0 + + + + + 8 + 50 + false + + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 201 + 0 + + + + + 8 + 50 + false + + + + 0.000000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 181 + 0 + + + + + 8 + 50 + false + + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 171 + 0 + + + + + 8 + 50 + false + + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + - - - - 10 - 350 - 81 - 21 - - - - - 10 - 75 - true - - - - REMINDER: - - - - - - 100 - 360 - 301 - 21 - - - - - 8 - 50 - false - - - - if you dont have a password your bittrex acount will - - - - - - 100 - 350 - 301 - 16 - - - - - 8 - 50 - false - - - - Encrypt and backup your wallet when using this feature, - - - - - - 100 - 370 - 301 - 21 - + + + + + true - 8 50 false - - be accessible 24/7 - - - - - - 80 - 70 - 61 - 23 - - - - - 75 - true - - - - Amount: - + + QTabWidget::North + + + QTabWidget::Rounded + + + 6 + + + + Trade + + + + + + + 8 + + + + Demand: 0.00000000 TX + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Supply: 0.00000000 TX + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Bids: 0000 + + + + + + + 0.00000000 BTC + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Asks: 0000 + + + + + + + 0.00000000 BTC + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + 481 + 0 + + + + + 9 + 50 + false + + + + + + + + Qt::Vertical + + + + + + + + 481 + 0 + + + + + 9 + 50 + false + + + + + + + + Qt::Horizontal + + + QSizePolicy::Preferred + + + + 28 + 138 + + + + + + + + + 75 + true + + + + Qt::LeftToRight + + + false + + + Units + + + Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft + + + + + + + + + + 75 + true + + + + BTC Available: + + + + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 75 + true + + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + + + + + 75 + true + + + + BTC + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 188 + 138 + + + + + + + + + + + 75 + true + + + + TX Available: + + + + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 75 + true + + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + + + + + 75 + true + + + + TX + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 98 + 138 + + + + + + + + + 10 + + + + Max + + + + + + + + 137 + 0 + + + + + 9 + 75 + true + + + + + + + + TX + + + + + + + + 10 + + + + Max + + + + + + + + 137 + 0 + + + + + 9 + 75 + true + + + + + + + + TX + + + + + + + + 75 + true + + + + Bid + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + + + + + + 10 + + + + + + + + + 137 + 0 + + + + + 9 + 75 + true + + + + + + + + BTC + + + + + + + + 10 + + + + + + + + + 137 + 0 + + + + + 9 + 75 + true + + + + + + + + BTC + + + + + + + + + + 75 + true + + + + Total w/ 0.25% Fee + + + + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 75 + true + + + + false + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 50 + false + + + + BTC + + + + + + + + + + + + 75 + true + + + + Total w/ 0.25% Fee + + + + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 75 + true + + + + false + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 50 + false + + + + BTC + + + + + + + + + Buy TX + + + + + + + Sell TX + + + + + + + + Send + + + + + + + 18 + 75 + true + + + + Cross-Send + + + Qt::AlignCenter + + + + + + + Qt::Horizontal + + + + 82 + 358 + + + + + + + + + 10 + 50 + false + + + + <html><head/><body><p align="center"><span style=" font-weight:600; text-decoration: underline;">Instructions:</span></p><p align="center">To use the cross sending feature you need to have </p><p align="center">TX available to spend on Bittrex. If you don't have any </p><p align="center">you can find your deposit address on the &quot;Balance&quot; tab.</p><p align="center">1. Enter the amount you want to receive in Bitcoin.</p><p align="center">2. Enter the Bitcoin address you are sending to.</p><p align="center">3. Check that the Total with fee's is correct.</p><p align="center">4. Press send and watch the magic happen.</p><p align="center"><span style=" font-weight:600; text-decoration: underline;">Notes.</span></p><p align="center"><span style=" font-size:7pt;">Total w/ fees: N/A means you dont have enough TX to sell !</span></p><p align="center"><span style=" font-size:7pt;">All trades are done through Bittrex using your own balance and API keys.</span></p><p align="center"><span style=" font-size:7pt;">Encrypt and backup your wallet when using this feature.</span></p><p align="center"><span style=" font-size:7pt;">If you don't have a password you bittrex account will be accessible 24/7</span></p><p align="center"><span style=" font-size:7pt;">Withdrawal fee of 0.002 and 0.25% taken by Bittrex.</span></p></body></html> + + + + + + + Qt::Horizontal + + + + 212 + 368 + + + + + + + + + 10 + 50 + false + + + + <html><head/><body><p><span style=" font-size:9pt; font-weight:600;">Warning:</span><span style=" font-size:9pt;"> This feature is in </span><span style=" font-size:9pt; font-weight:600;">ALPHA ! USE AT OWN RISK !</span></p></body></html> + + + + + + + + + + 10 + 75 + true + + + + BTC Balance: + + + + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 10 + 75 + true + + + + false + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 10 + 50 + false + + + + BTC + + + + + + + + + + + + 10 + 75 + true + + + + TX Balance: + + + + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 10 + 75 + true + + + + false + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 10 + 50 + false + + + + TX + + + + + + + + + + 10 + 75 + true + + + + Amount: + + + + + + + + 10 + 75 + true + + + + + + + + + 10 + + + + Max + + + + + + + + 10 + 75 + true + + + + Address: + + + + + + + + 10 + 75 + true + + + + + + + + + + + 10 + 75 + true + + + + Lowest price: + + + + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 10 + 75 + true + + + + false + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 10 + 50 + false + + + + BTC + + + + + + + + + + + + 10 + 75 + true + + + + Amount in TX: + + + + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 10 + 75 + true + + + + false + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 10 + 50 + false + + + + TX + + + + + + + + + + + + 10 + 75 + true + + + + Total w/ Fees : + + + + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 0 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 127 + 212 + 127 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 255 + 0 + + + + + + + 0 + 212 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 113 + 0 + + + + + + + 0 + 85 + 0 + + + + + + + 255 + 255 + 255 + + + + + + + 0 + 85 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 170 + 0 + + + + + + + 255 + 255 + 220 + + + + + + + 0 + 0 + 0 + + + + + + + + + 10 + 75 + true + + + + false + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 10 + 50 + false + + + + BTC + + + + + + + + + Send + + + + + + + + 10 + 50 + false + + + + + + + + + + + Qt::Vertical + + + QSizePolicy::MinimumExpanding + + + + 338 + 145 + + + + + + + + Qt::Vertical + + + + 915 + 73 + + + + + + CSUnitsInput + label232_4 + CSUnitsAddress + label_8 + CSUnitsBtn + label232_8 + label_27 + label232_13 + label232_15 + CS_Max_Amount + verticalSpacer_3 + horizontalSpacer_6 + horizontalSpacer_7 + verticalSpacer_4 + + + + Market History + + + + + + + + + + Open Orders + + + + + + + + + + Trade history + + + + + + + + + + Balance + + + + + + + 10 + 75 + true + + + + TX Balance: + + + + + + + + 10 + + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 10 + 75 + true + + + + BTC Balance: + + + + + + + + 10 + + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + Qt::Horizontal + + + + 478 + 488 + + + + + + + + + 10 + 75 + true + + + + TX Available: + + + + + + + + 10 + + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 10 + 75 + true + + + + BTC Available: + + + + + + + + 10 + + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 10 + 75 + true + + + + TX Pending: + + + + + + + + 10 + + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 10 + 75 + true + + + + BTC Pending: + + + + + + + + 10 + + + + 0.00000000 + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + + 10 + + + + Generate TX Coin Deposit Address + + + + + + + + 10 + 75 + true + + + + Deposit Address: + + + + + + + + 311 + 0 + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 0 + 255 + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 0 + 255 + + + + + + + + + 120 + 120 + 120 + + + + + + + 120 + 120 + 120 + + + + + + + + + 10 + 75 + true + + + + + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + + + + + 10 + 75 + true + + + + Withdraw TX: + + + + + + + + 10 + 75 + true + + + + Amount: + + + + + + + + 10 + + + + Max + + + + + + + + 9 + 75 + true + + + + + + + + + + + + 10 + 75 + true + + + + Address: + + + + + + + + 9 + 75 + true + + + + + + + + + 10 + + + + Withdraw + + + + + + + Qt::Vertical + + + + 428 + 262 + + + + + + label_31 + label_15 + label_12 + label_14 + label_13 + label_11 + BitcoinBalanceLabel + TXBalanceLabel + TXAvailableLabel_2 + TXPendingLabel + BitcoinAvailableLabel + BitcoinPendingLabel + label_33 + GenDepositBTN + DepositAddressLabel + Withdraw_Max_Amount + label_34 + WithdrawUnitsInput + label_10 + label_26 + WithdrawAddress + WithdrawUnitsBtn + horizontalSpacer_4 + verticalSpacer + + + + Settings + + + + + + + 75 + true + + + + API Key + + + + + + + + + + + + + + Paste from clipboard + + + + + + + :/icons/editpaste:/icons/editpaste + + + Alt+P + + + + + + + Qt::Horizontal + + + + 519 + 488 + + + + + + + + + 75 + true + + + + Secret Key + + + + + + + + + + Paste from clipboard + + + + + + + :/icons/editpaste:/icons/editpaste + + + Alt+P + + + + + + + + 75 + true + + + + Password + + + + + + + QLineEdit::Password + + + + + + + + 115 + 0 + + + + Load API Keys + + + + + + + + 125 + 0 + + + + Update API Keys + + + + + + + + 115 + 0 + + + + Save API Keys + + + + + + + + 10 + 50 + false + + + + <html><head/><body><p>Saving keys:</p><p>1) Enter in API Keys found at <a href="https://bittrex.com/Account/ManageApiKey"><span style=" text-decoration: underline; color:#0000ff;">Bittrex</span></a></p><p>2) Enter Password</p><p>3) Save API Keys</p><p>4) Start trading on Bittrex</p></body></html> + + + + + + + + 10 + 50 + false + + + + <html><head/><body><p>Loading keys:</p><p>1) Enter Password</p><p>2) Load API Keys</p><p>3) Start trading on Bittrex</p></body></html> + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + + + + + Qt::Vertical + + + + 358 + 247 + + + + + + label + ApiKeyInput + label_2 + SecretKeyInput + UpdateKeys + SaveKeys + LoadKeys + label232_16 + label232_17 + label_28 + PasswordInput + horizontalSpacer_3 + verticalSpacer_2 + KeyPasteButton + SecretPasteButton + - - - - 10 - 210 - 491 - 31 - - - - - 10 - 50 - false - - - - <html><head/><body><p><span style=" font-size:9pt; font-weight:600;">Warning:</span><span style=" font-size:9pt;"> This feature is in </span><span style=" font-size:9pt; font-weight:600;">ALPHA ! USE AT OWN RISK !</span></p></body></html> - - - - - - 10 - 290 - 431 - 31 - - - - - 10 - 50 - false - - - - <html><head/><body><p><span style=" font-size:9pt;">Careful when sending large amounts while in </span><span style=" font-size:9pt; font-weight:600;">APLHA</span><span style=" font-size:9pt;"> !</span></p></body></html> - - - - - - 440 - 0 - 371 - 371 - - - - - 10 - 50 - false - - - - <html><head/><body><p align="center"><span style=" font-weight:600; text-decoration: underline;">Instructions:</span></p><p align="center">To use the cross sending feature you need to have </p><p align="center">TX available to spend on Bittrex. If you don't have any </p><p align="center">you can find your deposit address on the &quot;Balance&quot; tab.</p><p align="center">1. Enter the amount you want to receive in Bitcoin.</p><p align="center">2. Enter the Bitcoin address you are sending to.</p><p align="center">3. Check that the Total with fee's is correct.</p><p align="center">4. Press send and watch the magic happen.</p><p align="center"><span style=" font-weight:600; text-decoration: underline;">Notes.</span></p><p align="center"><span style=" font-size:7pt;">Total w/ fees.</span></p><p align="center"><span style=" font-size:7pt;">N/A means you dont have enough TX to sell !</span></p><p align="center"><span style=" font-size:7pt;">All trades are done through Bittrex using your own balance and API keys.</span></p><p align="center"><span style=" font-size:7pt;">The only 3rd party that needs to be trusted in this instance is the exchange !</span></p></body></html> - - - - - - 11 - 41 - 161 - 16 - - - - - 75 - true - - - - TX Available on Bittrex: - - - - - - 180 - 41 - 72 - 16 - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 0 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 127 - 212 - 127 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 255 - 0 - - - - - - - 0 - 212 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 113 - 0 - - - - - - - 0 - 85 - 0 - - - - - - - 255 - 255 - 255 - - - - - - - 0 - 85 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 170 - 0 - - - - - - - 255 - 255 - 220 - - - - - - - 0 - 0 - 0 - - - - - - - - - 75 - true - - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - - - - - 10 - 70 - 61 - 23 - - - - - 10 - - - - Max - - - label232_3 - TXAvailableLabel_3 - CSUnitsInput - label232_4 - layoutWidget_6 - CSUnitsAddress - label_8 - label_9 - CSUnitsBtn - label232_5 - label232_8 - layoutWidget_7 - label232_9 - label232_10 - label232_11 - label232_12 - label_27 - label232_13 - label232_14 - label232_15 - label232_6 - label232_7 - CS_Max_Amount - - - - Order Book - - - - - 10 - 60 - 391 - 321 - - - - - 9 - 50 - false - - - - - - - 420 - 60 - 391 - 321 - - - - - 9 - 50 - false - - - - - - - 10 - 10 - 91 - 16 - - - - Bids: 0000 - - - - - - 420 - 10 - 91 - 16 - - - - Asks: 0000 - - - - - - 570 - 10 - 241 - 16 - - - - Supply: 0.00000000 TX - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - 160 - 10 - 241 - 16 - - - - - 8 - - - - Demand: 0.00000000 TX - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - 220 - 30 - 181 - 16 - - - - 0.00000000 BTC - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - 630 - 30 - 181 - 16 - - - - 0.00000000 BTC - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - 400 - 60 - 20 - 321 - - - - Qt::Vertical - - - - - - Market History - - - - - 10 - 10 - 801 - 371 - - - - - - - Open Orders - - - - - 10 - 40 - 801 - 341 - - - - - - - 10 - 10 - 121 - 17 - - - - Advanced View - - - - - - Trade history - - - - - 0 - 10 - 821 - 361 - - - - - - - Balance - - - - - 360 - 30 - 150 - 16 - - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - 120 - 30 - 150 - 16 - - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - 20 - 30 - 91 - 16 - - - - - 75 - true - - - - TX Balance: - - - - - - 260 - 30 - 91 - 16 - - - - - 75 - true - - - - BTC Balance: - - - - - - 120 - 60 - 150 - 16 - - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - 20 - 60 - 91 - 16 - - - - - 75 - true - - - - TX Available: - - - - - - 20 - 90 - 91 - 16 - - - - - 75 - true - - - - TX Pending: - - - - - - 120 - 90 - 150 - 16 - - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - 260 - 60 - 101 - 16 - - - - - 75 - true - - - - BTC Available: - - - - - - 360 - 60 - 150 - 16 - - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - 260 - 90 - 91 - 16 - - - - - 75 - true - - - - BTC Pending: - - - - - - 360 - 90 - 150 - 16 - - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - 20 - 170 - 191 - 16 - - - - - 75 - true - - - - Bittrex TX Deposit Address: - - - - - - 20 - 130 - 411 - 23 - - - - Generate TX Coin Deposit Address - - - - - - 220 - 170 - 261 - 16 - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 0 - 255 - - - - - - - - - 0 - 0 - 0 - - - - - - - 0 - 0 - 255 - - - - - - - - - 120 - 120 - 120 - - - - - - - 120 - 120 - 120 - - - - - - - - - 75 - true - - - - - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - - - - - 110 - 280 - 81 - 23 - - - - - 10 - - - - Max - - - - - - 20 - 240 - 81 - 16 - - - - - 8 - 75 - true - - - - Withdraw TX: - - - - - - 200 - 280 - 171 - 23 - - - - - 9 - 75 - true - - - - - - - - - - 20 - 310 - 81 - 23 - - - - - 75 - true - - - - TX Address: - - - - - - 20 - 280 - 61 - 23 - - - - - 75 - true - - - - Amount: - - - - - - 110 - 310 - 361 - 23 - - - - - 9 - 75 - true - - - - - - - 110 - 350 - 75 - 23 - - - - Withdraw - - - label_31 - label_15 - label_12 - label_14 - label_13 - label_11 - BitcoinBalanceLabel - TXBalanceLabel - TXAvailableLabel_2 - TXPendingLabel - BitcoinAvailableLabel - BitcoinPendingLabel - label_33 - GenDepositBTN - DepositAddressLabel - Withdraw_Max_Amount - label_34 - WithdrawUnitsInput - label_10 - label_26 - WithdrawAddress - WithdrawUnitsBtn - - - - Settings - - - - - 200 - 50 - 300 - 23 - - - - - - - - - - 30 - 80 - 71 - 20 - - - - - 75 - true - - - - Secret Key - - - - - - 30 - 50 - 51 - 20 - - - - - 75 - true - - - - API Key - - - - - - 200 - 80 - 300 - 23 - - - - - - - 190 - 150 - 151 - 23 - - - - Update API Keys - - - - - - 350 - 150 - 151 - 23 - - - - Save API Keys - - - - - - 30 - 150 - 151 - 23 - - - - Load API Keys - - - - - - 20 - 200 - 231 - 131 - - - - - 10 - 50 - false - - - - <html><head/><body><p>Saving keys:</p><p>1) Enter in API Keys found at <a href="https://bittrex.com/Account/ManageApiKey"><span style=" text-decoration: underline; color:#0000ff;">Bittrex</span></a></p><p>2) Enter Password</p><p>3) Save API Keys</p><p>4) Start trading on Bittrex</p></body></html> - - - - - - 280 - 190 - 221 - 121 - - - - - 10 - 50 - false - - - - <html><head/><body><p>Loading keys:</p><p>1) Enter Password</p><p>2) Load API Keys</p><p>3) Start trading on Bittrex</p></body></html> - - - - - - 30 - 110 - 71 - 20 - - - - - 75 - true - - - - Password - - - - - - 200 - 110 - 300 - 23 - - - - QLineEdit::Password - - - label - ApiKeyInput - label_2 - SecretKeyInput - UpdateKeys - SaveKeys - LoadKeys - label232_16 - label232_17 - label_28 - PasswordInput - - - - - - 0 - 0 - 849 - 51 - - - - - 0 - 0 - - - - - 849 - 30 - - - - - 16777215 - 220 - - - - QFrame::NoFrame - - - QFrame::Raised - - - 0 - - - - - - - - - 151 - 0 - - - - - 8 - 50 - false - - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - - 201 - 0 - - - - - 8 - 50 - false - - - - 0.000000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - - 181 - 0 - - - - - 8 - 50 - false - - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - - 171 - 0 - - - - - 8 - 50 - false - - - - 0.00000000 - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - - - - - - - + + - + + + diff --git a/src/qt/tradingdialog.cpp b/src/qt/tradingdialog.cpp index 35b4a581..56ef5d51 100644 --- a/src/qt/tradingdialog.cpp +++ b/src/qt/tradingdialog.cpp @@ -6,6 +6,7 @@ #include #include +#include #include #include #include @@ -42,35 +43,32 @@ tradingDialog::tradingDialog(QWidget *parent) : ui->SellCostLabel->setPalette(sample_palette); ui->TXAvailableLabel->setPalette(sample_palette); ui->TXAvailableLabel_2->setPalette(sample_palette); - ui->TXAvailableLabel_3->setPalette(sample_palette); + ui->BittrexTXLabel->setPalette(sample_palette); + ui->BittrexBTCLabel->setPalette(sample_palette); ui->BtcAvailableLbl_2->setPalette(sample_palette); //Set tabs to inactive ui->TradingTabWidget->setTabEnabled(0,false); ui->TradingTabWidget->setTabEnabled(1,false); + ui->TradingTabWidget->setTabEnabled(3,false); ui->TradingTabWidget->setTabEnabled(4,false); ui->TradingTabWidget->setTabEnabled(5,false); - ui->TradingTabWidget->setTabEnabled(6,false); // Listen for keypress connect(ui->PasswordInput, SIGNAL(returnPressed()),ui->LoadKeys,SIGNAL(clicked())); /*OrderBook Table Init*/ - CreateOrderBookTables(*ui->BidsTable,QStringList() << "TOTAL(BTC)"<< "TX(SIZE)" << "BID(BTC)"); - CreateOrderBookTables(*ui->AsksTable,QStringList() << "ASK(BTC)" << "TX(SIZE)" << "TOTAL(BTC)"); + CreateOrderBookTables(*ui->BidsTable,QStringList() << "SUM(BTC)" << "TOTAL(BTC)" << "TX(SIZE)" << "BID(BTC)"); + CreateOrderBookTables(*ui->AsksTable,QStringList() << "ASK(BTC)" << "TX(SIZE)" << "TOTAL(BTC)" << "SUM(BTC)"); /*OrderBook Table Init*/ /*Market History Table Init*/ ui->MarketHistoryTable->setColumnCount(5); ui->MarketHistoryTable->verticalHeader()->setVisible(false); - ui->MarketHistoryTable->setHorizontalHeaderLabels(QStringList()<<"DATE"<<"BUY/SELL"<<"BID/ASK"<<"TOTAL UNITS(TX)"<<"TOTAL COST(BTC"); ui->MarketHistoryTable->setRowCount(0); - int Cellwidth = ui->MarketHistoryTable->width() / 5; - ui->MarketHistoryTable->horizontalHeader()->setResizeMode(QHeaderView::Stretch); - - ui->MarketHistoryTable->horizontalHeader()->resizeSection(1,Cellwidth); // column 1, width 50 + ui->MarketHistoryTable->horizontalHeader()->resizeSection(1,Cellwidth); ui->MarketHistoryTable->horizontalHeader()->resizeSection(2,Cellwidth); ui->MarketHistoryTable->horizontalHeader()->resizeSection(3,Cellwidth); ui->MarketHistoryTable->horizontalHeader()->resizeSection(4,Cellwidth); @@ -80,56 +78,46 @@ tradingDialog::tradingDialog(QWidget *parent) : /*Market History Table Init*/ /*Account History Table Init*/ - ui->TradeHistoryTable->setColumnCount(13); - - ui->TradeHistoryTable->setHorizontalHeaderLabels(QStringList() << "Date Time" << "Exchange" << "OrderType" << "Limit" << "QTY" << "QTY_Rem" << "Price" << "PricePerUnit" << - "Conditional" << "Condition" << "Condition Target" << "ImmediateOrCancel" << "Closed"); + ui->TradeHistoryTable->setColumnCount(9); + ui->TradeHistoryTable->verticalHeader()->setVisible(false); + ui->TradeHistoryTable->setHorizontalHeaderLabels(QStringList() << "Date Time" << "Exchange" << "OrderType" << "Limit" << "QTY" << "QTY_Rem" << "Price" << "PricePerUnit" << "Closed"); ui->TradeHistoryTable->setRowCount(0); + Cellwidth = ui->TradeHistoryTable->width() / 9; + ui->TradeHistoryTable->horizontalHeader()->setResizeMode(QHeaderView::Stretch); + ui->TradeHistoryTable->horizontalHeader()->resizeSection(1,Cellwidth); + ui->TradeHistoryTable->horizontalHeader()->resizeSection(2,Cellwidth); + ui->TradeHistoryTable->horizontalHeader()->resizeSection(3,Cellwidth); + ui->TradeHistoryTable->horizontalHeader()->resizeSection(4,Cellwidth); + ui->TradeHistoryTable->horizontalHeader()->resizeSection(5,Cellwidth); + ui->TradeHistoryTable->horizontalHeader()->resizeSection(6,Cellwidth); + ui->TradeHistoryTable->horizontalHeader()->resizeSection(7,Cellwidth); + ui->TradeHistoryTable->horizontalHeader()->resizeSection(8,Cellwidth); + ui->TradeHistoryTable->horizontalHeader()->resizeSection(9,Cellwidth); ui->TradeHistoryTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft); ui->TradeHistoryTable->horizontalHeader()->setStyleSheet("QHeaderView::section, QHeaderView::section * {font-weight :bold;}"); - ui->TradeHistoryTable->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOn); /*Account History Table Init*/ /*Open Orders Table*/ - ui->OpenOrdersTable->setColumnCount(15); - ui->OpenOrdersTable->setHorizontalHeaderLabels(QStringList() << "OrderId" << "Date Time" << "Exchange" << "OrderType" << "Limit" << "QTY" << "QTY_Rem" << "Price" << "PricePerUnit" << "CancelInitiated" << - "Conditional" << "Condition" << "Condition Target" << "ImmediateOrCancel" << "Cancel Order"); + ui->OpenOrdersTable->setColumnCount(10); + ui->OpenOrdersTable->verticalHeader()->setVisible(false); + ui->OpenOrdersTable->setHorizontalHeaderLabels(QStringList() << "OrderId" << "Date Time" << "Exchange" << "OrderType" << "Limit" << "QTY" << "QTY_Rem" << "Price" << "PricePerUnit" << "Cancel Order"); ui->OpenOrdersTable->setRowCount(0); + Cellwidth = ui->TradeHistoryTable->width() / 9; + ui->OpenOrdersTable->horizontalHeader()->setResizeMode(QHeaderView::Stretch); + ui->OpenOrdersTable->horizontalHeader()->resizeSection(2,Cellwidth); + ui->OpenOrdersTable->horizontalHeader()->resizeSection(3,Cellwidth); + ui->OpenOrdersTable->horizontalHeader()->resizeSection(4,Cellwidth); + ui->OpenOrdersTable->horizontalHeader()->resizeSection(5,Cellwidth); + ui->OpenOrdersTable->horizontalHeader()->resizeSection(6,Cellwidth); + ui->OpenOrdersTable->horizontalHeader()->resizeSection(7,Cellwidth); + ui->OpenOrdersTable->horizontalHeader()->resizeSection(8,Cellwidth); + ui->OpenOrdersTable->horizontalHeader()->resizeSection(9,Cellwidth); ui->OpenOrdersTable->setColumnHidden(0,true); ui->OpenOrdersTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft); ui->OpenOrdersTable->horizontalHeader()->setStyleSheet("QHeaderView::section, QHeaderView::section * {font-weight :bold;}"); - ui->OpenOrdersTable->horizontalHeader()->resizeSection(1,120); // column 1, width 50 - ui->OpenOrdersTable->horizontalHeader()->resizeSection(2,70); - ui->OpenOrdersTable->horizontalHeader()->resizeSection(3,70); - ui->OpenOrdersTable->horizontalHeader()->resizeSection(4,70); - ui->OpenOrdersTable->horizontalHeader()->resizeSection(5,70); - ui->OpenOrdersTable->horizontalHeader()->resizeSection(6,70); - ui->OpenOrdersTable->horizontalHeader()->resizeSection(7,70); - - ui->OpenOrdersTable->setColumnHidden(9,true); - ui->OpenOrdersTable->setColumnHidden(10,true); - ui->OpenOrdersTable->setColumnHidden(11,true); - ui->OpenOrdersTable->setColumnHidden(12,true); - ui->OpenOrdersTable->setColumnHidden(13,true); - connect (ui->OpenOrdersTable, SIGNAL(cellClicked(int,int)), this, SLOT(CancelOrderSlot(int, int))); /*Open Orders Table*/ - - /*populate static combo values*/ - ui->BuyBidcomboBox -> addItems(QStringList()<<"Last"<<"Bid"<<"Ask"); - ui->buyOrdertypeCombo->hide(); - //ui->buyOrdertypeCombo-> addItems(QStringList()<<"Limit"<<"Conditional"); - ui->SellBidcomboBox -> addItems(QStringList()<<"Last"<<"Bid"<<"Ask"); - //ui->SellOrdertypeCombo-> addItems(QStringList()<<"Limit"<<"Conditional"); - ui->SellOrdertypeCombo->hide(); - ui->OrderTypeL->hide(); - //ui->BuyTimeInForceCombo-> addItems(QStringList()<<"Good 'Til Cancelled"<<"Immediate Or Cancel"); - //ui->BuyConditionCombo-> addItems(QStringList()<<"Greater Than Or Equal To"<<"Less Than Or Equal To"); - //ui->BuyConditionCombo->hide(); - //ui->BuyWhenPriceLabel->hide(); - //ui->ConditionLineEdit->hide(); - /*populate static combo values*/ } void tradingDialog::InitTrading() @@ -306,16 +294,17 @@ return 0; void tradingDialog::CreateOrderBookTables(QTableWidget& Table,QStringList TableHeader){ - Table.setColumnCount(3); + Table.setColumnCount(4); Table.verticalHeader()->setVisible(false); Table.setHorizontalHeaderLabels(TableHeader); - int Cellwidth = Table.width() / 3; + int Cellwidth = Table.width() / 4; Table.horizontalHeader()->resizeSection(1,Cellwidth); // column 1, width 50 Table.horizontalHeader()->resizeSection(2,Cellwidth); Table.horizontalHeader()->resizeSection(3,Cellwidth); + Table.horizontalHeader()->resizeSection(4,Cellwidth); Table.setRowCount(0); @@ -379,16 +368,6 @@ void tradingDialog::ParseAndPopulateOpenOrdersTable(QString Response){ RowCount = ui->OpenOrdersTable->rowCount(); - QString ios; - QString IsConditional; - QString ConditionTarget; - QString CancelInitiated; - - obj["ImmediateOrCancel"].toBool() == true ? (ios = "true") : ( ios = "false"); - obj["IsConditional"].toBool() == true ? (IsConditional = "true") : ( IsConditional = "false"); - obj["ConditionTarget"].toBool() == true ? (ConditionTarget = "true") : ( ConditionTarget = "false"); - obj["CancelInitiated"].toBool() == true ? (CancelInitiated = "true") : ( CancelInitiated = "false"); - ui->OpenOrdersTable->insertRow(RowCount); ui->OpenOrdersTable->setItem(itteration, 0, new QTableWidgetItem(obj["OrderUuid"].toString())); ui->OpenOrdersTable->setItem(itteration, 1, new QTableWidgetItem(BittrexTimeStampToReadable(obj["Opened"].toString()))); @@ -399,16 +378,11 @@ void tradingDialog::ParseAndPopulateOpenOrdersTable(QString Response){ ui->OpenOrdersTable->setItem(itteration, 6, new QTableWidgetItem(str.number(obj["QuantityRemaining"].toDouble(),'i',8))); ui->OpenOrdersTable->setItem(itteration, 7, new QTableWidgetItem(str.number(obj["Price"].toDouble(),'i',8))); ui->OpenOrdersTable->setItem(itteration, 8, new QTableWidgetItem(str.number(obj["PricePerUnit"].toDouble(),'i',8))); - ui->OpenOrdersTable->setItem(itteration, 9, new QTableWidgetItem(CancelInitiated)); - ui->OpenOrdersTable->setItem(itteration, 10, new QTableWidgetItem(IsConditional)); - ui->OpenOrdersTable->setItem(itteration, 11, new QTableWidgetItem(obj["Condition"].toString())); - ui->OpenOrdersTable->setItem(itteration, 12, new QTableWidgetItem(ConditionTarget)); - ui->OpenOrdersTable->setItem(itteration, 13, new QTableWidgetItem(ios)); - ui->OpenOrdersTable->setItem(itteration, 14, new QTableWidgetItem(tr("Cancel Order"))); + ui->OpenOrdersTable->setItem(itteration, 9, new QTableWidgetItem(tr("Cancel Order"))); //Handle the cancel link in open orders table QTableWidgetItem* CancelCell; - CancelCell= ui->OpenOrdersTable->item(itteration, 14); //Set the wtablewidget item to the cancel cell item. + CancelCell= ui->OpenOrdersTable->item(itteration, 9); //Set the wtablewidget item to the cancel cell item. CancelCell->setForeground(QColor::fromRgb(255,0,0)); //make this item red. CancelCell->setTextAlignment(Qt::AlignCenter); itteration++; @@ -459,14 +433,6 @@ void tradingDialog::ParseAndPopulateAccountHistoryTable(QString Response){ RowCount = ui->TradeHistoryTable->rowCount(); - QString ios; - QString IsConditional; - QString ConditionTarget; - - obj["ImmediateOrCancel"].toBool() == true ? (ios = "true") : ( ios = "false"); - obj["IsConditional"].toBool() == true ? (IsConditional = "true") : ( IsConditional = "false"); - obj["ConditionTarget"].toBool() == true ? (ConditionTarget = "true") : ( ConditionTarget = "false"); - ui->TradeHistoryTable->insertRow(RowCount); ui->TradeHistoryTable->setItem(itteration, 0, new QTableWidgetItem(BittrexTimeStampToReadable(obj["TimeStamp"].toString()))); ui->TradeHistoryTable->setItem(itteration, 1, new QTableWidgetItem(obj["Exchange"].toString())); @@ -476,11 +442,7 @@ void tradingDialog::ParseAndPopulateAccountHistoryTable(QString Response){ ui->TradeHistoryTable->setItem(itteration, 5, new QTableWidgetItem(str.number(obj["QuantityRemaining"].toDouble(),'i',8))); ui->TradeHistoryTable->setItem(itteration, 6, new QTableWidgetItem(str.number(obj["Price"].toDouble(),'i',8))); ui->TradeHistoryTable->setItem(itteration, 7, new QTableWidgetItem(str.number(obj["PricePerUnit"].toDouble(),'i',8))); - ui->TradeHistoryTable->setItem(itteration, 8, new QTableWidgetItem(IsConditional)); - ui->TradeHistoryTable->setItem(itteration, 9, new QTableWidgetItem(obj["Condition"].toString())); - ui->TradeHistoryTable->setItem(itteration, 10, new QTableWidgetItem(ConditionTarget)); - ui->TradeHistoryTable->setItem(itteration, 11, new QTableWidgetItem(ios)); - ui->TradeHistoryTable->setItem(itteration, 12, new QTableWidgetItem(obj["Closed"].toString())); + ui->TradeHistoryTable->setItem(itteration, 8, new QTableWidgetItem(obj["Closed"].toString())); itteration++; } @@ -501,8 +463,8 @@ void tradingDialog::ParseAndPopulateOrderBookTables(QString OrderBook){ double TXSupply = 0; double TXDemand = 0; - double BtcSupply = 0; - double BtcDemand = 0; + double BtcSupply = 0; + double BtcDemand = 0; ui->AsksTable->setRowCount(0); @@ -514,17 +476,17 @@ void tradingDialog::ParseAndPopulateOrderBookTables(QString OrderBook){ double y = obj["Quantity"].toDouble(); double a = (x * y); - TXSupply = TXSupply + y; - BtcSupply = BtcSupply + a; + TXSupply += y; + BtcSupply += a; AskRows = ui->AsksTable->rowCount(); ui->AsksTable->insertRow(AskRows); - ui->AsksTable->setItem(SellItteration, 0, new QTableWidgetItem(str.number(x,'i',8))); ui->AsksTable->setItem(SellItteration, 1, new QTableWidgetItem(str.number(y,'i',8))); ui->AsksTable->setItem(SellItteration, 2, new QTableWidgetItem(str.number(a,'i',8))); + ui->AsksTable->setItem(SellItteration, 3, new QTableWidgetItem(str.number(BtcSupply,'i',8))); SellItteration++; - } + } ui->BidsTable->setRowCount(0); @@ -536,26 +498,26 @@ void tradingDialog::ParseAndPopulateOrderBookTables(QString OrderBook){ double y = obj["Quantity"].toDouble(); double a = (x * y); - TXDemand = TXDemand + y; - BtcDemand = BtcDemand + a; + TXDemand += y; + BtcDemand += a; BidRows = ui->BidsTable->rowCount(); ui->BidsTable->insertRow(BidRows); - ui->BidsTable->setItem(BuyItteration, 0, new QTableWidgetItem(str.number(a,'i',8))); - ui->BidsTable->setItem(BuyItteration, 1, new QTableWidgetItem(str.number(y,'i',8))); - ui->BidsTable->setItem(BuyItteration, 2, new QTableWidgetItem(str.number(x,'i',8))); + ui->BidsTable->setItem(BuyItteration, 0, new QTableWidgetItem(str.number(BtcDemand,'i',8))); + ui->BidsTable->setItem(BuyItteration, 1, new QTableWidgetItem(str.number(a,'i',8))); + ui->BidsTable->setItem(BuyItteration, 2, new QTableWidgetItem(str.number(y,'i',8))); + ui->BidsTable->setItem(BuyItteration, 3, new QTableWidgetItem(str.number(x,'i',8))); BuyItteration++; - } - - ui->TXSupply->setText("Supply: " + str.number(TXSupply,'i',8) + " TX"); - ui->BtcSupply->setText("" + str.number(BtcSupply,'i',8) + " BTC"); - ui->AsksCount->setText("Ask's : " + str.number(ui->AsksTable->rowCount()) + ""); + } + ui->TXSupply->setText("Supply: " + str.number(TXSupply,'i',8) + " TX"); + ui->BtcSupply->setText("" + str.number(BtcSupply,'i',8) + " BTC"); + ui->AsksCount->setText("Ask's : " + str.number(ui->AsksTable->rowCount()) + ""); - ui->TXDemand->setText("Demand: " + str.number(TXDemand,'i',8) + " TX"); - ui->BtcDemand->setText("" + str.number(BtcDemand,'i',8) + " BTC"); - ui->BidsCount->setText("Bid's : " + str.number(ui->BidsTable->rowCount()) + ""); - obj.empty(); + ui->TXDemand->setText("Demand: " + str.number(TXDemand,'i',8) + " TX"); + ui->BtcDemand->setText("" + str.number(BtcDemand,'i',8) + " BTC"); + ui->BidsCount->setText("Bid's : " + str.number(ui->BidsTable->rowCount()) + ""); + obj.empty(); } @@ -590,6 +552,7 @@ void tradingDialog::ActionsOnSwitch(int index = -1){ QString Response = ""; QString Response2 = ""; + QString Response3 = ""; if(index == -1){ index = ui->TradingTabWidget->currentIndex(); @@ -600,38 +563,34 @@ void tradingDialog::ActionsOnSwitch(int index = -1){ Response = GetBalance("BTC"); Response2 = GetBalance("TX"); + Response3 = GetOrderBook(); - if((Response.size() > 0 && Response != "Error") || (Response2.size() > 0 && Response2 != "Error")){ + if((Response.size() > 0 && Response != "Error") && (Response2.size() > 0 && Response2 != "Error")){ DisplayBalance(*ui->BtcAvailableLbl, *ui->TXAvailableLabel, Response, Response2); } + if ((Response3.size() > 0 && Response3 != "Error")) { + ParseAndPopulateOrderBookTables(Response3); + } break; case 1: //Cross send tab active Response = GetBalance("TX"); - - if(Response.size() > 0 && Response != "Error"){ - DisplayBalance(*ui->TXAvailableLabel_3, Response); - } - - break; - - case 2: //Order book tab is the current tab - update the info - Response = GetOrderBook(); - if(Response.size() > 0 && Response != "Error"){ - ParseAndPopulateOrderBookTables(Response); + Response2 = GetBalance("BTC"); + if((Response.size() > 0 && Response != "Error") && (Response2.size() > 0 && Response2 != "Error")){ + DisplayBalance(*ui->BittrexTXLabel, *ui->BittrexBTCLabel, Response, Response2); } break; - case 3://market history tab + case 2://market history tab Response = GetMarketHistory(); if(Response.size() > 0 && Response != "Error"){ ParseAndPopulateMarketHistoryTable(Response); } break; - case 4: //open orders tab + case 3: //open orders tab Response = GetOpenOrders(); if(Response.size() > 0 && Response != "Error"){ ParseAndPopulateOpenOrdersTable(Response); @@ -639,27 +598,26 @@ void tradingDialog::ActionsOnSwitch(int index = -1){ break; - case 5://account history tab + case 4://account history tab Response = GetAccountHistory(); if(Response.size() > 0 && Response != "Error"){ ParseAndPopulateAccountHistoryTable(Response); } break; - case 6://show balance tab + case 5://show balance tab Response = GetBalance("BTC"); if(Response.size() > 0 && Response != "Error"){ DisplayBalance(*ui->BitcoinBalanceLabel,*ui->BitcoinAvailableLabel,*ui->BitcoinPendingLabel, QString::fromUtf8("BTC"),Response); } Response = GetBalance("TX"); - if(Response.size() > 0 && Response != "Error"){ DisplayBalance(*ui->TXBalanceLabel,*ui->TXAvailableLabel_2,*ui->TXPendingLabel, QString::fromUtf8("TX"),Response); } break; - case 7: + case 6: break; @@ -777,7 +735,7 @@ void tradingDialog::CalculateCSReceiveLabel(){ double x = obj["Rate"].toDouble(); //would like to use int64 here double y = obj["Quantity"].toDouble(); - // If + // If if ( ((Quantity / x) - y) > 0 ) { Price = x; @@ -795,15 +753,19 @@ void tradingDialog::CalculateCSReceiveLabel(){ QString ReceiveStr = ""; QString DumpStr = ""; - if ( Qty < AvailableTX ) + QString TotalStr = ""; + if ( Qty < AvailableTX ) { ui->CSReceiveLabel->setText(ReceiveStr.number((ui->CSUnitsInput->text().toDouble() - 0.0002),'i',8)); ui->CSDumpLabel->setText(DumpStr.number(Price,'i',8)); + ui->CSTotalLabel->setText(DumpStr.number(Qty,'i',8)); } else { ReceiveStr = "N/A"; + TotalStr = "N/A"; DumpStr = "N/A"; ui->CSReceiveLabel->setText(ReceiveStr); ui->CSDumpLabel->setText(DumpStr); + ui->CSTotalLabel->setText(TotalStr); } } @@ -828,7 +790,6 @@ void tradingDialog::on_UpdateKeys_clicked(bool Save, bool Load) ui->TradingTabWidget->setTabEnabled(3,true); ui->TradingTabWidget->setTabEnabled(4,true); ui->TradingTabWidget->setTabEnabled(5,true); - ui->TradingTabWidget->setTabEnabled(6,true); }else if ( ResponseObject.value("success").toBool() == true && Save){ QMessageBox::information(this,"API Configuration Complete","Your API keys have been saved and the connection has been successfully configured and tested."); ui->ApiKeyInput->setEchoMode(QLineEdit::Password); @@ -839,9 +800,8 @@ void tradingDialog::on_UpdateKeys_clicked(bool Save, bool Load) ui->TradingTabWidget->setTabEnabled(3,true); ui->TradingTabWidget->setTabEnabled(4,true); ui->TradingTabWidget->setTabEnabled(5,true); - ui->TradingTabWidget->setTabEnabled(6,true); }else{ - QMessageBox::information(this,"API Configuration Complete","Api connection has been successfully configured and tested."); + QMessageBox::information(this,"API Configuration Complete","Api connection has been successfully configured and tested."); ui->ApiKeyInput->setEchoMode(QLineEdit::Password); ui->SecretKeyInput->setEchoMode(QLineEdit::Password); ui->PasswordInput->setText(""); @@ -850,7 +810,6 @@ void tradingDialog::on_UpdateKeys_clicked(bool Save, bool Load) ui->TradingTabWidget->setTabEnabled(3,true); ui->TradingTabWidget->setTabEnabled(4,true); ui->TradingTabWidget->setTabEnabled(5,true); - ui->TradingTabWidget->setTabEnabled(6,true); } } @@ -859,10 +818,10 @@ string tradingDialog::encryptDecrypt(string toEncrypt, string password) { char * key = new char [password.size()+1]; std::strcpy (key, password.c_str()); - key[password.size()] = '\0'; // don't forget the terminating 0 + key[password.size()] = '\0'; // don't forget the terminating 0 string output = toEncrypt; - + for (unsigned int i = 0; i < toEncrypt.size(); i++) output[i] = toEncrypt[i] ^ key[i % (sizeof(key) / sizeof(char))]; return output; @@ -989,7 +948,7 @@ void tradingDialog::on_Buy_Max_Amount_clicked() void tradingDialog::on_CS_Max_Amount_clicked() { - double Quantity = ui->TXAvailableLabel_3->text().toDouble(); + double Quantity = ui->BittrexTXLabel->text().toDouble(); double Received = 0; double Qty = 0; double Price = 0; @@ -1007,7 +966,7 @@ void tradingDialog::on_CS_Max_Amount_clicked() double x = obj["Rate"].toDouble(); //would like to use int64 here double y = obj["Quantity"].toDouble(); - // If + // If if ( (Quantity - y) > 0 ) { Price = x; @@ -1044,21 +1003,6 @@ void tradingDialog::on_Withdraw_Max_Amount_clicked() ui->WithdrawUnitsInput->setText(str.number(AvailableTX,'i',8)); } -void tradingDialog::on_buyOrdertypeCombo_activated(const QString &arg1) -{ - if(arg1 == "Conditional"){ - //ui->BuyWhenPriceLabel->show(); - //ui->BuyConditionCombo->show(); - //ui->ConditionLineEdit->show(); - //ui->Conditionlabel->show(); - }else if (arg1 == "Limit"){ - // ui->BuyWhenPriceLabel->hide(); - // ui->BuyConditionCombo->hide(); - // ui->ConditionLineEdit->hide(); - // ui->Conditionlabel->hide(); - } -} - QJsonObject tradingDialog::GetResultObjectFromJSONObject(QString response){ QJsonDocument jsonResponse = QJsonDocument::fromJson(response.toUtf8()); //get json from str. @@ -1273,7 +1217,7 @@ void tradingDialog::on_CSUnitsBtn_clicked() double x = obj["Rate"].toDouble(); //would like to use int64 here double y = obj["Quantity"].toDouble(); - // If + // If if ( ((Quantity / x) - y) > 0 ) { Price = x; @@ -1375,25 +1319,6 @@ void tradingDialog::on_WithdrawUnitsBtn_clicked() } } -void tradingDialog::on_AdvancedView_stateChanged(int arg1) -{ - //Show or hide columns in OpenOrders Table depending on checkbox state - if(arg1 == 2){ - ui->OpenOrdersTable->setColumnHidden(9,false); - ui->OpenOrdersTable->setColumnHidden(10,false); - ui->OpenOrdersTable->setColumnHidden(11,false); - ui->OpenOrdersTable->setColumnHidden(12,false); - ui->OpenOrdersTable->setColumnHidden(13,false); - }else if(arg1 == 0) { - ui->OpenOrdersTable->setColumnHidden(9,true); - ui->OpenOrdersTable->setColumnHidden(10,true); - ui->OpenOrdersTable->setColumnHidden(11,true); - ui->OpenOrdersTable->setColumnHidden(12,true); - ui->OpenOrdersTable->setColumnHidden(13,true); - - } -} - void tradingDialog::on_UnitsInputTX_textChanged(const QString &arg1) { CalculateSellCostLabel(); //update cost @@ -1419,6 +1344,18 @@ void tradingDialog::on_CSUnitsInput_textChanged(const QString &arg1) CalculateCSReceiveLabel(); //update cost } +void tradingDialog::on_SecretPasteButton_clicked() +{ + // Paste text from clipboard into recipient field + ui->SecretKeyInput->setText(QApplication::clipboard()->text()); +} + +void tradingDialog::on_KeyPasteButton_clicked() +{ + // Paste text from clipboard into recipient field + ui->ApiKeyInput->setText(QApplication::clipboard()->text()); +} + void tradingDialog::setModel(WalletModel *model) { this->model = model; @@ -1427,4 +1364,4 @@ void tradingDialog::setModel(WalletModel *model) tradingDialog::~tradingDialog() { delete ui; -} \ No newline at end of file +} diff --git a/src/qt/tradingdialog.h b/src/qt/tradingdialog.h index e0b2d899..6f6e0fa0 100644 --- a/src/qt/tradingdialog.h +++ b/src/qt/tradingdialog.h @@ -52,7 +52,6 @@ private slots: void CalculateBuyCostLabel(); void on_Buy_Max_Amount_clicked(); - void on_buyOrdertypeCombo_activated(const QString &arg1); void on_BuyBidcomboBox_currentIndexChanged(const QString &arg1); void on_UnitsInput_textChanged(const QString &arg1); void on_BuyBidPriceEdit_textChanged(const QString &arg1); @@ -73,7 +72,9 @@ private slots: void on_Withdraw_Max_Amount_clicked(); void on_WithdrawUnitsBtn_clicked(); - void on_AdvancedView_stateChanged(int arg1); + void on_KeyPasteButton_clicked(); + void on_SecretPasteButton_clicked(); + int SetExchangeInfoTextLabels(); QString BittrexTimeStampToReadable(QString DateTime);