14 lines
362 B
C++
14 lines
362 B
C++
#include "monospacetextdialog.hpp"
|
|
#include "ui_monospacetextdialog.h"
|
|
|
|
MonospaceTextDialog::MonospaceTextDialog(QString name, QByteArray data, QWidget *parent)
|
|
: QDialog(parent), ui(new Ui::MonospaceTextDialog) {
|
|
ui->setupUi(this);
|
|
setWindowTitle(name);
|
|
ui->textEdit->setText(data);
|
|
}
|
|
|
|
MonospaceTextDialog::~MonospaceTextDialog() {
|
|
delete ui;
|
|
}
|