2021-05-02 18:22:38 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2023-01-02 19:30:11 +00:00
|
|
|
// SPDX-FileCopyrightText: 2020-2023 The Monero Project
|
2021-05-02 18:22:38 +00:00
|
|
|
|
|
|
|
#include "InfoDialog.h"
|
|
|
|
#include "ui_InfoDialog.h"
|
|
|
|
|
|
|
|
InfoDialog::InfoDialog(QWidget *parent, const QString &title, const QString &infoData)
|
2021-10-22 17:19:56 +00:00
|
|
|
: WindowModalDialog(parent)
|
2021-05-02 18:22:38 +00:00
|
|
|
, ui(new Ui::InfoDialog)
|
|
|
|
{
|
|
|
|
ui->setupUi(this);
|
|
|
|
|
|
|
|
this->setWindowTitle(title);
|
|
|
|
ui->info->setPlainText(infoData);
|
|
|
|
}
|
|
|
|
|
2021-06-27 12:13:05 +00:00
|
|
|
InfoDialog::~InfoDialog() = default;
|