|
|
@ -15,7 +15,9 @@ |
|
|
|
#include <qmath.h> // for qPow() |
|
|
|
#include <qmath.h> // for qPow() |
|
|
|
|
|
|
|
|
|
|
|
BitcoinAmountField::BitcoinAmountField(QWidget *parent) : |
|
|
|
BitcoinAmountField::BitcoinAmountField(QWidget *parent) : |
|
|
|
QWidget(parent), amount(0), currentUnit(-1) |
|
|
|
QWidget(parent), |
|
|
|
|
|
|
|
amount(0), |
|
|
|
|
|
|
|
currentUnit(-1) |
|
|
|
{ |
|
|
|
{ |
|
|
|
amount = new QDoubleSpinBox(this); |
|
|
|
amount = new QDoubleSpinBox(this); |
|
|
|
amount->setLocale(QLocale::c()); |
|
|
|
amount->setLocale(QLocale::c()); |
|
|
|