1. 19 Apr, 2015 2 commits
    • Holger Kaelberer's avatar
      core: add initial version of doxygen/kapidox documentation · 3fb84ea7
      Holger Kaelberer authored
      Documents the most important files from core subdeviding logically
      into "Infrastructure" (like ApplicationSettings, etc.) and "QML
      Components" (e.g. GCText, etc).
      
      Basic ideas while documenting:
      
      - For .cpp files exposed to the QML layer document the Q_PROPERTY
        definitions only (not also all getter and setter), plus internal
        methods where considered important. The rest has been marked
        INTERNAL_DOCS.
      
      - For QML components defined in .qml documents all properties that are
        part of the public interface (not the ones used internally only). All
        properties that have been considered purely internal have been marked
        INTERNAL_DOCS.
      
      - Restructured all documented files slightly to group public
        documented members together, preferably at the top of the class
        defininition.
      
      Mainpage.dox defines the "Main page" plus the
      
      Build by running kgenapidox at the top level directory.
      
      ToDos/Issues:
      
      - How to include core.js to the documented files?
      - How to eliminate the doxyqml error for GCSingletonFontLoader?
      - Some missing .qml files in core/.
      - Refine public interface if necessary: Are additional properties
      - Shall we suppress to generate files for all activities?
      - Need to address something from doxygen-warnings.log?
      3fb84ea7
    • Bruno Coudoin's avatar
  2. 11 Feb, 2015 1 commit
    • Bruno Coudoin's avatar
      core, new internal dialog system instead of Qt Dialogs. · 9f51be34
      Bruno Coudoin authored
      Qt Dialogs brings several issues for us:
      - On desktop create external floating window
      - On Android, brings the system toolbar that overrides our bar and
        never get away.
      - Hard to port on some platforms
      - Hard to translate YES / NO Button
      - Cannot customize button with children aware icons
      
      This implementation implemented our specific dialog system that are
      easy to customize the way we need.
      9f51be34
  3. 04 Feb, 2015 1 commit
    • Holger Kaelberer's avatar
      core: fix locale handling for voices · 556df29c
      Holger Kaelberer authored
      For voices we need to be more specific with locale-names as we provide
      some voices-packages that are territory/country-specific. So far we
      used pt for pt_BR and could not resolve zh_CN correctly.
      
      Therefore we added a new helper, ApplicationInfo::getVoicesLocale()
      that returns a correct voices locale name and expects as input a
      locale of the form <language>_<country>.
      
      This is used then for voices-downloads as well as for
      getAudioFilePath().
      556df29c
  4. 29 Jan, 2015 1 commit
  5. 17 Jan, 2015 1 commit
  6. 08 Jan, 2015 1 commit
  7. 30 Dec, 2014 1 commit
  8. 25 Dec, 2014 1 commit
  9. 15 Dec, 2014 1 commit
  10. 22 Oct, 2014 2 commits
  11. 19 Oct, 2014 1 commit
  12. 18 Oct, 2014 1 commit
  13. 05 Oct, 2014 1 commit
  14. 21 Sep, 2014 1 commit
  15. 18 Sep, 2014 1 commit
  16. 27 Aug, 2014 1 commit
    • Bruno Coudoin's avatar
      core, audio refactoring · 83192a9c
      Bruno Coudoin authored
      We now have 2 global audio items, one for the voices, one for the effects.
      
      They both can be mutted from our configuration dialog
      
      They are both passed to the ActivityBase of the activity and they must be used
      there instead of creating a GCAudio in the activity itself.
      
      This patch does not include the refactoring of all activities.
      83192a9c
  17. 28 Jul, 2014 2 commits
  18. 27 Jul, 2014 1 commit
  19. 30 Jun, 2014 1 commit
  20. 19 Jun, 2014 1 commit
    • Holger Kaelberer's avatar
      core: handle quit centrally and inform user of running downloads · 25534256
      Holger Kaelberer authored
      For all events that lead to application quit we trigger now quit() in
      core.js which informs the user if downloads are in progress.
      
      Note, that connecting to QQmlApplicationEngine::quit() does not work
      because a popup dialog does not block the quit process on android.
      Therefore we need to trigger Qt.quit() manually *after* the download
      dialog has finished.
      25534256
  21. 14 Jun, 2014 1 commit
  22. 01 May, 2014 1 commit
  23. 28 Apr, 2014 1 commit
  24. 20 Apr, 2014 1 commit
  25. 13 Apr, 2014 2 commits
  26. 06 Apr, 2014 1 commit
  27. 05 Apr, 2014 2 commits
  28. 22 Mar, 2014 1 commit
    • Bruno Coudoin's avatar
      normalized imports. · f0339052
      Bruno Coudoin authored
      Now all import are QtQuick 2.2, QtQuick.Controls 1.2, QtQuick.Window 2.2
      
      I found out that adding a ComboBox was crashing GCompris. Could
      not reproduce on a simple independant program so did not made a
      Qt bug report..
      f0339052
  29. 10 Mar, 2014 1 commit
  30. 11 Feb, 2014 1 commit
    • Bruno Coudoin's avatar
      A little reog of the ActivityInfo fields · b24ff6e0
      Bruno Coudoin authored
      It is annoying to have all the activities named Activity.qml
      It is especially not user friendly when in QtCreator because
      you have to check in which directory you are to know which
      activity you are in.
      
      This patch changes the meaning of the 'name' field of the
      ActivityInfo to point to the proper qml file from
      src/activities.
      b24ff6e0
  31. 02 Feb, 2014 2 commits
  32. 23 Jan, 2014 2 commits
  33. 12 Jan, 2014 1 commit