20 #include <qtextedit.h>
25 QBoxLayout *layout =
new QVBoxLayout(
this);
29 auto textedit =
new QTextEdit(
this);
31 textedit->setPlainText(text);
33 textedit->setReadOnly(
true);
34 layout->addWidget(textedit);
36 QDialog::resize(500, 400);
QmitkCopyToClipBoardDialog(const QString &text, QWidget *parent=nullptr, const char *name=nullptr)
virtual ~QmitkCopyToClipBoardDialog()