|
|
|
@ -65,7 +65,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
|
|
|
|
|
setMainWidget(page);
|
|
|
|
|
TQHBoxLayout* topLayout = new TQHBoxLayout(page, 0, KDialog::spacingHint());
|
|
|
|
|
|
|
|
|
|
TQGroupBox* fieldsGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Current Fields"), page);
|
|
|
|
|
TQGroupBox* fieldsGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Current Fields"), page);
|
|
|
|
|
topLayout->addWidget(fieldsGroup, 1);
|
|
|
|
|
m_fieldsBox = new TQListBox(fieldsGroup);
|
|
|
|
|
m_fieldsBox->setMinimumWidth(150);
|
|
|
|
@ -109,7 +109,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
|
|
|
|
|
vbox->setSpacing(KDialog::spacingHint());
|
|
|
|
|
topLayout->addWidget(vbox, 2);
|
|
|
|
|
|
|
|
|
|
TQGroupBox* propGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Field Properties"), vbox);
|
|
|
|
|
TQGroupBox* propGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Field Properties"), vbox);
|
|
|
|
|
|
|
|
|
|
TQWidget* grid = new TQWidget(propGroup);
|
|
|
|
|
// (parent, nrows, ncols, margin, spacing)
|
|
|
|
@ -223,7 +223,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
|
|
|
|
|
TQWhatsThis::add(m_btnExtended, whats);
|
|
|
|
|
connect(m_btnExtended, TQT_SIGNAL(clicked()), TQT_SLOT(slotShowExtendedProperties()));
|
|
|
|
|
|
|
|
|
|
TQButtonGroup* bg = new TQButtonGroup(1, Qt::Horizontal, i18n("Format Options"), vbox);
|
|
|
|
|
TQButtonGroup* bg = new TQButtonGroup(1, TQt::Horizontal, i18n("Format Options"), vbox);
|
|
|
|
|
m_formatNone = new TQRadioButton(i18n("No formatting"), bg);
|
|
|
|
|
TQWhatsThis::add(m_formatNone, i18n("This option prevents the field from ever being "
|
|
|
|
|
"automatically formatted or capitalized."));
|
|
|
|
@ -238,7 +238,7 @@ CollectionFieldsDialog::CollectionFieldsDialog(Data::CollPtr coll_, TQWidget* pa
|
|
|
|
|
"name, but only if those options are globally set."));
|
|
|
|
|
connect(bg, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotModified()));
|
|
|
|
|
|
|
|
|
|
TQGroupBox* optionsGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Field Options"), vbox);
|
|
|
|
|
TQGroupBox* optionsGroup = new TQGroupBox(1, TQt::Horizontal, i18n("Field Options"), vbox);
|
|
|
|
|
m_complete = new TQCheckBox(i18n("Enable auto-completion"), optionsGroup);
|
|
|
|
|
TQWhatsThis::add(m_complete, i18n("If checked, TDE auto-completion will be enabled in the "
|
|
|
|
|
"text edit box for this field."));
|
|
|
|
|