|
Lines 185-190
Link Here
|
| 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 &accelerators when not in use"), gbWidgetStyle ); |
| 187 |
gbWidgetStyleLayout->addWidget( cbAutoHideAccelerators ); |
187 |
gbWidgetStyleLayout->addWidget( cbAutoHideAccelerators ); |
|
|
188 |
cbMenuAltKeyNavigation = new TQCheckBox( i18n("Pressing only the &Alt 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 1096-1101
Link Here
|
| 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( "If you enable this option, keyboard accelerator hints will be hidden unless the first accelerator key in the sequence (normally Alt) is depressed." ) ); |
|
|
1104 |
TQWhatsThis::add( cbMenuAltKeyNavigation, i18n( "When enabled, pressing only the Alt key immediately selects the top level of " |
| 1105 |
"the first menu in the menu bar but does not open the menu. This is a " |
| 1106 |
"Trinity/Qt3 feature and generally not available with most non Trinity apps. " |
| 1107 |
"Disabling this feature means the Alt key must be pressed concurrently with an " |
| 1108 |
"accelerator key to open a menu from the menu bar in Trinity apps.") ); |
| 1099 |
TQWhatsThis::add( cbTearOffHandles, i18n( "If you enable this option some pop-up menus will " |
1109 |
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 " |
1110 |
"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 " |
1111 |
"inside a widget. This can be very helpful when performing " |