aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix example lists for Qt QuickEskil Abrahamsen Blomfeldt2012-11-3019-104/+433
| | | | | | | | | Snippets are fixed, the extending-examples are moved from QtDoc, groups are used to generate the lists and I've removed some unrelated stuff from the list of Qt Quick examples. Change-Id: I347b6fa8a29b1cede1164fa858488f34507e1a17 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Limit case-sensitivity check in QML to file names.Friedemann Kleint2012-11-303-7/+30
| | | | | | | | | | Provide for checking relative paths only; default to file names. Currently, the checking triggers on a drive letters and installation folder names, which is too strict. Task-number: QTBUG-28277 Change-Id: I1174bb0c485eeb1ffee10bb2a523d6629c57728b Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Remove the remaining usages of deprecated QWindow accessorsShawn Rutledge2012-11-302-2/+2
| | | | | Change-Id: I146e7b8e3ae0ee74f5f4e3ef85f59d50a639c0f5 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
* Add calqlatr to qmldemos group and move qmldemos listEskil Abrahamsen Blomfeldt2012-11-302-75/+1
| | | | | | | | | | The qmldemos list has been moved to qtdoc, otherwise the links to the documentation for the demos (in qtdoc) doesn't work. Links from qtdoc to calqlatr in qtdeclarative works because that's the direction of the dependency. Change-Id: Ib275a9c7f009194a260b2e70278244afc1cedfaa Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* QmlPluginDump: Prevent crash if run without WMKai Koehne2012-11-301-0/+3
| | | | | | | | Make sure that the minimal platform plugin is used by default. Change-Id: I2362649dafaf823b00ab37519b516aef9ac3166b Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Made tst_QQmlDebugJS insignificant on Mac.Janne Anttila2012-11-301-0/+2
| | | | | | | | | | | | | | | | | | This test has been failing often on Mac. It seems that test case only fails with Qt5 master integration, but not with QtDeclarative CI. This test has now failed twice consecutive in virtualized Mac OSX machines. Since I'm going to add some more virtual Macs to CI tomorrow morning, making this test case insignificant to avoid good changes integrating in additional capacity. For more information, see the following bug report. Task-number: QTBUG-28263 Change-Id: I3492373f4f034c27fdbc207e395a40ef96dccbd9 Reviewed-by: Samuli Piippo <samuli.piippo@digia.com> Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Remove superfluous function callAlan Alpert2012-11-301-1/+0
| | | | | | | | Because we just set pixmapChanged, we're certain to update the texture in the next if block. Change-Id: I83436f846a3e965b324ff6ebf057708fe8c3b82b Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Move no-Gui related QML types from QtQuick into QtQmlTasuku Suzuki2012-11-2952-307/+300
| | | | | | | | | Task-number: QTBUG-26340 Change-Id: I9049128db2598bf3c7a9d677b774eaae53b54eb5 Reviewed-by: Alan Alpert <aalpert@rim.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Renamed QQuickItem::pos property to positionShawn Rutledge2012-11-2927-153/+152
| | | | | | | | | Abbreviated property names are less descriptive so we don't have many of them. Might as well be consistent. QWindow::pos was already renamed. Change-Id: Ib52673e68e7dc902b2f8942dba6b899074b2538b Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
* Make tst_examples::namingConvention not failKai Koehne2012-11-291-2/+8
| | | | | | | | | The test seems to be wrong. Keep the warning though if other tests actually rely on the behavior. Task-number: QTBUG-28271 Change-Id: I862fd442982021f26531f43b56b97f7c7b8c9c69 Reviewed-by: hjk <qthjk@ovi.com>
* Make FolderListModel available from the module overview.Gunnar Sletta2012-11-291-0/+15
| | | | | Change-Id: I19c9a28b290a2ed7b3edee18583b686abf97dec0 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Warn about potential abuse of QQuickPaintedItem::paint().Gunnar Sletta2012-11-291-0/+3
| | | | | | Change-Id: I9908402b3ada90497070930d43eafd433276201f Reviewed-by: Samuel Rødal <samuel.rodal@digia.com> Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* tr()-Fix: Do not use QObject::tr().Friedemann Kleint2012-11-291-3/+3
| | | | | Change-Id: I85eb3f429d273b69270817eb4e9f1c386b5cda20 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Apply full transformAlan Alpert2012-11-291-4/+7
| | | | | | | | | | | Previously the particle system was only applying the translaton of the relative transfrom from any emitters. Now the full transform is used. Task-number: QTBUG-25518 Change-Id: I4c654837c37dbef8f6f407387ce4ea82cb3b821c Reviewed-by: Martin Jones <martin.jones@jollamobile.com> Reviewed-by: Samuel Rødal <samuel.rodal@digia.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
* Fix mouse event distribution for Flickable with pressDelayMatt Vogt2012-11-296-90/+154
| | | | | | | | | | | | | | | | If an item responds to mouse events but does not accept them, it can prevent the events from being processed by the correct item further up the parent chain. For example, a text item inside a mouse area can wrongly consume a press event, so that the following release event does not yield a click when processed by the mouse area. Rather than speculatively assigning the mouse grab to items during event filter processing, change Flickable to retain the grab for the duration of the pressDelay and to release it during replay of the press event. Change-Id: Ied12b9643838a984c7026978047465c2830e55e4 Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
* Docs: Fix some reference errorsChristian Stenger2012-11-283-12/+10
| | | | | Change-Id: Idf616d765398fe694b203dde595347f642ce503e Reviewed-by: hjk <qthjk@ovi.com>
* Remove QML intro and QML Application Development pagesGunnar Sletta2012-11-282-1306/+2
| | | | | | | | | | | These are duplicates of the getting started document and the overviews listed in the "Important Concents of Qt Quick". They are also not accessible from the toplevel docs (because they are duplicates). Change-Id: I628d264a7738bb3b9efdaf04f3a3c1a3853688d6 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Mark scarc resource docs as internal for 5.0Frederik Gladhorn2012-11-282-4/+16
| | | | | | Change-Id: Ic3e235399161dcf0c9a259a5e94b4178d61eb5cb Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix escape sequences in lexer: the capital X is not an EscapeCharacter.Erik Verbruggen2012-11-281-1/+0
| | | | | | | | | | The ECMA test suite has a test to check that none of the characters in the English capital alphabet are escapable (S7.8.4_A4.2_T1). Or, put differently, paragraph 7.8.4 states that only the lower-case x is escapable and usable for a HexEscapeSequence. Change-Id: Ie9f73726889ee9e0165c75c9b2e006a9f2b3dbda Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Remove superflous "defining reusable components" documentation.Gunnar Sletta2012-11-282-532/+1
| | | | | Change-Id: I73e6be5c7e5abe42ebf797ccfc7db5035ec4ec2c Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Examples: quick/scenegraph - add needed main.qml file to pro fileCaroline Chao2012-11-282-2/+4
| | | | | | | | | To fix the installation for customgeometry and simplematerial examples. Task-number: QTBUG-28243 Change-Id: Iafe62e30e7a0deeaeb0b6755fa2fd25a31f18ce5 Reviewed-by: Holger Ihrig <holger.ihrig@digia.com>
* docfix: Some of the scenegraph overview content did not make sense.Gunnar Sletta2012-11-282-15/+20
| | | | | Change-Id: Ib354e5f0a9f3c6e35eb8dabfb36e931f9ba4f255 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* docfix: Move image to correct locationGunnar Sletta2012-11-281-0/+0
| | | | | Change-Id: Id16d52de895bf48e29c565c84c7602318a90a85d Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Docfix: Move images to correct location and fix bugs in code sample.Gunnar Sletta2012-11-283-2/+2
| | | | | Change-Id: I7ec530f0e1a41051e31517e6fcac5eb691d1795d Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Declare type information for some internal qml types.Jędrzej Nowacki2012-11-272-11/+17
| | | | | | | | | QQmlVME::State and QBitField are movable and used in QStack. Declaring them as movable may improve potential reallocation time, although it is hard to prove. Change-Id: Ia42b8104e2f24ca7574370c76084df44b9f9298e Reviewed-by: Alan Alpert <aalpert@rim.com>
* Fix the QML Effects docs up a bitGunnar Sletta2012-11-274-60/+36
| | | | | Change-Id: I09226e8796be6a9785496192a5e3114d01e2ffd7 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Enable the lexer to run in JS strict/non-strict mode as well as QML modeErik Verbruggen2012-11-273-39/+37
| | | | | | | | | | | | | | If the lexer is running in JS mode (non-qmlMode), then allow for FutureReservedWords as identifiers. Proper strict mode handling of them should be implemented in the semantic phase. QML mode is not affected, so it will reject most FutureReservedWords, and a number of other keywords. See also ECMA-262, version 5.1, paragraph 7.6.1.2. Change-Id: Ide73a041f2dfda2de3b719d6437d517f469eb450 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fixed line terminators to handle LS/PS and CR+LF correctly.Erik Verbruggen2012-11-272-24/+51
| | | | | Change-Id: Ie1cd4d662c80630155e922dce38ea01d8ee2504a Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix qdoc typoGunnar Sletta2012-11-271-1/+1
| | | | | Change-Id: I3527064168c44cb4909f183d4b6a5c804649d0bb Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Remove TODO from docs as it doesn't make sense.Gunnar Sletta2012-11-271-4/+0
| | | | | Change-Id: If23707d5778c6f97e9c9565ac1c5e23d5729fdc4 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* style microfix in exampleRobert Loehning2012-11-271-1/+0
| | | | | Change-Id: I930f4a9ed117c9adf7fe2b4efbaa1e65401d1e42 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Qt Quick (2) is not dependent on LGPL codeLars Knoll2012-11-271-5/+0
| | | | | Change-Id: I0cece9da63bce327d2d6bc2eb13d500bd054f12f Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* examples/quick/multipointtouch: move emitter instead of ParticleSystemThomas Senyk2012-11-262-11/+16
| | | | | | | | | When you move the ParticleSystem, the existing particles will be moved as well. If you move the emitter, only new particles will be moved. Additional the velocityFromMovement adds a nice effect. Change-Id: I58eeb1fecde1ca24631400676049e5f9a06518de Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
* Imports: update .qmltypes filesKai Koehne2012-11-262-13/+79
| | | | | Change-Id: I897c1e04cbbb2adf9655cbd277d7d51bcd2a50de Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* Accept missing semicolon after do-while statement.Erik Verbruggen2012-11-269-867/+970
| | | | | | | | | Although not valid according to ECMA 5.1, both JSC and V8 accept a missing semicolon after a do-while loop. (Both JSC and V8 do not do this through automatic semicolon insertion, but handle it as a special case.) Change-Id: Iff2b07b894564740d2dcbf9b1d46bc279d30b9e3 Reviewed-by: Alan Alpert <aalpert@rim.com>
* Enable module build with QT_NO_IMTasuku Suzuki2012-11-2621-11/+287
| | | | | | Change-Id: I90f8ec7e6357db7b4038bb1646fe9d3835821556 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Alan Alpert (RIM) <aalpert@rim.com>
* Enable mobule build with QT_NO_TRANSLATIONTasuku Suzuki2012-11-269-4/+32
| | | | | | Change-Id: Id7aeef0d499f48ddc64b4ea3e4dc713db8458c38 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Alan Alpert (RIM) <aalpert@rim.com>
* Fix deployment docs.Lars Knoll2012-11-261-9/+13
| | | | | | | Qt Quick is not dependent on widgets. Change-Id: Icd7ab72d9558905ac6d3790faa0248b0d197ea8c Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* QQuickWindow cannot rely on QWindowPrivate.geometryShawn Rutledge2012-11-261-2/+3
| | | | | | | | | | because sometimes geometry has been set on the platform window and sometimes it's only stored in the QWindow geometry, waiting for the asynchronous confirmation. So it should call QWindow::geometry() instead. Change-Id: Ifa54792be31440108fae212240a46ae269393eb7 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
* Nested Flickables with pressDelay flick incorrect FlickableMartin Jones2012-11-263-18/+69
| | | | | | | | | | | If the gesture is triggered within the pressDelay the outer Flickable will always handle the gesture. When the drag distance is exceeded replay the press event to allow all Flickables an opportunity to process the gesture normally. Task-number: QTBUG-28189 Change-Id: I36912cc19a48c90ae7a9a430580a8f40071bd5fd Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
* Reduce number of relocationsMarc Mutz2012-11-233-15/+15
| | | | | | | ...by turning pointer into array variables. Change-Id: Ia5a0cedcf28d54210cc1f179db5c519e7e0672cc Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Declarative examples: fixed particles/imageparticle exampleChristiaan Janssen2012-11-232-2/+4
| | | | | Change-Id: Idec210a23e85f1460652f938c72aea7b5a2a2458 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Declarative Examples: improved buttons in particles/wander exampleChristiaan Janssen2012-11-232-3/+85
| | | | | Change-Id: I5c8019e702d848c8ec61ea850502c68f378c44fe Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Support requestPixmap if platform has ThreadedPixmaps featureAlbert Astals Cid2012-11-232-8/+27
| | | | | | | | | As discussed with Samuel enable the use of requestPixmap in a thread for async requests if the platform support ThreadedPixmaps Task-number: 28138 Change-Id: I106cf0123430115464b0a75071c7e6129a98d22b Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
* QtDeclarative: fixed modelviews exampleChristiaan Janssen2012-11-232-15/+27
| | | | | Change-Id: I3d31beb6a23b7c74061cf66d3c13616911cda7c6 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Stop using the name "trolltech" in interface nameTasuku Suzuki2012-11-231-1/+3
| | | | | | Change-Id: Ie30146415c99700c1b55fb2f01331ec9b1a42359 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
* docs: Separate qml and c++ examplesFrederik Gladhorn2012-11-231-1/+13
| | | | | Change-Id: I1d9e2e281bff2bb77a8bdf53726d3c452e3fe911 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
* make module compile with -no-guiTasuku Suzuki2012-11-228-15/+26
| | | | | Change-Id: I106cf0933930115464b0b7507177e6129098d22b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Doc: Adding "qtgui" to the documentation dependency.Jerome Pasion2012-11-222-2/+2
| | | | | | | | -Qt Quick and Qt QML depend on Qt GUI and its documentation. Change-Id: Icf14107490bf7a884a5e5840d7ec7bdd62e1cf09 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
* Improved documentation of Text.textFormat property.Samuel Rødal2012-11-221-1/+5
| | | | | | | | Even though using RichText is not recommended, we should still at least point out what it does. Change-Id: I96d0e1e7074b5fdbb3a5dcaf84e5afe805c92080 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>