~kevang/mnemosyne-proj/grade-shortcuts-improvements

  • Committer: Kilian Evang
  • Date: 2015-05-12 13:44:26 UTC
  • Revision ID: noreply@texttheater.net-20150512134426-qla5fmyglw5mfnwk
ReviewWdgt no longer associates shortcuts with grade buttons, instead handles
all key presses in the keyPressEvent method. I think this allows for a more
unified, less error-prone treatment of the keyboard interface.

In addition, it now always avoids reacting to auto-repeated grade key presses.
For example, if you press a number key to show the answer and hold it down for
too long, it would previously immediately grade the card. This is no longer the
case. There was no obvious way to solve this problem with the shortcuts.

Furthermore, it now always avoids grading the current card when the answer is
not showing. Previously, there was a race condition that could lead to two
cards being graded in a row when the user accidentally hit two grade keys at
once, see https://code.launchpad.net/~kevang/mnemosyne-proj/grade_only_if_showing/+merge/235605
for a detailed description.
Filename Latest Rev Last Changed Committer Comment Size
..
add.png 483 16 years ago Peter Bienstman Restore good pixmaps. 758 bytes Diff Download File
add.xcf 483 16 years ago Peter Bienstman Restore good pixmaps. 2.7 KB Diff Download File
bold.png 648 15 years ago pbienst More bug fixing. 832 bytes Diff Download File
cancel.png 483 16 years ago Peter Bienstman Restore good pixmaps. 4 KB Diff Download File
cards.png 807 15 years ago Peter Bienstman More fixes and cleanups. 701 bytes Diff Download File
cards.xcf 807 15 years ago Peter Bienstman More fixes and cleanups. 2.4 KB Diff Download File
configure.png 483 16 years ago Peter Bienstman Restore good pixmaps. 4.2 KB Diff Download File
deck.png 483 16 years ago Peter Bienstman Restore good pixmaps. 1014 bytes Diff Download File
deck.xcf 483 16 years ago Peter Bienstman Restore good pixmaps. 2.5 KB Diff Download File
delete.png 483 16 years ago Peter Bienstman Restore good pixmaps. 909 bytes Diff Download File
delete.xcf 483 16 years ago Peter Bienstman Restore good pixmaps. 2.7 KB Diff Download File
edit.png 483 16 years ago Peter Bienstman Restore good pixmaps. 749 bytes Diff Download File
edit.xcf 483 16 years ago Peter Bienstman Restore good pixmaps. 2.7 KB Diff Download File
edit_add.png 483 16 years ago Peter Bienstman Restore good pixmaps. 3.2 KB Diff Download File
exit.png 483 16 years ago Peter Bienstman Restore good pixmaps. 1.3 KB Diff Download File
filenew.png 483 16 years ago Peter Bienstman Restore good pixmaps. 2.9 KB Diff Download File
fileopen.png 483 16 years ago Peter Bienstman Restore good pixmaps. 3.6 KB Diff Download File
filesave.png 483 16 years ago Peter Bienstman Restore good pixmaps. 3.6 KB Diff Download File
filesaveas.png 483 16 years ago Peter Bienstman Restore good pixmaps. 3.8 KB Diff Download File
highlight.png 483 16 years ago Peter Bienstman Restore good pixmaps. 1 KB Diff Download File
image.png 648 15 years ago pbienst More bug fixing. 1 KB Diff Download File
italic.png 648 15 years ago pbienst More bug fixing. 708 bytes Diff Download File
latex.png 648 15 years ago pbienst More bug fixing. 1 KB Diff Download File
mnemosyne.icns 483 16 years ago Peter Bienstman Restore good pixmaps. 173 KB Diff Download File
mnemosyne.ico 1390 13 years ago Peter Bienstman -added large res icon for Windows 7 -OSX building 54.8 KB Diff Download File
mnemosyne.png 483 16 years ago Peter Bienstman Restore good pixmaps. 13.5 KB Diff Download File
mnemosyne.svg 961 14 years ago Peter Bienstman Add svg icon by Tim Bourke. 34.4 KB Diff Download File
mnemosyne_large.png 1390 13 years ago Peter Bienstman -added large res icon for Windows 7 -OSX building 29.8 KB Diff Download File
mnemosyne_small.png 483 16 years ago Peter Bienstman Restore good pixmaps. 1.1 KB Diff Download File
sound.png 648 15 years ago pbienst More bug fixing. 1 KB Diff Download File
statistics.png 483 16 years ago Peter Bienstman Restore good pixmaps. 3.6 KB Diff Download File
tags.png 648 15 years ago pbienst More bug fixing. 1.1 KB Diff Download File
underline.png 648 15 years ago pbienst More bug fixing. 704 bytes Diff Download File