aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Moved all content in the doc directory.Venugopal Shivashankar2012-11-08102-2486/+0
| | | | | | | | | - most images to the corresponding examples directory - Fixed a few broken links to the examples and qdoc pages - removed the obsolete and unused images and qdoc pages Change-Id: I18f9551b42ec713b81e3f69694a2bd04b1ebf794 Reviewed-by: Geir Vattekar <geir.vattekar@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-239-126/+126
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Ie7f5d49ed8235d7a7845ab68f99ad1c220e64d5c Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix various doc errorsBea Lam2012-08-282-2/+2
| | | | | | | | Also restore the main module "reference documentation" links added in 0e0f46c01cf6a183996d36c31987ca4a46b50bd9 Change-Id: I421f5a17e2946a2569537d8ba8a021f219aaf75a Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Fix various broken links in documentationBea Lam2012-08-034-17/+17
| | | | | Change-Id: I9e2dac37d18e3ca62e4a92be25e5c2e60ffeba00 Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Clean up StocQt demoAlan Alpert2012-07-241-0/+0
| | | | | | | | Rename, add cpp shell, add doc file, add project files. Task-number: QTBUG-26235 Change-Id: I51c2abefbadbadbadae0abdde5a52f857bcdb68b Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
* Add maroon demoAlan Alpert2012-07-121-0/+0
| | | | | Change-Id: I880edf78e210d243ef87511e88ea592f6e252da6 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Add new samegame and calculator demosAlan Alpert2012-07-122-0/+0
| | | | | Change-Id: I06ac38a1d0f844eba367fc5e163151d1f70a0012 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Update particles examples en masseAlan Alpert2012-06-294-0/+0
| | | | | Change-Id: I882f59c687d790bc55cf59abf6f0ea80b65b50d9 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Update Affector folder of examples to guidelinesAlan Alpert2012-06-081-0/+0
| | | | | Change-Id: I1fa0e8424f94cf954098b7734ba25feab0790828 Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Fix doc snippets paths and parsing errorsBea Lam2012-05-314-85/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qtqml.qdocconf and qtquick.qdocconf now refer to the correct snippets and source directories. Snippet paths in .qdoc and .cpp files have been updated to refer to the new shortened path references, e.g. \snippet qml/file.cpp instead of \snippet doc/src/snippets/qml/file.cpp. This also deletes snippets from src/qml/doc/snippets that belonged under src/quick/doc/snippets (and were already duplicated there anyway) and restores some snippet files that shouldn't have been deleted. Also fixes some inline snippets to use \code .. \endcode instead of \qml .. \endqml as they contained javascript or partial QML snippets that were causing parsing errors from qdoc. There are still snippet errors arising from qmlintro.qdoc as the qmlintro snippets directory that it refers to cannot be located. There are also two references to a removed snippet identifier in examples/qml/cppextensions/plugins/plugin.cpp that need to be fixed in conjunction with the related docs in a later commit as the relevant code has changed and the docs are now invalid. Task-number: QTBUG-25721 Change-Id: I50c665245a74c140470c58a32546591d187dfe4b Reviewed-by: Chris Adams <christopher.adams@nokia.com>
* Remove duplicated doc files and imagesBea Lam2012-05-2479-15772/+0
| | | | | | | | | | | | | - Remove doc/ files which were duplicated under src/quick/doc and src/qml/doc - Remove duplicated images under src/doc/qml/images which were already under src/doc/quick/images - Merged 0102413396c91e97ed856235cd1a52f7185c4862 and 3b04bbde6356797368114fce1b45b85271e9fed8 which made it into doc/src but not src/qml/doc Change-Id: I275b7d29f9fc2222dcf801c257c1f67b5880446b Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Doc: Moved and added Qt Quick and Qt QML documentation.Jerome Pasion2012-05-212-218/+0
| | | | | | | | | | | | | | | | | -moved the documentation to separate aspects: QML the language QML engine QML bindings -fixed landing page for Qt Quick -removed duplicate module pages -added content as a base structure -added Qt QML source in the Qt Quick module documentation Part of QTBUG-25689 Change-Id: Ib12ceedfbd689a9f764a91e669bc7c2a433643aa Reviewed-by: Peter Yard <peter.yard@nokia.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Local Storage: Moving local storage documentation from doc to srcJerome Pasion2012-05-161-138/+0
| | | | | | | -A submodule of QtQuick, moving to src/quick/doc/src/localstorage Change-Id: I394ceacac695e17b656339445c22450cea973e95 Reviewed-by: Geir Vattekar <geir.vattekar@nokia.com>
* End the deprecation period of SpriteImageAlan Alpert2012-05-141-2/+2
| | | | | | | Also remove the stale files left around. Change-Id: I2f275f23ebfb65045cc683ccd542cbc451b767fb Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Augment performance docsAlan Alpert2012-05-091-0/+24
| | | | | Change-Id: I5721b5b567712818462b51a85c7710bc6a08746b Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Doc: Moving QML docs for new doc structureJerome Pasion2012-05-09104-6049/+0
| | | | | Change-Id: Id51e2cf10e8b5c5559bc4a375cb2db46c40bdf0a Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Doc: Moving Qt Quick docs for new doc structureGeir Vattekar2012-05-09276-7517/+0
| | | | | | | | | | | | | | | -moved documentation from doc/src/qtquick2 doc/src/localstorage doc/src/particles to src/quick/doc/ -fixed qdocconf file -fixed snippets, images, and other qdoc errors related to the new directories -fixed links in the main Qt Quick page Change-Id: Ie3408c2624f623c17de07e5635d5c7284d02b973 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Add documentation/links for incubateObjectMartin Jones2012-05-091-1/+5
| | | | | Change-Id: I0ba05f513c6e11451b49848eb69e4b579e75f9a4 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Remove QJS exception APIKent Hansen2012-05-031-1/+1
| | | | | | | | | | | | | | | | | This API has been deprecated for a while. It's legacy stuff from QtScript. Until someone proves that QJSValue::isError() isn't sufficient to handle JavaScript exceptions, we won't provide any additional API for that. Also removed QJSValuePrivate::lessThan(), which was using the exception mechanism, but the function itself wasn't used anymore (another remnant from the QtScript days). Change-Id: I3dffc6a7835874153f90d25ae2a72c93ea6db39a Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Doc: Fixing errors due to incorrect QDoc commands.Jerome Pasion2012-04-272-5/+3
| | | | | | | | | -\hint, \QQV are not supported -fixed \a -\sa requires a comma to separate entries Change-Id: Iae68fd92d7fbc5988e4ec801ab095fd717728036 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Doc: Fixed tutorial articles' types.vertries2012-04-245-6/+6
| | | | | | | | -Added "tutorial" to the \page command. -Removed "Tutorial" in the title. Change-Id: Id336828239a39413a438dc4126c10432aba65553 Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
* Doc: Changed the title for QtQuick articlesJerome Pasion2012-04-2317-217/+41
| | | | | | | | | - Removed "QML" from the title - Fixed the links to the articles - Removed extra references to QML Change-Id: I47e0871d9362be9625ada61d27123b1605d55a94 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Doc FixAlan Alpert2012-04-231-1/+10
| | | | | | | More emphasis on what imports are needed for specialty elements. Change-Id: Ia24ac97bb77ed57c313a5120b0fbd02b6fcaa4a8 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Doc: Moved article from Qt QML to Qt Quick.vertries2012-04-191-1/+1
| | | | | | | -about the UI, not QML. Change-Id: Ib4a3195e763c3b9d86ff17f5581a4aaa4f89243d Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
* Doc: Adding list of JavaScript functions in QML.Jerome Pasion2012-04-192-0/+378
| | | | | | | -Added a link to the ECMA-262 standard Change-Id: I0b3173f93bf947908bf9d39d207468d2b9f0cbd7 Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Improve QML performance documentationChris Adams2012-04-191-13/+362
| | | | | | | | | | This commit documents several memory-related considerations which could be of importance to application developers. It also adds a short section on the optimized binding compiler. Change-Id: I737fc70c1b686867cd938dcb042466c8788de7e4 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Merge remote-tracking branch 'origin/api_changes'Lars Knoll2012-04-179-21/+312
|\ | | | | | | Change-Id: I39905acde16ba6bb0ba39401cb73082a73dd9167
| * Merge remote-tracking branch 'origin/master' into api_changesLars Knoll2012-04-1112-165/+56
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/qml/debugger/qqmlprofilerservice_p.h src/qml/qml/qqmlboundsignal.cpp src/qml/qml/v4/qv4bindings.cpp src/quick/items/qquickshadereffect.cpp src/quick/particles/qquickcustomparticle.cpp src/quick/qtquick2.cpp Change-Id: Ia9c6517035ae912fa75e77473a452bd3383def56
| * \ Merge master into api_changesKent Hansen2012-03-271-5/+20
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/qml/debugger/qqmlenginedebugservice.cpp src/qml/debugger/qqmlprofilerservice_p.h src/qml/qml/qqmlboundsignal.cpp src/qml/qml/qqmlpropertycache.cpp src/quick/util/qquickimageprovider.cpp Change-Id: I0609aa5ed54c7769f1e2773a96a7cd43a69f133c
| * \ \ Merge master into api_changesKent Hansen2012-03-231-17/+17
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/qml/qml/qqmlboundsignal.cpp src/qml/qml/qqmlpropertycache.cpp Change-Id: I5193a193fa301c0b518291645bf626a5fa07118f
| * | | | Fix the build & docs after QQmlImageProvider was renamedKent Hansen2012-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The class was renamed to QQuickImageProvider in commit 3bc907d155034fe64efc8cb6056b48f0c6401bfb. Change-Id: I91ff38244cee3ab651ed6caa4140a58cb742f1c9 Reviewed-by: Martin Jones <martin.jones@nokia.com>
| * | | | Merge master into api_changesKent Hansen2012-03-1952-894/+894
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/qml/debugger/qqmlenginedebugservice.cpp src/qml/qml/v8/qv8qobjectwrapper.cpp src/quick/util/qquickimageprovider.cpp tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp Change-Id: Ie78ba2fabd32f4812bcae9dbdd66ed289dc11dcb
| * \ \ \ \ Merge branch 'master' of git://gitorious.org/qt/qtdeclarative into api_changesMatthew Vogt2012-03-121-10/+0
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Change-Id: I578b1e2f1bb374da6194e6ba04a0fd459b2632fe
| * \ \ \ \ \ Merge remote-tracking branch 'origin/master' into api_changesLars Knoll2012-03-072-2/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I121cb9c9316b5e47476dcb982bc28b6f3f358f78
| * | | | | | | Improve support for var propertiesChris Adams2012-03-058-20/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the semantics of function assignment in QML. Previously, function assignment was interpreted as binding assignment. Now, function assignment is interpreted as function assignment, and therefore fails for all property types other than "var" properties. To support imperative binding assignment, a new function was added to the Qt object: Qt.binding(function) which takes a single function parameter and returns a function object which will be interpreted as an assignable binding expression by the QML engine. Finally, this commit also slightly changes the semantics of var properties in that the "special" JavaScript values of null and undefined may be assigned to var properties, rather than being interpreted as reset requests. Task-number: QTBUG-21842 Change-Id: Iee99a878b9badf0fb76e983da7ebfa493f55ceb5 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* | | | | | | | Vertical layout direction for ListView and GridViewBea Lam2012-04-1712-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide verticalLayoutDirection property with TopToBottom and BottomToTop values. Change-Id: If6f0da5dd4735036162868d391852a661854de5b Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* | | | | | | | Doc: Fixing the Qt QML module page.Jerome Pasion2012-04-121-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0efffbab650423a78de437459c9060594f895f37 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* | | | | | | | Begin documenting QML's JS environment.Michael Brasser2012-04-124-5/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a basic overview of QML's JavaScript host environment that can be expanded as needed. Change-Id: I1f178a9de26bd3ea6f5707821518419f76ab279d Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* | | | | | | | Move doc pages into subfoldersAlan Alpert2012-04-124-0/+0
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I611d0a4a069ac94a28ab2d264bcaa38347715909 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* | | | | | | Use the updated module api registration function in exampleChris Adams2012-04-052-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the example used the non-templated registration function. This commit also links the qmlRegisterModuleApi documentation from the "Creating QML Types" page. Change-Id: I43afb5c051a52fef4059160972f7508f40dac523 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* | | | | | | Tidy up examples documentationAlan Alpert2012-03-2810-164/+53
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing doc images, move documentation into examples directory, and update example doc references to the new locations (quick/qml instead of declarative or qtquick). Change-Id: I67a9302f2b451b8bf30f4ca6b625f54b240da429 Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
* | | | | | Add templated module api registration functionChris Adams2012-03-261-5/+20
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a templated module api registration function which allows clients to provide type information at registration time. We use this typeinformation in V4 if available, in order to allow module APIs to be used in v4 bindings. This commit also clarifies the ownership semantics of QObject module apis, and updates some documentation references which were missed during the rename of Declarative to Qml. Task-number: QTBUG-24894 Change-Id: Iebb61ca8d8eacbb15218549eab715e22f52a1474 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* | | | | Update tutorialAlan Alpert2012-03-211-17/+17
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Updated paths, and updated arbitrary form factor Change-Id: I10ffedd6978fbe62050987a4e0e5ab8b120edfce Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
* | | | Remove the usage of deprecated qdoc macros.Casper van Donderen2012-03-1352-894/+894
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | QDoc now has support for Doxygen style commands for italics, bold and list items. This change applies that change in QDoc to the actual documentation. Task-number: QTBUG-24578 Change-Id: I62d203f21df63a95ee236e578b10418fd9680707 Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
* | | Update text examples to new guidelinesAlan Alpert2012-03-091-10/+0
| |/ |/| | | | | | | Change-Id: I6bbf414f3734bc2f29a7182746c5df158a5924da Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
* | Make sure QML type "real" always maps to C++ type "double"Kent Hansen2012-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 platform. 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 precision. Change-Id: I1a77f1fd45082ff670684a935e17d1a46ea75d84 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* | Remove incorrect line from performance docsChris Adams2012-03-061-1/+0
|/ | | | | | | | | V8 does not use a single map-transition-graph for all types, and thus the line about ordering of properties in constructor functions is incorrect. Change-Id: Iaf4ac02dcfc53dd7254af1a40a3c66852a78a320 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Merge master <-> api_changesMatthew Vogt2012-03-0511-59/+41
|\ | | | | | | Change-Id: Iad2f07b989b25349fd2d4fff010e24dcd5a1688f
| * More documentation about importing LocalStorage module from JavascriptCharles Yin2012-03-051-1/+16
| | | | | | | | | | | | Task-number:QTBUG-24478 Change-Id: Iad0fe15e8b2f1fcfa82b1654c3fd606d08563457 Reviewed-by: Martin Jones <martin.jones@nokia.com>
| * Improved transitions for Row, Column, Grid, FlowBea Lam2012-03-021-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | 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: Alan Alpert <alan.alpert@nokia.com>