aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qsgitem/tst_qsgitem.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename Qt Quick-specific classes to QQuick*Kent Hansen2011-10-211-1061/+0
| | | | | | | | | | | | | | | | | | | | | | 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>
* Remove copy of tests/shared/util.h.Jason McDonald2011-10-191-1/+0
| | | | | | | | | This module has a copy of qtbase's tests/shared/util.h, the contents of which have been moved into qtestlib and are now accessible from the QtTest/QtTest header. Change-Id: I0be9e21dc9f30629dad283a740b9d80347e01140 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Fix coding style issuesKent Hansen2011-10-171-4/+4
| | | | | | | Avoid Qt Sanity Bot noise when these files are moved. Change-Id: I714e949837909883fe7e387ae336d2ffc4a1912b Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* get various autotests working for refactorMatthew Cattell2011-09-081-5/+18
| | | | | | | Change-Id: I35a9ce1421e87351a9ce4834158d201f84280a65 Reviewed-on: http://codereview.qt-project.org/4461 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* fixed to work with qsgcanvasMatthew Cattell2011-09-061-2/+4
| | | | | | Change-Id: Ia044bb738469fdd2c9ecc6154ac51851db3e0e7f Reviewed-on: http://codereview.qt.nokia.com/4270 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Do not deliver hover events when item is not visibleCaio Marcelo de Oliveira Filho2011-08-311-0/+64
| | | | | | | | | | | | This patch change the code to also skip invisible items (it was done for disabled already) when deciding whether or not deliver the hover events to an item. The rationale here is to follow the same rule as the other mouse events. Change-Id: If0fe6d64d1f7cfb8679ce11edda7c02dc3783f9b Reviewed-on: http://codereview.qt.nokia.com/3861 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Fix extra hover enter events being sent by QSGCanvasCaio Marcelo de Oliveira Filho2011-08-311-0/+84
| | | | | | | | | | | | This fixes two issues: when one item is entered it is getting the enter event twice. When we are moving from two items that share the same parent, the parent is getting enter event -- which shouldn't happen. Change-Id: If0fe6d64d1f7cfb8679ce11edda7c02dc3783f9a Reviewed-on: http://codereview.qt.nokia.com/3860 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Fix leak in tst_qsgitem::wheelEvent() autotestCaio Marcelo de Oliveira Filho2011-08-251-0/+2
| | | | | | | Change-Id: If0fe6d64d1f7cfb8679ce11edda7c02dc3783f95 Reviewed-on: http://codereview.qt.nokia.com/3539 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Do not deliver mouse wheel events when item is not visibleCaio Marcelo de Oliveira Filho2011-08-241-1/+48
| | | | | | | | | | | | | | This patch change the code to also skip invisible items (it was done for disabled already) when deciding whether or not deliver the wheel event to an item. The rationale here is to follow the same rule as the other mouse events. An autotest was added to verify and maintain this behavior. Change-Id: If0fe6d64d1f7cfb8679ce11edda7c02dc3783f94 Reviewed-on: http://codereview.qt.nokia.com/3429 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Update polish even when animations aren't runningAaron Kennedy2011-07-261-0/+38
| | | | | | | | Task-number: QTBUG-20078 Change-Id: I095a872d72da61248794ec4a2a85f91ee618cdbc Reviewed-on: http://codereview.qt.nokia.com/2063 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Update licenseheader text in source files for qtdeclarative Qt moduleJyri Tahtela2011-07-081-17/+17
| | | | | | | | 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>
* Link item focus to canvas widget focus.Martin Jones2011-05-191-0/+25
| | | | Change-Id: I7da1db30819c80b48f4c285a43274b668c686826
* Initial import from qtquick2.Qt by Nokia2011-04-271-0/+787
Branched from the monolithic repo, Qt qtquick2 branch, at commit a4a585d2ee907746682846ae6e8a48e19deef469