37 QGridLayout *main_layout =
new QGridLayout(
this);
38 QPushButton *close_button;
49 helps[i] =
new QTextEdit(QString::fromUtf8(text));
50 helps[i]->setParent(
this);
51 main_layout->addWidget(
helps[i++], row++, 0);
54 close_button =
new QPushButton(QString::fromUtf8(
R__(
"Close")),
this);
55 connect(close_button, SIGNAL(pressed()),
this, SLOT(
close_now()));
56 main_layout->addWidget(close_button, row++, 0);
58 setLayout(main_layout);