Bug 79785

Summary: Suggestion: Automatic keyboard layout switching
Product: [Applications] kwordquiz Reporter: Rex Kerr <kdebugs>
Component: generalAssignee: Peter Hedlund <peter>
Status: RESOLVED FIXED    
Severity: wishlist CC: esigra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Rex Kerr 2004-04-16 23:48:19 UTC
Version:           1.0 (using KDE 3.2.2,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian 20040401)
OS:          Linux (i686) release 2.4.24-xfs

When entering a large number of cards in a non Latin keyboard layout it would be nice if you could specify the keyboard layout for each side of the card and have it automatically switch your keyboard layout for you when you enter the edit field.   It is a pain to have to switch back and forth for each and every card!
Comment 1 Peter Hedlund 2004-06-18 19:44:00 UTC
FlashKard has been replaced by KWordQuiz.
Comment 2 Tristan Miller 2008-06-12 16:49:09 UTC
The KDE keyboard tool already allows you to set a keyboard shortcut for layout switching.  Surely setting it to something trivial, like Ctrl, should be sufficient.
Comment 3 Peter Hedlund 2009-02-27 23:37:33 UTC
SVN commit 933074 by hedlund:

Initial implementation of automatic keyboard layout switching between the two columns.

The only GUI currently available is through the context menu of the table.

A remaining issue is that there is a one character delay when editing the table. This is not the case in Parley. Need to investigate further.

CCBUG: 79785

 M  +59 -2     kwordquiz.cpp  
 M  +7 -2      kwordquiz.h  
 M  +8 -0      kwordquiz.kcfg  
 M  +2 -0      kwordquizui.rc  
 M  +14 -14    kwqquizmodel.cpp  
 M  +1 -1      kwqquizmodel.h  
 M  +19 -2     kwqtabledelegate.cpp  
 M  +8 -1      qaview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=933074
Comment 4 Peter Hedlund 2009-03-25 23:12:26 UTC
SVN commit 944667 by hedlund:

Finalized the implementation of keyboard layout switching.

BUG: 79785

 M  +1 -3      CMakeLists.txt  
 A             columndialogbase.ui  
 M  +68 -39    dlglanguage.cpp  
 M  +9 -6      dlglanguage.h  
 D             dlglanguagebase.ui  
 D             dlgrc.cpp  
 D             dlgrc.h  
 D             dlgrcbase.ui  
 M  +8 -0      documentsettings.kcfg  
 M  +7 -40     kwordquiz.cpp  
 M  +1 -8      kwordquiz.h  
 M  +0 -8      kwordquiz.kcfg  
 M  +1 -32     kwordquizui.rc  
 M  +27 -95    kwqcommands.cpp  
 M  +14 -24    kwqcommands.h  
 M  +3 -2      kwqquizmodel.cpp  
 M  +26 -1     kwqtablemodel.cpp  
 M  +5 -1      kwqtablemodel.h  
 M  +26 -31    kwqtableview.cpp  
 M  +3 -3      kwqtableview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=944667