[Qt] Optionally add third party links to transaction context menu
This commit is contained in:
@@ -96,6 +96,9 @@ OptionsDialog::OptionsDialog(QWidget *parent) :
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#if QT_VERSION >= 0x040700
|
||||
ui->thirdPartyTxUrls->setPlaceholderText("https://example.com/tx/%s");
|
||||
#endif
|
||||
|
||||
ui->unit->setModel(new BitcoinUnits(this));
|
||||
ui->transactionFee->setSingleStep(CTransaction::nMinTxFee);
|
||||
@@ -151,6 +154,7 @@ void OptionsDialog::setModel(OptionsModel *model)
|
||||
connect(ui->connectSocks, SIGNAL(clicked(bool)), this, SLOT(showRestartWarning()));
|
||||
/* Display */
|
||||
connect(ui->lang, SIGNAL(valueChanged()), this, SLOT(showRestartWarning()));
|
||||
connect(ui->thirdPartyTxUrls, SIGNAL(textChanged(const QString &)), this, SLOT(showRestartWarning()));
|
||||
}
|
||||
|
||||
void OptionsDialog::setMapper()
|
||||
@@ -183,6 +187,7 @@ void OptionsDialog::setMapper()
|
||||
mapper->addMapping(ui->lang, OptionsModel::Language);
|
||||
mapper->addMapping(ui->unit, OptionsModel::DisplayUnit);
|
||||
mapper->addMapping(ui->displayAddresses, OptionsModel::DisplayAddresses);
|
||||
mapper->addMapping(ui->thirdPartyTxUrls, OptionsModel::ThirdPartyTxUrls);
|
||||
}
|
||||
|
||||
void OptionsDialog::enableOkButton()
|
||||
|
||||
Reference in New Issue
Block a user