~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
..
android 1770 10 years ago Peter.Bienstman at UGent Start native Android client. Diff
cle 1770 10 years ago Peter.Bienstman at UGent Start native Android client. Diff
embedded_in_C 1151 14 years ago Peter Bienstman Lots of embedded C fun. Diff
example_plugins 1333 13 years ago Peter Bienstman Tweaks for dialogs. Diff
example_scripts 1444 12 years ago Peter Bienstman -Make it easier to access Mnemosyne from a python Diff
libmnemosyne 295 16 years ago pbienst Reorganise. Diff
ppygui_ui 689 15 years ago Peter Bienstman Import ppyui prototype by Felix Engel. Diff
pyqt_ui 2 18 years ago pbienst Initial revision Diff
script 1444 12 years ago Peter Bienstman -Make it easier to access Mnemosyne from a python Diff
sl4a 1697 11 years ago Peter Bienstman Finish Android client. Diff
UDP_server 1141 14 years ago Peter Bienstman Start work on UDP server. Diff
web_server 1717 11 years ago Peter Bienstman Refactoring. Diff
__init__.py 232 17 years ago pbienst Install translators. 1 bytes Diff Download File
LICENSE 1671 11 years ago Peter Bienstman -remember column widths in browser again -fix brow 31.6 KB Diff Download File
README 1770 10 years ago Peter.Bienstman at UGent Start native Android client. 1.1 KB Diff Download File
version.py 1863 9 years ago Peter.Bienstman at UGent Tag 2.3.3. 64 bytes Diff Download File