Files
SilentDragonXLite/src/requestdialog.h
2021-01-02 11:20:58 -05:00

30 lines
650 B
C++

// Copyright 2019-2021 The Hush developers
// Released under the GPLv3
#ifndef REQUESTDIALOG_H
#define REQUESTDIALOG_H
#include <QDialog>
#include "mainwindow.h"
#include "ui_requestdialog.h"
namespace Ui {
class RequestDialog;
}
class RequestDialog : public QDialog
{
Q_OBJECT
public:
explicit RequestDialog(QWidget *parent = nullptr);
~RequestDialog();
static void showRequesthush(MainWindow* main);
static void showPaymentConfirmation(MainWindow* main, QString paymentURI);
static void setupDialog(MainWindow* main, QDialog* d, Ui_RequestDialog* req);
private:
Ui::RequestDialog *ui;
};
#endif // REQUESTDIALOG_H