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