1. 15 Jun, 2017 1 commit
  2. 06 Jul, 2015 1 commit
  3. 05 Mar, 2013 1 commit
  4. 22 Feb, 2013 1 commit
  5. 04 Nov, 2012 1 commit
    • Sebastian Gottfried's avatar
      training screen: align keyboard with training widget · 3429c1a7
      Sebastian Gottfried authored
      But only when the keyboard occupies less then 50% of the available area
      that way. The aspect ration of the keyboard is fixed so for some window
      sizes a properly aligned keyboard would result in an almost completely
      obscured training widget.
      3429c1a7
  6. 28 Jun, 2012 1 commit
  7. 19 Jun, 2012 1 commit
  8. 24 May, 2012 1 commit
  9. 17 May, 2012 1 commit
    • Sebastian Gottfried's avatar
      core: DataAccess refactoring · 21d5cdf8
      Sebastian Gottfried authored
      Now the methods of DataAccess operate on entity classes instead of
      creating new ones. Object creation is handled in QML now. This fixes
      also various memory leaks, for instance, if the keyboard layout did
      change, the old Course objects didn't get deleted. This now handled
      automatically by the garbage collection of QML.
      21d5cdf8
  10. 08 Apr, 2012 1 commit
  11. 13 Jan, 2012 1 commit
  12. 12 Jan, 2012 1 commit
    • Sebastian Gottfried's avatar
      configuration infrastructure · b60e16d7
      Sebastian Gottfried authored
      Consisting of three parts:
       * the actual core powered by KConfig XT
       * the configuration dialog
       * and the PreferencesProxy making the settings available in QML
      
      Right now we have settings to configure wether the keyboard should be
      visible during training, to set the tresholds for unlocking new levels
      (not yet implemented) and the tinting colors for the keys indicating
      the finger to use.
      
      A few more settings will follow later, but not the plethora of settings
      provided by KTouch 1.
      b60e16d7
  13. 17 Dec, 2011 1 commit
    • Sebastian Gottfried's avatar
      proper keyboard layout loading · cde6b0fd
      Sebastian Gottfried authored
      Move loading code from KeyboardLayout to DataAccess. Remove static
      keyboard layout assignment in MainWindow::init() and load correct
      keyboard layout in main qml depending on the value of
      ViewContext::keyboardLayoutName. This commit contains  also some
      refactoring of the keyboard widget because of crashes due misbehaviour
      of the Repeater in Keyboard.qml.
      cde6b0fd
  14. 08 Dec, 2011 2 commits
    • Sebastian Gottfried's avatar
      don't waste vertical space for keyboard · 6084e53d
      Sebastian Gottfried authored
      Normally the keybard widget uses half space available in the content
      area under the header. Now the space is also limited also by the aspect
      ratio of keyboard layout. If the keyboard would't fit horizontaly in
      the available space it shrinks itself to fill it perfectly.
      6084e53d
    • Sebastian Gottfried's avatar
      SVG infrastructure and SVG graphics for training screen · a6407000
      Sebastian Gottfried authored
      We use Svg and SvgItem from org.kde.plasma.core to display SVG graphics.
      Svg expects an absolute file path for non-themed (as our custom
      graphics are) images, so we need a way to obtain these paths in QML.
      This is achieved with the new context object for the QML view,
      ContextView, which contains a method to lookup the path of a named
      image.
      
      As a test bed for the new infrastructe the background of the training
      screen is now SVG themed.
      a6407000
  15. 24 Nov, 2011 2 commits
    • Sebastian Gottfried's avatar
    • Sebastian Gottfried's avatar
      refactoring wrt keyboard layouts · fa1c5ca7
      Sebastian Gottfried authored
       * rename everything related from 'Keyboard' to 'KeyboardLayout'
       * define dimensions of a keyboard layout explitely in the XML format
       * this allows for efficient scaling of the keyboard widget as done now
       * keyboard layouts have now a name for indentifaction
       * use QChar for KeyChar::value
       * define proper list interfaces for KeyboardLayout and Key
       * don't rename the core classes for QML, QML namespaces may be uses
         to resolve conflics
       * update convert-keyboard.py to produce the new format
       * update sample keyboard layout file
      fa1c5ca7
  16. 23 Nov, 2011 2 commits
  17. 20 Nov, 2011 1 commit
    • Sebastian Gottfried's avatar
      new keyboard widget · 13c24e38
      Sebastian Gottfried authored
      The new keyboard widget has been created with QML. The data for the
      new widget is handled by a few new C++ classes created for this sole
      purpose.
      
      The keyboard widget has currently the following features:
       * key rendering
       * color tinting for keys
       * a pressed and a normal state for the keys
       * the ability to highlight keys including animated state transitions
       * rudimentary scaling
      
      No event handling done yet.
      
      Also add a small test application. It will be removed again later on.
      13c24e38