|
|
@ -124,9 +124,9 @@ void KBConfigDlg::setupGeneralPage()
|
|
|
|
groupsLayout->setSpacing(2);
|
|
|
|
groupsLayout->setSpacing(2);
|
|
|
|
|
|
|
|
|
|
|
|
lbGroups = new TDEListBox(page);
|
|
|
|
lbGroups = new TDEListBox(page);
|
|
|
|
TQObject::connect(lbGroups, SIGNAL(selectionChanged()), this, SLOT(slotLayoutSelected()));
|
|
|
|
TQObject::connect(lbGroups, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotLayoutSelected()));
|
|
|
|
TQObject::connect(lbGroups, SIGNAL(doubleClicked(TQListBoxItem *)), this,
|
|
|
|
TQObject::connect(lbGroups, TQ_SIGNAL(doubleClicked(TQListBoxItem *)), this,
|
|
|
|
SLOT(slotListBoxExecuted(TQListBoxItem *)));
|
|
|
|
TQ_SLOT(slotListBoxExecuted(TQListBoxItem *)));
|
|
|
|
groupsLayout->addWidget(lbGroups);
|
|
|
|
groupsLayout->addWidget(lbGroups);
|
|
|
|
lbl->setBuddy(lbGroups);
|
|
|
|
lbl->setBuddy(lbGroups);
|
|
|
|
TQWhatsThis::add(lbGroups, i18n("This list box shows keyboard layouts available in your system.\n"
|
|
|
|
TQWhatsThis::add(lbGroups, i18n("This list box shows keyboard layouts available in your system.\n"
|
|
|
@ -139,19 +139,19 @@ void KBConfigDlg::setupGeneralPage()
|
|
|
|
btnLayout->setSpacing(2);
|
|
|
|
btnLayout->setSpacing(2);
|
|
|
|
|
|
|
|
|
|
|
|
btnChangeIcon = new TQPushButton(i18n("Cha&nge Icon..."), page);
|
|
|
|
btnChangeIcon = new TQPushButton(i18n("Cha&nge Icon..."), page);
|
|
|
|
TQObject::connect(btnChangeIcon, SIGNAL(clicked()), this, SLOT(slotPickIcon()));
|
|
|
|
TQObject::connect(btnChangeIcon, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotPickIcon()));
|
|
|
|
btnLayout->addWidget(btnChangeIcon, 0, TQt::AlignTop);
|
|
|
|
btnLayout->addWidget(btnChangeIcon, 0, TQt::AlignTop);
|
|
|
|
TQWhatsThis::add(btnChangeIcon, i18n("Click this button to change the icon for the "
|
|
|
|
TQWhatsThis::add(btnChangeIcon, i18n("Click this button to change the icon for the "
|
|
|
|
"layout selected in the list box to the left."));
|
|
|
|
"layout selected in the list box to the left."));
|
|
|
|
|
|
|
|
|
|
|
|
btnSetDefaultIcon = new TQPushButton(i18n("Use &Default Icon"), page);
|
|
|
|
btnSetDefaultIcon = new TQPushButton(i18n("Use &Default Icon"), page);
|
|
|
|
TQObject::connect(btnSetDefaultIcon, SIGNAL(clicked()), this, SLOT(slotSetDefaultIcon()));
|
|
|
|
TQObject::connect(btnSetDefaultIcon, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSetDefaultIcon()));
|
|
|
|
btnLayout->addWidget(btnSetDefaultIcon, 0, TQt::AlignTop);
|
|
|
|
btnLayout->addWidget(btnSetDefaultIcon, 0, TQt::AlignTop);
|
|
|
|
TQWhatsThis::add(btnSetDefaultIcon, i18n("Click this button to use default icon for the "
|
|
|
|
TQWhatsThis::add(btnSetDefaultIcon, i18n("Click this button to use default icon for the "
|
|
|
|
"layout selected in the list box to the left."));
|
|
|
|
"layout selected in the list box to the left."));
|
|
|
|
|
|
|
|
|
|
|
|
btnSetDefaultGroup = new TQPushButton(i18n("&Set as Default"), page);
|
|
|
|
btnSetDefaultGroup = new TQPushButton(i18n("&Set as Default"), page);
|
|
|
|
TQObject::connect(btnSetDefaultGroup, SIGNAL(clicked()), this, SLOT(slotSetDefaultGroup()));
|
|
|
|
TQObject::connect(btnSetDefaultGroup, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSetDefaultGroup()));
|
|
|
|
btnLayout->addWidget(btnSetDefaultGroup, 0, TQt::AlignTop);
|
|
|
|
btnLayout->addWidget(btnSetDefaultGroup, 0, TQt::AlignTop);
|
|
|
|
TQWhatsThis::add(btnSetDefaultGroup, i18n("Click this button to set the layout selected "
|
|
|
|
TQWhatsThis::add(btnSetDefaultGroup, i18n("Click this button to set the layout selected "
|
|
|
|
"in the list box to the left as the default"));
|
|
|
|
"in the list box to the left as the default"));
|
|
|
@ -167,7 +167,7 @@ void KBConfigDlg::setupGeneralPage()
|
|
|
|
cbxIconType->insertItem(i18n("Country flag"));
|
|
|
|
cbxIconType->insertItem(i18n("Country flag"));
|
|
|
|
cbxIconType->insertItem(i18n("Language code"));
|
|
|
|
cbxIconType->insertItem(i18n("Language code"));
|
|
|
|
cbxIconType->insertItem(i18n("Flag and code"));
|
|
|
|
cbxIconType->insertItem(i18n("Flag and code"));
|
|
|
|
TQObject::connect(cbxIconType, SIGNAL(activated(int)), this, SLOT(slotIconTypeSelected(int)));
|
|
|
|
TQObject::connect(cbxIconType, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotIconTypeSelected(int)));
|
|
|
|
vlayout->addWidget(cbxIconType);
|
|
|
|
vlayout->addWidget(cbxIconType);
|
|
|
|
lbl->setBuddy(cbxIconType);
|
|
|
|
lbl->setBuddy(cbxIconType);
|
|
|
|
TQWhatsThis::add(cbxIconType, i18n("<p>Select the style of icons representing the "
|
|
|
|
TQWhatsThis::add(cbxIconType, i18n("<p>Select the style of icons representing the "
|
|
|
@ -218,7 +218,7 @@ void KBConfigDlg::setupShortcutsPage()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQVBox *box = addVBoxPage(i18n("Sho&rtcuts"));
|
|
|
|
TQVBox *box = addVBoxPage(i18n("Sho&rtcuts"));
|
|
|
|
chkUseShortcuts = new TQCheckBox(i18n("Use shortcuts to &activate keyboard layouts"), box);
|
|
|
|
chkUseShortcuts = new TQCheckBox(i18n("Use shortcuts to &activate keyboard layouts"), box);
|
|
|
|
connect(chkUseShortcuts, SIGNAL(toggled(bool)), this, SLOT(slotUseShortcutsToggled(bool)));
|
|
|
|
connect(chkUseShortcuts, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotUseShortcutsToggled(bool)));
|
|
|
|
TQWhatsThis::add(chkUseShortcuts, i18n("Check this checkbox to be able to quickly "
|
|
|
|
TQWhatsThis::add(chkUseShortcuts, i18n("Check this checkbox to be able to quickly "
|
|
|
|
"activate any keyboard layout with keyboard shorcuts. Once this checkbox "
|
|
|
|
"activate any keyboard layout with keyboard shorcuts. Once this checkbox "
|
|
|
|
"is checked, you can adjust the shortcuts at the key chooser pane below. "
|
|
|
|
"is checked, you can adjust the shortcuts at the key chooser pane below. "
|
|
|
|