Skip to content

Commit

Permalink
PortUI-0.0.10 - walletframe code
Browse files Browse the repository at this point in the history
  • Loading branch information
zathras-crypto committed Mar 26, 2015
1 parent a56e3e5 commit 22b13cb
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/qt/walletframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,41 @@ void WalletFrame::gotoOverviewPage()
i.value()->gotoOverviewPage();
}

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

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

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

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

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

void WalletFrame::gotoReceiveCoinsPage()
{
QMap<QString, WalletView*>::const_iterator i;
Expand Down
8 changes: 8 additions & 0 deletions src/qt/walletframe.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,16 @@ class WalletFrame : public QFrame
public slots:
/** Switch to overview (home) page */
void gotoOverviewPage();
/** Switch to balances page */
void gotoBalancesPage();
/** Switch to exchange page */
void gotoExchangePage();
/** Switch to history (transactions) page */
void gotoHistoryPage();
/** Switch directory to bitcoin tx history tab */
void gotoBitcoinHistoryTab();
/** Switch to utility page */
void gotoToolboxPage();
/** Switch to receive coins page */
void gotoReceiveCoinsPage();
/** Switch to send coins page */
Expand Down

0 comments on commit 22b13cb

Please sign in to comment.