KShare/src/monospacetextdialog.cpp
2017-09-06 19:16:31 +02:00

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;
}