[Kst] [Bug 121994] Use 'alt' key to temporarily enter layout mode from any mode

George Staikos staikos at kde.org
Mon Feb 20 14:56:21 CET 2006

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

------- Additional Comments From staikos kde org  2006-02-20 14:56 -------
On Monday 20 February 2006 04:38, Nicolas Brisset wrote:
> 10:38 ------- What do you mean by "needs" ? Is this a "philosophical" rule
> or a technical requiement ? Because as things stand, I don't see any other
> choice of "special" key easily accessible with the left hand (sorry
> left-handed people out there !). The only other possibility might be a
> combination like Shift+Ctrl+mouse or something else. Personally, I'd prefer
> Esc...

  In order to be properly portable, and perhaps to work at all on X11, it has 
to be a modifier key.  ESC is not a modifier key.  QMouseEvent only contains 
the following:

Qt::ShiftButton - a Shift key on the keyboard is also pressed. 
Qt::ControlButton - a Ctrl key on the keyboard is also pressed. 
Qt::AltButton - an Alt key on the keyboard is also pressed. 
Qt::MetaButton - a Meta key on the keyboard is also pressed. 
Qt::Keypad - a keypad button is pressed.

   Holding ESC will just generate a sequence of keys based on the repeat rate 
of the keyboard anyway, I think.

More information about the Kst mailing list