mirror of
https://github.com/feather-wallet/feather.git
synced 2025-02-05 04:36:39 +00:00
33 lines
653 B
C++
33 lines
653 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
|
|
|
#ifndef FEATHER_QRCODEDIALOG_H
|
|
#define FEATHER_QRCODEDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
#include "components.h"
|
|
#include "qrcode/QrCode.h"
|
|
#include "widgets/QrCodeWidget.h"
|
|
|
|
namespace Ui {
|
|
class QrCodeDialog;
|
|
}
|
|
|
|
class QrCodeDialog : public WindowModalDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit QrCodeDialog(QWidget *parent, QrCode *qrCode, const QString &title = "Qr Code");
|
|
~QrCodeDialog() override;
|
|
|
|
private:
|
|
void copyImage();
|
|
void saveImage();
|
|
|
|
QScopedPointer<Ui::QrCodeDialog> ui;
|
|
QPixmap m_pixmap;
|
|
};
|
|
|
|
#endif //FEATHER_QRCODEDIALOG_H
|