aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/painteditem
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year in license headers.Jason McDonald2012-01-056-6/+6
| | | | | Change-Id: I0a8d99909cac867dce72da70b1bbcb649989a51b Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Say hello to QtQuick moduleKent Hansen2011-12-024-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change moves the QtQuick 2 types and C++ API (including SceneGraph) to a new module (AKA library), QtQuick. 99% of this change is moving files from src/declarative to src/quick, and from tests/auto/declarative to tests/auto/qtquick2. The loading of QtQuick 2 ("import QtQuick 2.0") is now delegated to a plugin, src/imports/qtquick2, just like it's done for QtQuick 1. All tools, examples, and tests that use QtQuick C++ API have gotten "QT += quick" or "QT += quick-private" added to their .pro file. A few additional internal QtDeclarative classes had to be exported (via Q_DECLARATIVE_PRIVATE_EXPORT) since they're needed by the QtQuick 2 implementation. The old header locations (e.g. QtDeclarative/qquickitem.h) will still be supported for some time, but will produce compile-time warnings. (To avoid the QtQuick implementation using the compatibility headers (since QtDeclarative's includepath comes first), a few include statements were modified, e.g. from "#include <qsgnode.h>" to "#include <QtQuick/qsgnode.h>".) There's a change in qtbase that automatically adds QtQuick to the module list if QtDeclarative is used. Together with the compatibility headers, this should help reduce the migration pain for existing projects. In theory, simply getting an existing QtDeclarative-based project to compile and link shouldn't require any changes for now -- but porting to the new scheme is of course recommended, and will eventually become mandatory. Task-number: QTBUG-22889 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Change-Id: Ia52be9373172ba2f37e7623231ecb060316c96a7 Reviewed-by: Kent Hansen <kent.hansen@nokia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
* Fix PaintedItem redraw bugCharles Yin2011-10-282-8/+95
| | | | | | | | | | | | 1) After QQuickItem::update() being called (means item's content is dirty), the paint() function should always been called, so the contentsDirty and geometryDirty flags are not needed. 2) Update the smile example to validate the above changes Task-number:QTBUG-22250 Change-Id: I5a72f18e6982bdb3ba23e78a253c2876aca2e8cb Reviewed-by: Michael Brasser <michael.brasser@nokia.com> Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com>
* Remove Q_WS_*, symbian and maemo code in QtDeclarativeDamian Jansen2011-10-261-3/+0
| | | | | Change-Id: If64daf80f9d19973e0bc2d864b003a66be5ca61d Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Rename Qt Quick-specific classes to QQuick*Kent Hansen2011-10-213-10/+10
| | | | | | | | | | | | | | | | | | | | | | The QSG (SceneGraph) prefix is too generic for Qt Quick(2)-specific classes. All the classes and files in the declarative/items directory have been renamed. In particular, for classes that are currently public, the renaming is as follows: QSGView --> QQuickView QSGCanvas --> QQuickCanvas QSGItem --> QQuickItem QSGPaintedItem --> QQuickPaintedItem The header files have been renamed accordingly (e.g. qsgview.h --> qquickview.h). Change-Id: Iac937fff81db20bb639486a793c3aeb5230b038c Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Fixed compile of examples and tests.Rohan McGovern2011-09-211-2/+2
| | | | | | | | | | | | | | | 6aad4122332c0291e2e3249b508c7583428177b9 in qtbase removed implicit linking to libQtWidgets. Projects which implicitly used that module were broken. Either remove the dependency where it is not required, or explicitly opt-in to libQtWidgets where it is required. Change-Id: I6f4fb1d98bdf5bb65b4f02a1d245d334314b163d Reviewed-on: http://codereview.qt-project.org/5268 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Fixed compile of qtdeclarative examples.Rohan McGovern2011-09-151-4/+3
| | | | | | | Change-Id: I3a982de8eaf31267a4d90e3cc3bedbf87400d34a Reviewed-on: http://codereview.qt-project.org/4847 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Update licenseheader text in source files for qtdeclarative Qt moduleJyri Tahtela2011-07-084-85/+85
| | | | | | | | Replace old license header with correct one. Change-Id: I492ddaaa0227b2c8faf11bdcd6e12e7231a54a10 Reviewed-on: http://codereview.qt.nokia.com/1312 Reviewed-by: Jyri Tahtela <jyri.tahtela@nokia.com>
* Update TextBallons .pro fileAlan Alpert2011-05-301-5/+5
| | | | Botched the previous alteration
* Make textballon example follow conventionAlan Alpert2011-05-275-3/+3
| | | | | Currently, the qml examples autotest works on a set of conventions defined in its source code to determine which tests to run.
* Fix typo.Casper van Donderen2011-05-191-1/+1
|
* Add .pro file to fix build.Casper van Donderen2011-05-191-0/+5
| | | | Reviewed-by: Kevin Wright
* Add TextBalloon QML Scene Grpah example with documentation. I moved an old ↵Casper van Donderen2011-05-199-5/+351
| | | | | | example over to a subfolder. Reviewed-by: Gunnar Sletta
* Fixes crash in PaintedItem example when using threaded rendering.Yoann Lopes2011-05-111-0/+4
|
* Added antialiasing property to QSGPaintedItem.Yoann Lopes2011-05-031-0/+5
|
* Initial import from qtquick2.Qt by Nokia2011-04-273-0/+151
Branched from the monolithic repo, Qt qtquick2 branch, at commit a4a585d2ee907746682846ae6e8a48e19deef469