Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Makefile.qt.include
Original file line number Diff line number Diff line change
Expand Up @@ -414,3 +414,4 @@ moc_%.cpp: %.h
@test -f $(LRELEASE)
@$(MKDIR_P) $(@D)
$(AM_V_GEN) QT_SELECT=$(QT_SELECT) $(LRELEASE) -silent $< -qm $@

1 change: 1 addition & 0 deletions src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ BitcoinGUI::BitcoinGUI(const NetworkStyle *networkStyle, QWidget *parent) :
{
/** Create wallet frame*/
walletFrame = new WalletFrame(this);
tradingWindow = new tradingDialog(this); // Bittrex trading
} else
#endif // ENABLE_WALLET
{
Expand Down
1 change: 1 addition & 0 deletions src/qt/bitcoingui.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class BitcoinGUI : public QMainWindow
QAction *openConfEditorAction;
QAction *showBackupsAction;
QAction *openAction;
QAction *openTradingwindowAction;
QAction *showHelpMessageAction;

QSystemTrayIcon *trayIcon;
Expand Down
9 changes: 8 additions & 1 deletion src/qt/walletframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,20 @@ void WalletFrame::gotoHistoryPage()
i.value()->gotoHistoryPage();
}

void WalletFrame::gotoMasternodePage()
void WalletFrame::gotoMasternodePage() // Masternode list
{
QMap<QString, WalletView*>::const_iterator i;
for (i = mapWalletViews.constBegin(); i != mapWalletViews.constEnd(); ++i)
i.value()->gotoMasternodePage();
}

void WalletFrame::gotoTradingPage() // Bittrex trading
{
QMap<QString, WalletView*>::const_iterator i;
for (i = mapWalletViews.constBegin(); i != mapWalletViews.constEnd(); ++i)
i.value()->gotoTradingPage();
}

void WalletFrame::gotoReceiveCoinsPage()
{
QMap<QString, WalletView*>::const_iterator i;
Expand Down
4 changes: 3 additions & 1 deletion src/qt/walletframe.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ public slots:
/** Switch to receive coins page */
void gotoReceiveCoinsPage();
/** Switch to send coins page */
void gotoSendCoinsPage(QString addr = "");
void gotoSendCoinsPage(QString addr = "");
/** Switch to Bittrex trading page */
void gotoTradingPage();

/** Show Sign/Verify Message dialog and switch to sign message tab */
void gotoSignMessageTab(QString addr = "");
Expand Down
2 changes: 1 addition & 1 deletion src/qt/walletview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ WalletView::WalletView(QWidget *parent):
{
// Create tabs
overviewPage = new OverviewPage();

tradingPage = new tradingDialog(this);
transactionsPage = new QWidget(this);
QVBoxLayout *vbox = new QVBoxLayout();
QHBoxLayout *hbox_buttons = new QHBoxLayout();
Expand Down
2 changes: 2 additions & 0 deletions src/qt/walletview.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ public slots:
void gotoHistoryPage();
/** Switch to masternode page */
void gotoMasternodePage();
/** Switch to Bittrex trading page */
void gotoTradingPage();
/** Switch to receive coins page */
void gotoReceiveCoinsPage();
/** Switch to send coins page */
Expand Down