20 #include "kmconfigcommand.h"
21 #include "kxmlcommandselector.h"
24 #include <tqgroupbox.h>
27 #include <tdelocale.h>
30 KMConfigCommand::KMConfigCommand(TQWidget *parent,
const char *name)
31 : KMConfigPage(parent, name)
33 setPageName(i18n(
"Commands"));
34 setPageHeader(i18n(
"Command Settings"));
35 setPagePixmap(
"application-x-executable");
37 TQGroupBox *gb =
new TQGroupBox(0, TQt::Horizontal, i18n(
"Edit/Create Commands"),
this);
38 TQLabel *lab =
new TQLabel(i18n(
39 "<p>Command objects perform a conversion from input to output.<br>"
40 "They are used as the basis to build both print filters "
41 "and special printers. They are described by a command string, a "
42 "set of options, a set of requirements and associated mime types. "
43 "Here you can create new command objects and edit existing ones. All "
44 "changes will only be effective for you."), gb);
45 KXmlCommandSelector *sel =
new KXmlCommandSelector(
false, gb);
47 TQVBoxLayout *l0 =
new TQVBoxLayout(
this, 0, KDialog::spacingHint());
50 TQVBoxLayout *l2 =
new TQVBoxLayout(gb->layout(), KDialog::spacingHint());