aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/src/typesystem/basictypes.qdoc
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Refactored and focused the Qt QML documentation.Jerome Pasion2013-04-231-675/+0
| | | | | | | | | | | | | | | | | Before it wasn't clear to what the module provided, especially with the coupling of Qt QML and Qt Quick. The doc is centered around these documentation: -QML refernce: the language syntax and the application constructs -JavaScript environment: the environment provided by the module -Integration with C++: more about the engine and the C++ API -QML Types and Classes reference (created by \qmlmodule and \module) The distinction are made in the directory and the section titles in the Qt QML landing page. Change-Id: I033bfcbf8368b94ffa5ee4b1225bee74347f53eb Reviewed-by: Martin Smith <martin.smith@digia.com>
* Doc: Fixed some uses of terminolgies in qdoc files.Jerome Pasion2013-03-261-2/+1
| | | | | | | | | | | -"element" -> "type" or "object" (not in all cases where this change applies) -some instances of QtQuick. It should be "Qt Quick". -only in qdoc files. Examples and source code changes will be done later. Task-number: QTBUG-30180 Change-Id: Ie587461a138e97606f761ad1e90909c91b479303 Reviewed-by: Alan Alpert <aalpert@blackberry.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-101-1/+1
| | | | | | Change-Id: I6c3bd7bebe3d62d1cfd0fa6334544c9db8398c76 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Mark scarc resource docs as internal for 5.0Frederik Gladhorn2012-11-281-4/+5
| | | | | | Change-Id: Ic3e235399161dcf0c9a259a5e94b4178d61eb5cb Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-231-14/+14
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Ie7f5d49ed8235d7a7845ab68f99ad1c220e64d5c Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Use \b instead of \boldBea Lam2012-08-021-3/+3
| | | | | Change-Id: Ica77b78b113321f962066f1edabd34bf21d38910 Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Improve QML basic types documentationChris Adams2012-07-301-416/+22
| | | | | | | | | | | | | | | Basic types are provided either by the language (int, string, bool, real, double, date, url, var, variant) or by modules (value types). In 5.1 we would like modules to be able to provide more basic types, and thus a cleaner separation of the documentation makes sense. This patch also improves linking of the term QtQml so that a clear distinction is made between the QtQml QML module and the QtQml C++ Qt Module (the QtQml QML module links now point to the QtQml type reference page). Change-Id: Ibe3ad33e4616c5f29ea38dadc27e13938aedb9d7 Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Clarify use of enumeration type from QML codeBea Lam2012-07-271-3/+31
| | | | | Change-Id: I5aea6ec8c4daada284bc7881bbc3379e5ab61b94 Reviewed-by: Chris Adams <christopher.adams@nokia.com>
* More consistent coding style through QML documentation.Yann Bodson2012-07-201-2/+2
| | | | | Change-Id: Ieeda1b22d30917dc9614b34d6ae4d41e0062478b Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Make title capitalization more consistent in QML documentation.Yann Bodson2012-07-201-2/+2
| | | | | Change-Id: Iec8168135676e0e9e130bd2245ef33fd780829d5 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Minor doc fixesYann Bodson2012-07-181-1/+1
| | | | | | | Don't capitalize minor words in titles to be consistent with Qt doc. Change-Id: Ib39ec50d7f9730a5bbf2b574ade8270e9290ec90 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Improve QtQml module documentationChris Adams2012-07-161-1/+1
| | | | | | | | | | General improvements, including: - fixing broken links - improving topic page content - fixing incorrect qdoc commands Change-Id: I50b6733b51cdabf9cecd96046f6e7f41260a9a4b Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Improve documentation for var propertiesChris Adams2012-07-161-0/+44
| | | | | | | | | | | | | | | Previously, the initialization value assignment semantics of var properties wasn't explicitly documented. Since curly braces on the RHS of an initialization assignment denotes a binding (and curly braces have a different meaning in JavaScript) confusion could result. This commit clearly explains how to initialize a var property with an empty object value. Task-number: QTBUG-23734 Task-number: QTBUG-23388 Change-Id: Ifa94846b170919a0c893f7dda1421c9fb24bd0db Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Add documentation for all font properties.Michael Brasser2012-07-111-1/+55
| | | | | Change-Id: I575fb6f25a0c926a713b1aa266a2c7ca24368c3e Reviewed-by: Chris Adams <christopher.adams@nokia.com>
* Allow color to be explicitly compared to a stringMatthew Vogt2012-07-111-0/+5
| | | | | | | | | | Add the Qt.colorEqual() function which compares any combination of two supplied color and string arguments, by converting the string arguments to colors as necessary. Task-number: QTBUG-18754 Change-Id: I75baef9a2edd30a5f8b9cb5e151e4adba6f6a371 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Fix broken value-type support by allowing property definitionChris Adams2012-07-111-0/+118
| | | | | | | | | | | | | | | | | | | | | In QtQuick 1.x the "variant" property type was supported, which could be used to allow value type properties to be defined in QML. In QtQuick 2.0, we have deprecated the "variant" property, but its replacement ("var") is not suited for defining lightweight C++ type values (such as QColor, QFont, QRectF, QVector3D etc). This commit allows those QML basic types to be used in QML once more, by supporting them in the property definition syntax. Note that since some value types are provided by QtQuick and others are provided by QtQml, if a client imports only QtQml they can define but not use properties of certain types (eg, font). Task-number: QTBUG-21034 Task-number: QTBUG-18217 Change-Id: Ia951a8522f223408d27293bb96c276281a710277 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Fixes for QML Basic Types docsBea Lam2012-06-281-168/+280
| | | | | | | | | | | | | | - Standardize the \brief and introductory lines for each type - Explain that some C++ types match to basic types, e.g. QFont -> font - Explain that URL values don't match against their input string values - Fix list type docs and don't encourage its use for custom properties (use var instead) - Remove action since QAction isn't registered as a QML type anymore - Document that color type has r,g,b,a properties - Do some other cleaning up Change-Id: Ie8a2886b938166938618c3a0bf47363f443ee401 Reviewed-by: Chris Adams <christopher.adams@nokia.com>
* Document the arg() function QML adds to the String prototype.Martin Jones2012-06-271-0/+3
| | | | | | Task-number: QTBUG-23577 Change-Id: I6279860bd3bf2d60bc394c012ea1c64bdd9be6fa Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Decode directory separators in source URLsMatthew Vogt2012-06-251-0/+15
| | | | | | | | | URLs with encoded directory-separator characters are not correctly processed by QUrl. Task-number: QTBUG-25981 Change-Id: I78173ef44c4850774b56753335bea34db04c0735 Reviewed-by: Chris Adams <christopher.adams@nokia.com>
* Create new documentation structureChris Adams2012-06-211-0/+690
The documentation currently has no clear separation between Qt QML and Qt Quick. With recent commits like: 6c8378eaf1edbbefe6aaa3672b0127816a004fd7 and ab1e510121c8a679fdaca12ccd30e0f7ac12a26b the separation between the language definition and implementation, provided by Qt QML, and the standard library for the QML language, provided by Qt Quick, is clear. This commit creates a new documentation structure that is more navigable and separates concepts into logical categories, with clear separation between QtQML and QtQuick. It also provides a more generic QML Application Developer Resources page which contains links to information for QML application developers. Change-Id: Ia807ccfbfd24ffa0e1c7f0a51ed9d2ed3aa6a733 Reviewed-by: Martin Jones <martin.jones@nokia.com>