KNewStuff
Go to the documentation of this file.
21 #include <QtGui/QLabel>
22 #include <QtGui/QLayout>
33 setCaption(
i18n(
"Translate this entry"));
34 setButtons(KDialog::Ok | KDialog::Cancel);
51 languagebox->addItem(
"English");
52 languagebox->addItem(
"German");
54 oname->setEnabled(
false);
55 odescription->setEnabled(
false);
57 QVBoxLayout *vbox =
new QVBoxLayout(root);
59 QHBoxLayout *hbox =
new QHBoxLayout();
61 hbox->addWidget(languagebox);
63 QGridLayout *grid =
new QGridLayout();
64 grid->addWidget(lname, 0, 0);
65 grid->addWidget(oname, 0, 1);
66 grid->addWidget(m_name, 0, 2);
67 grid->addWidget(ldescription, 1, 0);
68 grid->addWidget(odescription, 1, 1);
69 grid->addWidget(m_description, 1, 2);
70 grid->addWidget(lpayload, 2, 0);
71 grid->addWidget(m_payload, 2, 2);
73 vbox->addLayout(hbox);
74 vbox->addLayout(grid);
77 #include "kdxstranslation.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Thu Sep 25 2014 04:21:03 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.