mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
36 lines
673 B
C++
36 lines
673 B
C++
// SPDX-License-Identifier: BSD-3-Clause
|
|
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
|
|
|
#ifndef FEATHER_QRCODESCANDIALOG_H
|
|
#define FEATHER_QRCODESCANDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QCamera>
|
|
#include <QScopedPointer>
|
|
#include <QMediaCaptureSession>
|
|
#include <QTimer>
|
|
#include <QVideoSink>
|
|
|
|
#include "QrScanThread.h"
|
|
|
|
namespace Ui {
|
|
class QrCodeScanDialog;
|
|
}
|
|
|
|
class QrCodeScanDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit QrCodeScanDialog(QWidget *parent, bool scan_ur = false);
|
|
~QrCodeScanDialog() override;
|
|
|
|
QString decodedString();
|
|
|
|
private:
|
|
QScopedPointer<Ui::QrCodeScanDialog> ui;
|
|
};
|
|
|
|
|
|
#endif //FEATHER_QRCODESCANDIALOG_H
|