2022-05-28 20:53:12 +01:00
|
|
|
#include "ScrollMessageBox.h"
|
|
|
|
#include "ui_ScrollMessageBox.h"
|
|
|
|
|
2023-08-14 17:16:53 +01:00
|
|
|
ScrollMessageBox::ScrollMessageBox(QWidget* parent, const QString& title, const QString& text, const QString& body)
|
|
|
|
: QDialog(parent), ui(new Ui::ScrollMessageBox)
|
|
|
|
{
|
2022-05-28 20:53:12 +01:00
|
|
|
ui->setupUi(this);
|
|
|
|
this->setWindowTitle(title);
|
|
|
|
ui->label->setText(text);
|
|
|
|
ui->textBrowser->setText(body);
|
|
|
|
}
|
|
|
|
|
2023-08-14 17:16:53 +01:00
|
|
|
ScrollMessageBox::~ScrollMessageBox()
|
|
|
|
{
|
2022-05-28 20:53:12 +01:00
|
|
|
delete ui;
|
|
|
|
}
|