UI: Coding and CSS changes for sum of selected transactions

This commit is contained in:
crowning- 2015-08-27 12:49:55 +02:00
parent 1730187f94
commit 6129a0ec1e
2 changed files with 11 additions and 0 deletions

View File

@ -1498,6 +1498,15 @@ margin-bottom:1px;
margin-right:1px;
}
QLabel#transactionSumLabel { /* Example of setObjectName for widgets without name */
color:#333333;
font-weight:bold;
}
QLabel#transactionSum { /* Example of setObjectName for widgets without name */
color:#333333;
}
/* TRANSACTION DETAIL DIALOG */
QDialog#TransactionDescDialog {

View File

@ -51,10 +51,12 @@ WalletView::WalletView(QWidget *parent):
// Sum of selected transactions
QLabel *transactionSumLabel = new QLabel(); // Label
transactionSumLabel->setObjectName("transactionSumLabel"); // Label ID as CSS-reference
transactionSumLabel->setText(tr("Selected amount:"));
hbox_buttons->addWidget(transactionSumLabel);
transactionSum = new QLabel(); // Amount
transactionSum->setObjectName("transactionSum"); // Label ID as CSS-reference
transactionSum->setMinimumSize(200, 8);
transactionSum->setTextInteractionFlags(Qt::TextSelectableByMouse);
hbox_buttons->addWidget(transactionSum);