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

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/libmnemosyne/card_type.py

  • Committer: pbienst
  • Date: 2008-08-05 14:51:17 UTC
  • Revision ID: svn-v3-trunk0:e5e6b78b-db40-0410-9517-b98c64f8d2c1:trunk:500
Progress dump.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#   The keys from the fact are also given more verbose names here. This is
17
17
#   not done in fact.py, on one hand to save space in the database, and
18
18
#   on the other hand to allow the possibilty that different card types
19
 
#   give different names to the same key. (E.g. 'pronunciation' could be
20
 
#   called 'reading' in a Kanji card type).
 
19
#   give different names to the same key. (E.g. foreign word' could be
 
20
#   called 'French' in a French card type, or'pronunciation' could be
 
21
#   called 'reading' in a Kanji card type.)
21
22
#
22
23
#   We could use the component manager to track fact views, but this is
23
24
#   probably overkill.
42
43
        self.id            = -1
43
44
        self.name          = ""
44
45
        self.description   = ""
45
 
        #self.widget_class  = None
46
 
        #self.widget        = None
47
46
        self.css           = ""
48
47
        self.a_on_top_of_q = False
49
48
        self.is_language   = False