|
|
@ -22,6 +22,7 @@ BitcoinAmountField::BitcoinAmountField(QWidget *parent): |
|
|
|
amount->setDecimals(8); |
|
|
|
amount->setDecimals(8); |
|
|
|
amount->installEventFilter(this); |
|
|
|
amount->installEventFilter(this); |
|
|
|
amount->setMaximumWidth(170); |
|
|
|
amount->setMaximumWidth(170); |
|
|
|
|
|
|
|
amount->setSingleStep(0.001); |
|
|
|
|
|
|
|
|
|
|
|
QHBoxLayout *layout = new QHBoxLayout(this); |
|
|
|
QHBoxLayout *layout = new QHBoxLayout(this); |
|
|
|
layout->addWidget(amount); |
|
|
|
layout->addWidget(amount); |
|
|
|