1. 21 Mar, 2012 1 commit
  2. 13 Mar, 2012 1 commit
  3. 09 Mar, 2012 1 commit
  4. 07 Mar, 2012 1 commit
    • Kent Hansen's avatar
      Make sure QML type "real" always maps to C++ type "double" · aed15e77
      Kent Hansen authored
      The type "real" was documented to be a single-precision float, but
      that's incorrect. It's always been double.
      However, signal parameters of type "real" would be mapped to the C++
      type "qreal", which can be either float or double depending on the
      Since JavaScript floating point numbers have double precision, QML
      should use the same, to avoid potential loss of precision.
      With this change, "real" behaves the same as the QML "double" type
      (which already guaranteed double precision). Even though it's
      redundant, "double" is kept to preserve compatibility.
      Added tests for the "double" type to the QML meta-object autotest,
      and a test for the "real" type that ensures there's no loss of
      Change-Id: I1a77f1fd45082ff670684a935e17d1a46ea75d84
      Reviewed-by: default avatarAaron Kennedy <aaron.kennedy@nokia.com>
  5. 06 Mar, 2012 1 commit
  6. 05 Mar, 2012 1 commit
  7. 02 Mar, 2012 1 commit
    • Bea Lam's avatar
      Improved transitions for Row, Column, Grid, Flow · 79608d6f
      Bea Lam authored
      The view transitions functionality for ListView and GridView has been
      integrated into the positioner elements. Not all of this
      functionality is available for positioners, though, since they don't
      have models (and thus cannot identify certain model operations) and
      they don't manage the lifetime of their children.
      Task-number: QTBUG-24336
      Change-Id: I71588de289555d2ef5a763af11358bc0af7b31a7
      Reviewed-by: default avatarAlan Alpert <alan.alpert@nokia.com>
  8. 01 Mar, 2012 1 commit
  9. 29 Feb, 2012 1 commit
  10. 24 Feb, 2012 2 commits
    • Alan Alpert's avatar
      Start of examples refactor · 9d2b618f
      Alan Alpert authored
      This is the general reorg of the examples directory structure, plus additional
      calculator, animations and accessibility have been updated to the new standards
      and tested, as an example.
      Task-number: QTBUG-24133
      Change-Id: I76c3b86751d3195ba2a5474ff23afb875765e9a4
      Reviewed-by: default avatarAlan Alpert <alan.alpert@nokia.com>
    • Matthew Vogt's avatar
      Rename QDeclarative symbols to QQuick and QQml · b855240b
      Matthew Vogt authored
      Symbols beginning with QDeclarative are already exported
      by the quick1 module.
      Users can apply the bin/rename-qtdeclarative-symbols.sh
      script to modify client code using the previous names of the
      renamed symbols.
      Task-number: QTBUG-23737
      Change-Id: Ifaa482663767634931e8711a8e9bf6e404859e66
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
  11. 22 Feb, 2012 2 commits
    • Alan Alpert's avatar
      Positioners cleanup · 3dd45840
      Alan Alpert authored
      Use qreal for positions and spacing instead of ints, and make the
      positionedItems list take care of filtering out invisible items.
      Change-Id: Icad93ad89c848e40a70bd7a9539bd810e27020df
      Reviewed-by: default avatarBea Lam <bea.lam@nokia.com>
    • Bea Lam's avatar
      Doc improvements for positioners · 6f96bf2d
      Bea Lam authored
      - Fix docs that say opacity changes can trigger an add transition since
        this is no longer the case
      - Be more clear about when the move transition is applied
      - Be more clear about which anchors are allowed/disallowed in which positioners
      - Add example to Positioner attached property
      Change-Id: I78417ac5b8eba1af5587955121b7fd4e2ca21169
      Reviewed-by: default avatarAlan Alpert <alan.alpert@nokia.com>
  12. 16 Feb, 2012 1 commit
    • Bea Lam's avatar
      Built-in transition support for ListView & GridView · 2df9abf7
      Bea Lam authored
      ListView and GridView can now be assigned transitions to be run when:
          - Populating the view (when initially setting the model / resetting)
          - Adding items
          - Removing items
          - Moving items
      The ViewTransition attached object can be used from within a transition
      declaration to access various information about the items that are
      being transitioned.
      Task-number: QTBUG-21504
      Change-Id: Ie5c75ea511c8b15acc3f06fccf19abe34d3677f9
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
  13. 15 Feb, 2012 1 commit
    • Chris Adams's avatar
      Fix warnings in sequence wrapper code · 3c3b9956
      Chris Adams authored
      Previously, the sequence wrapper had unsigned int / signed int
      comparisons (due to Qt container classes only allowing signed int
      indexes (where negative indexes are invalid).
      This commit ensures that unsigned indexes are bounds checked
      appropriately, and also fixes a warning due to QString construction
      from QByteArray.  Finally, it updates the documentation for sequences
      to clarify the indexing semantics.
      Change-Id: I4c6e133bef6e980a9ccb62ff15a70a5d41537ee3
      Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
      Reviewed-by: default avatarMichael Brasser <michael.brasser@nokia.com>
  14. 14 Feb, 2012 3 commits
    • Jerome Pasion's avatar
      Doc: Overhaul of doc/src/declarative and QtQuick2 docs. · 2d4e6ff9
      Jerome Pasion authored
      -Consolidated model/view documentation into one.
      -Added a new navigation for all overviews (grouped the pages)
      -New front page that shows the grouping
      -Separated the Qt C++ from the main QML overviews
      -Consolidated Qt C++ into the "declarative runtime" section
      -New articles about JavaScript, the engine, and plugins
      -Fixed the older examples. New snippet comments
      -Renamed some of the articles
      -kept the qtquick2 qmlmodule
      -"Qt Quick Elements"
      Moved contents of doc/src/declarative into respective
      module dirs.
      -Qt Quick 2, LocalStorage, Particles, and QML are now
      -Removed unused or duplicate documentation.
      -edited C++ examples
      -removed navigation and "\inqmlmodule QtQuick 2" for
      those pages that are not in Qt Quick 2
      -fixed doc/src/ licenses to header.FDL from qtbase
      Change-Id: Ib36f9c07565d91160fa8d04f9670c438f684b82a
      Reviewed-by: default avatarSergio Ahumada <sergio.ahumada@nokia.com>
    • Martin Jones's avatar
      Preserve aspect ratio when setting Image.sourceSize · d9517815
      Martin Jones authored
      Setting both sourceSize.width and sourceSize.height results in changing
      the image aspect ratio.  This is never what you'd want.
      Fit the image to the provided sourceSize, maintaining the aspect ratio.
      Task-number: QTBUG-21161
      Change-Id: I77e9aacb8d31475d5df0aef1de52c0edbd1e2fc9
      Reviewed-by: default avatarAaron Kennedy <aaron.kennedy@nokia.com>
    • Michael Brasser's avatar
      Add new animation elements to element list. · 58d85747
      Michael Brasser authored
      Change-Id: I714555e1255c0190619f313fc26f532f3b6f4c38
      Reviewed-by: default avatarBea Lam <bea.lam@nokia.com>
  15. 13 Feb, 2012 1 commit
  16. 10 Feb, 2012 1 commit
  17. 06 Feb, 2012 1 commit
  18. 02 Feb, 2012 1 commit
  19. 01 Feb, 2012 2 commits
  20. 30 Jan, 2012 1 commit
  21. 27 Jan, 2012 2 commits
  22. 25 Jan, 2012 1 commit
  23. 24 Jan, 2012 7 commits
  24. 23 Jan, 2012 1 commit
  25. 20 Jan, 2012 2 commits
  26. 17 Jan, 2012 2 commits