32 QGridLayout *main_layout =
new QGridLayout(
this);
33 QPushButton *close_button;
36 area =
new QTextEdit();
37 area->setParent(
this);
38 area->setReadOnly(
true);
39 main_layout->addWidget(
area, row++, 0);
41 close_button =
new QPushButton(QString::fromUtf8(
R__(
"Close")),
this);
42 connect(close_button, SIGNAL(pressed()),
this, SLOT(
close_now()));
43 main_layout->addWidget(close_button, row++, 0);
45 setLayout(main_layout);
46 setWindowTitle(
title);