Jump to content

KDEEdu/KLettres: Difference between revisions

From KDE Community Wiki
Annma (talk | contribs)
Annma (talk | contribs)
Line 9: Line 9:


== Refactoring ==
== Refactoring ==
*separate data processing from UI: refactor the language and sounds handling classes
* separate data processing from UI: the view class should only have UI handling and painting methods
* refactor the language and sounds handling classes: read XML file and display only available levels for the selected language (parsing of layout document, probably add a class for this)

Revision as of 06:42, 16 May 2011

What is KLettres

  • A program to help people learn the alphabet and some syllables in a foreign language
  • Level 1: the user sees and hears the letter and must type it
  • Level 2: the user only hears the letter and must remember it and type it
  • Level 3 and 4 are as Levels 1 and 2 but for syllables.

Refactoring

  • separate data processing from UI: the view class should only have UI handling and painting methods
  • refactor the language and sounds handling classes: read XML file and display only available levels for the selected language (parsing of layout document, probably add a class for this)