~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
..
mnemosyne 2 18 years ago pbienst Initial revision Diff
openSM2sync 896 15 years ago Peter Bienstman Refactor. Diff
pixmaps 2 18 years ago pbienst Initial revision Diff
po 1340.1.10 13 years ago Johannes Baiter Finished work on libmnemosyne gettext translation Diff
science_server 1039 14 years ago Peter Bienstman Rename txt log to science log. Diff
tests 462 16 years ago pbienst Testing framework. Diff
.coveragerc 1138 14 years ago Peter Bienstman Testing improvements. 361 bytes Diff Download File
ChangeLog 1863 9 years ago Peter.Bienstman at UGent Tag 2.3.3. 41.6 KB Diff Download File
LICENSE 1671 11 years ago Peter Bienstman -remember column widths in browser again -fix brow 164 bytes Diff Download File
makefile 1847 9 years ago Peter.Bienstman at UGent Add testcases for merging code. 10 KB Diff Download File
MANIFEST.in 1855 9 years ago Peter.Bienstman at UGent Improve distrib tarball for osx. 391 bytes Diff Download File
mnemosyne.1 1498.1.2 12 years ago Peter Bienstman Improve standards compliance. (robertle) 882 bytes Diff Download File
mnemosyne.desktop 391 16 years ago pbienst Make desktop file standards compliant. 189 bytes Diff Download File
README 1860 9 years ago Peter.Bienstman at UGent Update TODO. 1.8 KB Diff Download File
README.devel 1754 10 years ago Peter.Bienstman at UGent More html tweaks. 159 bytes Diff Download File
setup.py 1859 9 years ago Peter.Bienstman at UGent Packaging fixes. Tag 2.3.2. 10.2 KB Diff Download File
TODO 1863 9 years ago Peter.Bienstman at UGent Tag 2.3.3. 19 KB Diff Download File