Changeset View
Changeset View
Standalone View
Standalone View
src/qt/receiverequestdialog.cpp
// Copyright (c) 2011-2016 The Bitcoin Core developers | // Copyright (c) 2011-2016 The Bitcoin Core developers | ||||
// Copyright (c) 2017 The Bitcoin developers | // Copyright (c) 2017 The Bitcoin 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 "receiverequestdialog.h" | #include <qt/forms/ui_receiverequestdialog.h> | ||||
#include "ui_receiverequestdialog.h" | #include <qt/receiverequestdialog.h> | ||||
#include "bitcoinunits.h" | #include <config.h> | ||||
#include "config.h" | #include <qt/bitcoinunits.h> | ||||
#include "guiconstants.h" | #include <qt/guiconstants.h> | ||||
#include "guiutil.h" | #include <qt/guiutil.h> | ||||
#include "optionsmodel.h" | #include <qt/optionsmodel.h> | ||||
#include "walletmodel.h" | #include <qt/walletmodel.h> | ||||
#include <QClipboard> | #include <QClipboard> | ||||
#include <QDrag> | #include <QDrag> | ||||
#include <QMenu> | #include <QMenu> | ||||
#include <QMimeData> | #include <QMimeData> | ||||
#include <QMouseEvent> | #include <QMouseEvent> | ||||
#include <QPixmap> | #include <QPixmap> | ||||
#if defined(HAVE_CONFIG_H) | #if defined(HAVE_CONFIG_H) | ||||
#include "config/bitcoin-config.h" /* for USE_QRCODE */ | #include <config/bitcoin-config.h> /* for USE_QRCODE */ | ||||
#endif | #endif | ||||
#ifdef USE_QRCODE | #ifdef USE_QRCODE | ||||
#include <qrencode.h> | #include <qrencode.h> | ||||
#endif | #endif | ||||
QRImageWidget::QRImageWidget(QWidget *parent) : QLabel(parent), contextMenu(0) { | QRImageWidget::QRImageWidget(QWidget *parent) : QLabel(parent), contextMenu(0) { | ||||
contextMenu = new QMenu(this); | contextMenu = new QMenu(this); | ||||
▲ Show 20 Lines • Show All 172 Lines • Show Last 20 Lines |