~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
..
binary_formats 1027 14 years ago Peter Bienstman More binary download work. Diff
text_formats 1027 14 years ago Peter Bienstman More binary download work. Diff
__init__.py 894 15 years ago Peter Bienstman Iniatal merge of Max's sync code. 1 bytes Diff Download File
binary_format.py 1687 11 years ago Peter Bienstman More server tweaks. 559 bytes Diff Download File
client.py 1833 10 years ago Peter.Bienstman at UGent -fix sync with filenames with double dot -always g 27.5 KB Diff Download File
database.py 1702 11 years ago Peter Bienstman Also sync settings on initial sync. 5.6 KB Diff Download File
LICENSE 867 15 years ago Peter Bienstman Relicense. 7.4 KB Diff Download File
log_entry.py 1441 12 years ago Peter Bienstman Remove new_interval and last_rep from logs. 5.5 KB Diff Download File
partner.py 1757 10 years ago Peter.Bienstman at UGent Fix Android unicode issues. 1.5 KB Diff Download File
README 1380 13 years ago Peter Bienstman Check for edited local media files defaults to fal 13.7 KB Diff Download File
server.py 1833 10 years ago Peter.Bienstman at UGent -fix sync with filenames with double dot -always g 28.8 KB Diff Download File
text_format.py 1105 14 years ago Peter Bienstman Rework error handling of openSM2sync protocol. 844 bytes Diff Download File
ui.py 1685 11 years ago Peter Bienstman Finish server work. 1.4 KB Diff Download File
utils.py 1757 10 years ago Peter.Bienstman at UGent Fix Android unicode issues. 1.6 KB Diff Download File