|
Lines 183-190
Link Here
|
| 183 |
gbWidgetStyleLayout->addWidget( cbIconsOnButtons ); |
183 |
gbWidgetStyleLayout->addWidget( cbIconsOnButtons ); |
| 184 |
cbScrollablePopupMenus = new TQCheckBox( i18n("Enable &scrolling in popup menus"), gbWidgetStyle ); |
184 |
cbScrollablePopupMenus = new TQCheckBox( i18n("Enable &scrolling in popup menus"), gbWidgetStyle ); |
| 185 |
gbWidgetStyleLayout->addWidget( cbScrollablePopupMenus ); |
185 |
gbWidgetStyleLayout->addWidget( cbScrollablePopupMenus ); |
| 186 |
cbAutoHideAccelerators = new TQCheckBox( i18n("Hide &accelerators when not in use"), gbWidgetStyle ); |
186 |
cbAutoHideAccelerators = new TQCheckBox( i18n("Hide &underlined characters in the menu bar when not in use"), gbWidgetStyle ); |
| 187 |
gbWidgetStyleLayout->addWidget( cbAutoHideAccelerators ); |
187 |
gbWidgetStyleLayout->addWidget( cbAutoHideAccelerators ); |
|
|
188 |
cbMenuAltKeyNavigation = new TQCheckBox( i18n("&Pressing only the menu bar activator key selects the menu bar"), gbWidgetStyle ); |
| 189 |
gbWidgetStyleLayout->addWidget( cbMenuAltKeyNavigation ); |
| 188 |
cbEnableTooltips = new TQCheckBox( i18n("E&nable tooltips"), gbWidgetStyle ); |
190 |
cbEnableTooltips = new TQCheckBox( i18n("E&nable tooltips"), gbWidgetStyle ); |
| 189 |
gbWidgetStyleLayout->addWidget( cbEnableTooltips ); |
191 |
gbWidgetStyleLayout->addWidget( cbEnableTooltips ); |
| 190 |
cbTearOffHandles = new TQCheckBox( i18n("Show tear-off handles in &popup menus"), gbWidgetStyle ); |
192 |
cbTearOffHandles = new TQCheckBox( i18n("Show tear-off handles in &popup menus"), gbWidgetStyle ); |
|
Lines 385-390
Link Here
|
| 385 |
connect( cbIconsOnButtons, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); |
387 |
connect( cbIconsOnButtons, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); |
| 386 |
connect( cbScrollablePopupMenus,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); |
388 |
connect( cbScrollablePopupMenus,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); |
| 387 |
connect( cbAutoHideAccelerators,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); |
389 |
connect( cbAutoHideAccelerators,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); |
|
|
390 |
connect( cbMenuAltKeyNavigation,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); |
| 388 |
connect( cbTearOffHandles, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); |
391 |
connect( cbTearOffHandles, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setEffectsDirty())); |
| 389 |
connect( comboToolbarIcons, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setToolbarsDirty())); |
392 |
connect( comboToolbarIcons, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setToolbarsDirty())); |
| 390 |
|
393 |
|
|
Lines 607-612
Link Here
|
| 607 |
TQSettings settings; // Only for KStyle stuff |
610 |
TQSettings settings; // Only for KStyle stuff |
| 608 |
settings.writeEntry("/KStyle/Settings/ScrollablePopupMenus", cbScrollablePopupMenus->isChecked() ); |
611 |
settings.writeEntry("/KStyle/Settings/ScrollablePopupMenus", cbScrollablePopupMenus->isChecked() ); |
| 609 |
settings.writeEntry("/KStyle/Settings/AutoHideAccelerators", cbAutoHideAccelerators->isChecked() ); |
612 |
settings.writeEntry("/KStyle/Settings/AutoHideAccelerators", cbAutoHideAccelerators->isChecked() ); |
|
|
613 |
settings.writeEntry("/KStyle/Settings/MenuAltKeyNavigation", cbMenuAltKeyNavigation->isChecked() ); |
| 610 |
} |
614 |
} |
| 611 |
config.writeEntry( "EffectNoTooltip", !cbEnableTooltips->isChecked(), true, true ); |
615 |
config.writeEntry( "EffectNoTooltip", !cbEnableTooltips->isChecked(), true, true ); |
| 612 |
|
616 |
|
|
Lines 1036-1041
Link Here
|
| 1036 |
TQSettings settings; |
1040 |
TQSettings settings; |
| 1037 |
cbScrollablePopupMenus->setChecked(settings.readBoolEntry("/KStyle/Settings/ScrollablePopupMenus", false)); |
1041 |
cbScrollablePopupMenus->setChecked(settings.readBoolEntry("/KStyle/Settings/ScrollablePopupMenus", false)); |
| 1038 |
cbAutoHideAccelerators->setChecked(settings.readBoolEntry("/KStyle/Settings/AutoHideAccelerators", false)); |
1042 |
cbAutoHideAccelerators->setChecked(settings.readBoolEntry("/KStyle/Settings/AutoHideAccelerators", false)); |
|
|
1043 |
cbMenuAltKeyNavigation->setChecked(settings.readBoolEntry("/KStyle/Settings/MenuAltKeyNavigation", true)); |
| 1039 |
|
1044 |
|
| 1040 |
m_bToolbarsDirty = false; |
1045 |
m_bToolbarsDirty = false; |
| 1041 |
} |
1046 |
} |
|
Lines 1095-1101
Link Here
|
| 1095 |
TQWhatsThis::add( cbIconsOnButtons, i18n( "If you enable this option, TDE Applications will " |
1100 |
TQWhatsThis::add( cbIconsOnButtons, i18n( "If you enable this option, TDE Applications will " |
| 1096 |
"show small icons alongside some important buttons.") ); |
1101 |
"show small icons alongside some important buttons.") ); |
| 1097 |
TQWhatsThis::add( cbScrollablePopupMenus, i18n( "If you enable this option, pop-up menus will scroll if vertical space is exhausted." ) ); |
1102 |
TQWhatsThis::add( cbScrollablePopupMenus, i18n( "If you enable this option, pop-up menus will scroll if vertical space is exhausted." ) ); |
| 1098 |
TQWhatsThis::add( cbAutoHideAccelerators, i18n( "If you enable this option, keyboard accelerator hints will be hidden unless the first accelerator key in the sequence (normally Alt) is depressed." ) ); |
1103 |
TQWhatsThis::add( cbAutoHideAccelerators, i18n( "Program drop-down menus can be used with either the mouse or " |
|
|
1104 |
"keyboard. Each menu item on the menu bar that can be activated from the keyboard contains one " |
| 1105 |
"character that is underlined. When the underlined character key is pressed concurrently with the " |
| 1106 |
"activator key (usually Alt), the keyboard combination opens the menu or selects that menu item. The " |
| 1107 |
"underlines can remain hidden until the activator key is pressed or remain visible at all times. " |
| 1108 |
"Enabling this option hides the underlines until pressing the activator key." ) ); |
| 1109 |
TQWhatsThis::add( cbMenuAltKeyNavigation, i18n( "When using the keyboard, program drop-down menus can be " |
| 1110 |
"activated in one of two ways. Concurrently press the activator key (usually Alt) and the underlined " |
| 1111 |
"character that is part of the menu name, or sequentially press and release the activator key and then " |
| 1112 |
"press the underlined character. Enabling this option selects the latter method. The method of " |
| 1113 |
"concurrently pressing both keys is supported in both Trinity and non Trinity programs. The choice " |
| 1114 |
"of using either method applies to Trinity Programs only and not to non Trinity programs. Regardless " |
| 1115 |
"of which option is preferred, after a desired menu opens, pressing only the respective underlined " |
| 1116 |
"key of any menu item is required to select that menu item.") ); |
| 1099 |
TQWhatsThis::add( cbTearOffHandles, i18n( "If you enable this option some pop-up menus will " |
1117 |
TQWhatsThis::add( cbTearOffHandles, i18n( "If you enable this option some pop-up menus will " |
| 1100 |
"show so called tear-off handles. If you click them, you get the menu " |
1118 |
"show so called tear-off handles. If you click them, you get the menu " |
| 1101 |
"inside a widget. This can be very helpful when performing " |
1119 |
"inside a widget. This can be very helpful when performing " |