make balance selectable / copyable

This commit is contained in:
Wladimir J. van der Laan 2011-07-05 20:21:33 +02:00
parent b8f174a5ce
commit 825aa7d8d8

View file

@ -78,6 +78,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
labelBalance = new QLabel(); labelBalance = new QLabel();
labelBalance->setFont(QFont("Monospace", -1, QFont::Bold)); labelBalance->setFont(QFont("Monospace", -1, QFont::Bold));
labelBalance->setToolTip(tr("Your current balance")); labelBalance->setToolTip(tr("Your current balance"));
labelBalance->setTextInteractionFlags(Qt::TextSelectableByMouse|Qt::TextSelectableByKeyboard);
hbox_balance->addWidget(labelBalance); hbox_balance->addWidget(labelBalance);
hbox_balance->addStretch(1); hbox_balance->addStretch(1);