release_notes.txt 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. Qt Quick: Playground Example v1.4.1
  2. ===================================
  3. This QML application demonstrates the features of Qt Quick with a set of demos
  4. and the possibility to view the source code of the demos. Each demo shows
  5. different Qt Quick features. The application is compatible with Maemo devices,
  6. Symbian^1, Symbian Anna, MeeGo 1.2 Harmattan devices, and Windows desktop.
  7. FILES
  8. -------------------------------------------------------------------------------
  9. src/main.cpp
  10. - The main file of the application. Creates QDeclarativeEngine and
  11. QDeclarativeView, sets the view to landscape, and starts demochooser.qml.
  12. src/qmlcodeprovider.cpp
  13. - Implementation of Qt class. Reads / writes a text file and provides the
  14. contents of the text file to the QML code.
  15. demochooser.qml
  16. - The main screen of the QtQuickPlayground application. Gives the parameters
  17. of each demo to demoitem.qml.
  18. content/demoitem.qml
  19. - Contains the graphic elements of the demo; the skin, text editor, and
  20. buttons. Handles the states and transitions when starting / closing /
  21. entering the code editor.
  22. content/demoitemcore.js
  23. - The JavaScript file that contains the code to dynamically load / unload the
  24. selected demo.
  25. content/texteditor.qml
  26. - TextEditor component, implements the code editor.
  27. content/dialog.qml
  28. - Dialog component which is used to show the error strings and to access the
  29. code editor to view the place in the code where the error is.
  30. content/sidepanel.qml
  31. - Side panel component, consists mostly of back and code editor buttons.
  32. content/fancypicker/*
  33. - Implementation of the FancyPicker demo.
  34. content/helloworld/*
  35. - Implementation of the HelloWorld demo.
  36. content/memorygame/*
  37. - Implementation of the MemoryGame demo.
  38. content/slideshow/*
  39. - Implementation of the SlideShow demo.
  40. content/webcontent/*
  41. - Implementation of the WebContent demo.
  42. qtc_packaging/
  43. - The directory which contains files related to Debian (Maemo and Harmattan)
  44. packaging.
  45. bin/
  46. - The compiled binaries for each platform.
  47. CLASSES AND ELEMENTS USED
  48. -------------------------------------------------------------------------------
  49. The most unusual Qt classes and QML elements are listed here.
  50. Qt classes
  51. ~~~~~~~~~~
  52. QDeclarativeView - used to interpret QML files.
  53. QGLWidget - used to paint the QDeclarativeView with Qt OpenGL.
  54. QDBusConnection - used to send a DBUS message in Maemo to minimise the
  55. application.
  56. QML elements
  57. ~~~~~~~~~~~~
  58. Grid - used to position the demos in the demo selector screen.
  59. TextEdit - used to implement the code editor.
  60. TextInput - used to implement the text input field in the WebContent
  61. demo.
  62. Flickable - used to implement the FancyPicker image viewing area and
  63. the panning feature of the code editor.
  64. WebView - used to implement the WebContent demo's web browser.
  65. Particles - used to implement the snow flakes.
  66. ListModel - used to implement the slide content for the SlideShow
  67. demo.
  68. ListView - used to implement the look of the slides of the SlideShow
  69. demo.
  70. StateChangeScript - used to run scripts in the state changes.
  71. ParentChange - used to change the parent of the demo when one of the
  72. demos is started.
  73. KNOWN ISSUES
  74. -------------------------------------------------------------------------------
  75. - The performance could be better (mostly in Symbian) due to the fact that
  76. each demo has several hidden graphic elements (code editor).
  77. - There are issues with the virtual keyboard (VKB) on Harmattan. The
  78. texts inputted must be "committed" by the Done button of the VKB in order the
  79. software to see the inputted text.
  80. DESIGN CONSIDERATIONS
  81. -------------------------------------------------------------------------------
  82. - There should be only one code editor in this application. Currently each
  83. demo has its own code editor, which consumes memory and resources.
  84. BUILD & INSTALLATION INSTRUCTIONS
  85. -------------------------------------------------------------------------------
  86. Preparations
  87. ~~~~~~~~~~~~
  88. Check that you have the latest Qt/Qt SDK installed in the development
  89. environment and on the device.
  90. Build & installation instructions using Qt SDK
  91. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  92. 1. Open the Qt PRO file.
  93. File > Open File or Project, select pro-file.
  94. 2. Select target(s), for example 'Qt 4.7.4 for Symbian Anna (Qt SDK)', and
  95. press the Finish button.
  96. 3. Press the Run button to build the project and create the Symbian install
  97. package. The application is installed on the device.
  98. RUNNING THE APPLICATION
  99. -------------------------------------------------------------------------------
  100. Launch QtQuickPlayground on your device. The main window is loaded showing a
  101. set of six Qt Quick demos.
  102. You can start each demo by tapping the demo icon on the screen. The demo icon
  103. will scale to full screen and the actual demo is loaded dynamically. All demos
  104. have a sidepanel on the right side, allowing you to go back to the main
  105. screen or to open the code editor of the demo. You can also access the
  106. code editor by peeling the skin off the demo on the demo’s main screen by
  107. moving a finger diagonally from the bottom right corner towards the top left
  108. corner.
  109. In the code editor, you can examine the code of the demo. You can scroll the
  110. code editor by dragging a finger on top of the code in the browse state. The
  111. browse state can be changed to edit state with the Browse button on the top.
  112. In the edit state, code cannot be scrolled but you can edit the code with the
  113. device’s keyboard. To scroll the code, change the state back to the browse
  114. state. After editing the code, you might want to try and see how the editing
  115. affected the demo. The demo can be started from the Try Demo button in the
  116. bottom right corner. If there are error(s) in the code, an error dialogue is
  117. shown, and by clicking the dialogue you can go back to the editor to see
  118. what’s wrong.
  119. Each demo can be closed from the Back button in the top right corner, which
  120. brings you back to the main screen of the application. The application is
  121. closed from the X button on the upper right corner of the main screen.
  122. Note: Every time the QtQuickPlayground application is started, the code of
  123. each demo will revert to its original state destroying all the code changes
  124. you may have done.
  125. COMPATIBILITY
  126. -------------------------------------------------------------------------------
  127. - Qt SDK 1.1.4
  128. - Qt Mobility 1.2.1
  129. - Symbian Anna with Qt 4.7.4
  130. - Symbian^1 with Qt 4.7.4
  131. - MeeGo 1.2 Harmattan
  132. - Maemo 5
  133. - Windows desktop
  134. Tested on:
  135. - Nokia 5800 XpressMusic
  136. - Nokia N97
  137. - Nokia N8-00
  138. - Nokia E7-00
  139. - Nokia N900
  140. - Nokia N950
  141. - Windows 7
  142. VERSION HISTORY
  143. -------------------------------------------------------------------------------
  144. 1.4.1 Added support for VKB on Symbian and Harmattan.
  145. 1.4 Added MeeGo 1.2 Harmattan support.
  146. 1.3 Added S60 5th Edition (Symbian^1) support. Compatibility with Qt 4.7.1.
  147. 1.2 Added Qt OpenGL support. Fixed the WebContent demo to work on Symbian
  148. devices. Compatibility with public Qt 4.7.0. Published in FN Projects only.
  149. 1.1 Updated the software to work with Qt 4.7.0 RC in Symbian, Maemo, and
  150. Windows desktop. Published in FN Projects only.
  151. 1.0 Initial version. Published in FN Projects only.