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 "sendcoinsentry.h" | #include "sendcoinsentry.h" | ||||
#include "ui_sendcoinsentry.h" | #include "ui_sendcoinsentry.h" | ||||
#include "addressbookpage.h" | #include "addressbookpage.h" | ||||
#include "addresstablemodel.h" | #include "addresstablemodel.h" | ||||
#include "config.h" | |||||
#include "guiutil.h" | #include "guiutil.h" | ||||
#include "optionsmodel.h" | #include "optionsmodel.h" | ||||
#include "platformstyle.h" | #include "platformstyle.h" | ||||
#include "walletmodel.h" | #include "walletmodel.h" | ||||
#include <QApplication> | #include <QApplication> | ||||
#include <QClipboard> | #include <QClipboard> | ||||
Show All 12 Lines | 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( | ui->messageTextLabel->setToolTip( | ||||
tr("A message that was attached to the %1 URI which will be" | tr("A message that was attached to the %1 URI which will be" | ||||
" stored with the transaction for your reference. Note: " | " stored with the transaction for your reference. Note: " | ||||
"This message will not be sent over the Bitcoin network.") | "This message will not be sent over the Bitcoin network.") | ||||
.arg(GUIUtil::URI_SCHEME)); | .arg(GUIUtil::bitcoinURIScheme(GetConfig()))); | ||||
setCurrentWidget(ui->SendCoins); | setCurrentWidget(ui->SendCoins); | ||||
if (platformStyle->getUseExtraSpacing()) ui->payToLayout->setSpacing(4); | if (platformStyle->getUseExtraSpacing()) ui->payToLayout->setSpacing(4); | ||||
#if QT_VERSION >= 0x040700 | #if QT_VERSION >= 0x040700 | ||||
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")); | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 214 Lines • Show Last 20 Lines |