[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-usability
Subject:    Re: Key accelerators in dialog boxes
From:       Martijn Klingens <klingens () kde ! org>
Date:       2002-10-02 21:49:09
[Download RAW message or body]

On Wednesday 02 October 2002 23:39, Martijn Klingens wrote:
> Like I said, merely intercepting plain letters and
> re-emitting the keyboard event with the same letter and the alt-key down
> would probably work without difficult hacks to actually 'understand' the
> widgets in the messagebox.

It's slightly more tricky because KMessageBox is not a widget, but only a 
class that instantiates KDialogBases that it populates itself. I'd need to 
add a small helper class that is a QObject to get this to work, but it's 
quite doable. (I'm thinking of an eventfilter here.)
-- 
Martijn


_______________________________________________
kde-usability mailing list
kde-usability@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-usability
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic