labelBlocks->setMinimumWidth(130);
labelBlocks->setToolTip(tr("Number of blocks in the block chain"));
- labelTransactions = new QLabel();
- labelTransactions->setFrameStyle(QFrame::Panel | QFrame::Sunken);
- labelTransactions->setMinimumWidth(130);
- labelTransactions->setToolTip(tr("Number of transactions in your wallet"));
-
// Progress bar for blocks download
progressBarLabel = new QLabel(tr("Synchronizing with network..."));
progressBarLabel->setVisible(false);
statusBar()->addWidget(progressBar);
statusBar()->addPermanentWidget(labelConnections);
statusBar()->addPermanentWidget(labelBlocks);
- statusBar()->addPermanentWidget(labelTransactions);
createTrayIcon();
overviewAction = new QAction(QIcon(":/icons/overview"), tr("&Overview"), this);
overviewAction->setCheckable(true);
tabGroup->addAction(overviewAction);
- historyAction = new QAction(QIcon(":/icons/history"), tr("&History"), this);
+ historyAction = new QAction(QIcon(":/icons/history"), tr("&Transactions"), this);
historyAction->setCheckable(true);
tabGroup->addAction(historyAction);
void BitcoinGUI::setNumTransactions(int count)
{
- labelTransactions->setText(tr("%n transaction(s)", "", count));
+ overviewPage->setNumTransactions(count);
}
void BitcoinGUI::error(const QString &title, const QString &message)
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
+ <property name="horizontalSpacing">
+ <number>12</number>
+ </property>
+ <property name="verticalSpacing">
+ <number>12</number>
+ </property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
- <string>Balance</string>
+ <string>Balance:</string>
</property>
</widget>
</item>
</property>
</widget>
</item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Number of transactions:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QLabel" name="labelNumTransactions">
+ <property name="text">
+ <string>0</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>