KShare/monospacetextdialog.cpp

14 lines
360 B
C++
Raw Normal View History

2017-08-21 16:17:20 +02:00
#include "monospacetextdialog.h"
#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;
}