|
|
@ -34,6 +34,12 @@ SendCoinsEntry::SendCoinsEntry(QWidget *parent) : |
|
|
|
GUIUtil::setupAddressWidget(ui->payTo, this); |
|
|
|
GUIUtil::setupAddressWidget(ui->payTo, this); |
|
|
|
// just a label for displaying bitcoin address(es)
|
|
|
|
// just a label for displaying bitcoin address(es)
|
|
|
|
ui->payTo_is->setFont(GUIUtil::bitcoinAddressFont()); |
|
|
|
ui->payTo_is->setFont(GUIUtil::bitcoinAddressFont()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Connect signals
|
|
|
|
|
|
|
|
connect(ui->payAmount, SIGNAL(valueChanged()), this, SIGNAL(payAmountChanged())); |
|
|
|
|
|
|
|
connect(ui->deleteButton, SIGNAL(clicked()), this, SLOT(deleteClicked())); |
|
|
|
|
|
|
|
connect(ui->deleteButton_is, SIGNAL(clicked()), this, SLOT(deleteClicked())); |
|
|
|
|
|
|
|
connect(ui->deleteButton_s, SIGNAL(clicked()), this, SLOT(deleteClicked())); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
SendCoinsEntry::~SendCoinsEntry() |
|
|
|
SendCoinsEntry::~SendCoinsEntry() |
|
|
@ -72,11 +78,6 @@ void SendCoinsEntry::setModel(WalletModel *model) |
|
|
|
if (model && model->getOptionsModel()) |
|
|
|
if (model && model->getOptionsModel()) |
|
|
|
connect(model->getOptionsModel(), SIGNAL(displayUnitChanged(int)), this, SLOT(updateDisplayUnit())); |
|
|
|
connect(model->getOptionsModel(), SIGNAL(displayUnitChanged(int)), this, SLOT(updateDisplayUnit())); |
|
|
|
|
|
|
|
|
|
|
|
connect(ui->payAmount, SIGNAL(valueChanged()), this, SIGNAL(payAmountChanged())); |
|
|
|
|
|
|
|
connect(ui->deleteButton, SIGNAL(clicked()), this, SLOT(deleteClicked())); |
|
|
|
|
|
|
|
connect(ui->deleteButton_is, SIGNAL(clicked()), this, SLOT(deleteClicked())); |
|
|
|
|
|
|
|
connect(ui->deleteButton_s, SIGNAL(clicked()), this, SLOT(deleteClicked())); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clear(); |
|
|
|
clear(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|