Changeset View
Changeset View
Standalone View
Standalone View
src/qt/sendcoinsentry.cpp
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include <qt/forms/ui_sendcoinsentry.h> | #include <qt/forms/ui_sendcoinsentry.h> | ||||
#include <qt/sendcoinsentry.h> | #include <qt/sendcoinsentry.h> | ||||
#include <config.h> | |||||
#include <qt/addressbookpage.h> | #include <qt/addressbookpage.h> | ||||
#include <qt/addresstablemodel.h> | #include <qt/addresstablemodel.h> | ||||
#include <qt/guiutil.h> | #include <qt/guiutil.h> | ||||
#include <qt/optionsmodel.h> | #include <qt/optionsmodel.h> | ||||
#include <qt/platformstyle.h> | #include <qt/platformstyle.h> | ||||
#include <qt/walletmodel.h> | #include <qt/walletmodel.h> | ||||
#include <QApplication> | #include <QApplication> | ||||
Show All 10 Lines | SendCoinsEntry::SendCoinsEntry(const PlatformStyle *_platformStyle, | ||||
ui->pasteButton->setIcon( | ui->pasteButton->setIcon( | ||||
platformStyle->SingleColorIcon(":/icons/editpaste")); | platformStyle->SingleColorIcon(":/icons/editpaste")); | ||||
ui->deleteButton->setIcon(platformStyle->SingleColorIcon(":/icons/remove")); | ui->deleteButton->setIcon(platformStyle->SingleColorIcon(":/icons/remove")); | ||||
ui->deleteButton_is->setIcon( | ui->deleteButton_is->setIcon( | ||||
platformStyle->SingleColorIcon(":/icons/remove")); | platformStyle->SingleColorIcon(":/icons/remove")); | ||||
ui->deleteButton_s->setIcon( | ui->deleteButton_s->setIcon( | ||||
platformStyle->SingleColorIcon(":/icons/remove")); | platformStyle->SingleColorIcon(":/icons/remove")); | ||||
ui->messageTextLabel->setToolTip( | |||||
tr("A message that was attached to the %1 URI which will be" | |||||
" stored with the transaction for your reference. Note: " | |||||
"This message will not be sent over the Bitcoin network.") | |||||
.arg(QString::fromStdString( | |||||
model->getChainParams().CashAddrPrefix()))); | |||||
setCurrentWidget(ui->SendCoins); | setCurrentWidget(ui->SendCoins); | ||||
if (platformStyle->getUseExtraSpacing()) { | if (platformStyle->getUseExtraSpacing()) { | ||||
ui->payToLayout->setSpacing(4); | ui->payToLayout->setSpacing(4); | ||||
} | } | ||||
ui->addAsLabel->setPlaceholderText( | ui->addAsLabel->setPlaceholderText( | ||||
tr("Enter a label for this address to add it to your address book")); | tr("Enter a label for this address to add it to your address book")); | ||||
▲ Show 20 Lines • Show All 245 Lines • Show Last 20 Lines |