[Korganizer-devel] [Bug 137177] Accessibility: Keyboard control in reminder windows behave in an unexpected way
Bram Schoenmakers
bramschoenmakers at kde.nl
Sat Nov 11 12:08:42 CET 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=137177
bramschoenmakers kde nl changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From bramschoenmakers kde nl 2006-11-11 12:08 -------
SVN commit 604038 by bram:
Make the reminder dialog somewhat more usable when working with they keyboard. No strange focus switching with up-down arrows in the spin box for example. And added an accelerator for the interval spin box.
BUG:137177
M +2 -5 alarmdialog.cpp
--- branches/KDE/3.5/kdepim/korganizer/korgac/alarmdialog.cpp #604037:604038
@ -73,9 +73,10 @
suspendBox->setSpacing( spacingHint() );
topLayout->addWidget( suspendBox );
- new QLabel( i18n("Suspend duration:"), suspendBox );
+ QLabel *l = new QLabel( i18n("Suspend &duration:"), suspendBox );
mSuspendSpin = new QSpinBox( 1, 9999, 1, suspendBox );
mSuspendSpin->setValue( 5 ); // default suspend duration
+ l->setBuddy( mSuspendSpin );
mSuspendUnit = new KComboBox( suspendBox );
mSuspendUnit->insertItem( i18n("minute(s)") );
@ -83,10 +84,6 @
mSuspendUnit->insertItem( i18n("day(s)") );
mSuspendUnit->insertItem( i18n("week(s)") );
- connect( mSuspendSpin, SIGNAL( valueChanged(int) ), actionButton(User1), SLOT( setFocus() ) );
- connect( mSuspendUnit, SIGNAL( activated(int) ), actionButton(User1), SLOT( setFocus() ) );
- connect( mSuspendUnit, SIGNAL( activated(int) ), actionButton(User2), SLOT( setFocus() ) );
-
// showButton( User2/*3*/, false );
setMinimumSize( 300, 200 );
More information about the Korganizer-devel
mailing list