summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativemousearea
Commit message (Collapse)AuthorAgeFilesLines
* Allow MouseArea to prevent mouse grab begin stolen by Flickable.Martin Jones2011-02-172-0/+159
| | | | | | | | | | | | Placing a MouseArea in a Flickable (or PinchArea, or PathView) allows the Flickable to steal mouse events when it detects a flick/drag event. In some cases this is not desireable and MouseArea should be able to retain its grab. Added a 'preventStealing' property to prevent an ancestor item from stealing the MouseArea's grab. Change-Id: I6277fbb76919b2b35d4e32a247b38a90e305dbdf Task-number: QTBUG-17285 Reviewed-by: Joona Petrell
* Notify that pressed has changed before calling the onClicked handler.Michael Brasser2011-01-252-0/+63
| | | | | | | This is a more natural ordering, and makes it trivial to control different state groups with pressed and onClicked. Reviewed-by: Martin Jones
* Flickable and MouseArea were too eager to take/keep mouse grab.Martin Jones2010-11-241-0/+7
| | | | | | | | | This meant that they would sometimes act upon a drag immediately, rather than waiting for a nested area to take the grab. This resulted in a short jump before future events were handled by the nested item. Task-number: QTBUG-15568 Reviewed-by: Bea Lam
* Quickly clicking an item that doesn't use double clicking should result in ↵Joona Petrell2010-11-012-0/+58
| | | | | | | two separate clicks Task-number: QTBUG-14832 Reviewed-by: Martin Jones
* Add test for QTBUG-14279Martin Jones2010-10-082-0/+7
| | | | Task-number: QTBUG-14279
* Improve test coverage for declarative module.Michael Brasser2010-10-041-0/+1
| | | | Add additional autotests, and remove unreachable functions.
* Replace all occurances of "Qt 4.7" with "QtQuick 1.0"Aaron Kennedy2010-09-298-8/+8
| | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones
* When onDoubleClicked: is handled don't emit a second onPressed/onClickedMartin Jones2010-09-132-0/+46
| | | | | Task-number: QTBUG-12250 Reviewed-by: Michael Brasser
* Allow MouseArea dragging to filter mouse events from descendantsMartin Jones2010-07-221-0/+11
| | | | | | | | This allows dragging a MouseArea that contains a clickable MouseArea, for example. Task-number: QTBUG-12323 Reviewed-by: Michael Brasser
* Make declarative autotests compile on Symbian abld build systemJoona Petrell2010-06-082-3/+6
| | | | | Task-number: Reviewed-by: Martin Jones
* Symbian build fix to declarative auto and benchmark testsJoona Petrell2010-05-141-1/+8
| | | | | Task-number: QTBUG-9491 Reviewed-by: Martin Jones
* Remove debug messages from mousearea autotest fileLeonardo Sobral Cunha2010-05-101-6/+6
|
* Add missing qml file to qdeclarativemouseareaLeonardo Sobral Cunha2010-05-071-0/+28
|
* Fix autotest bug in MouseAreaLeonardo Sobral Cunha2010-05-071-1/+1
| | | | Reviewed-by: Martin Jones
* Avoid emitting release when the mouse is ungrabbedLeonardo Sobral Cunha2010-05-071-0/+44
| | | | | | | | | | Added an onCanceled signal to mouse area, which is triggered when the mouse area rejects the event (propagates to the nearest mouse area beneath) or some other element steals the mouse grab (flickable, for example). Task-number: QTBUG-10162 Reviewed-by: Michael Brasser
* Fix versioning of Qt Declarative's in-built typesAlan Alpert2010-04-215-5/+5
| | | | | | Since we aren't releasing for 4.6, all types are new in 4.7. Task-number: QTBUG-10081
* Add drag.active property to MouseArea in qmlLeonardo Sobral Cunha2010-04-202-0/+84
| | | | | | | The drag.active property specifies if the target item is being dragged. Task-number: QTBUG-9833 Reviewed-by: Martin Jones
* Renamed mousePosChanged signal to mousePositionChangedLeonardo Sobral Cunha2010-04-191-1/+1
|
* Update mouse area coordinates automatically when changing positionLeonardo Sobral Cunha2010-04-192-0/+79
| | | | | | | | | Mouse area coordinates are now updated when the mouse area changes position and positionChanged signals are not emitted on mousePress anymore (only mousePosChanged signals). Task-number: QTBUG-9716 Reviewed-by: Michael Brasser
* Tweak tests to run in parallelAaron Kennedy2010-04-131-0/+3
|
* Don't emit clicked() after pressAndHold()Martin Jones2010-04-082-0/+44
| | | | Task-number: QTBUG-9676
* Allow MouseArea.Drag.target to be reset.Martin Jones2010-04-072-6/+67
| | | | Task-number: QTBUG-9637
* Update mouseX(Y) when clicking on a mouse areaLeonardo Sobral Cunha2010-03-312-0/+56
| | | | | | | | This fixes the original commit, 56aa9370dbafa8ee4, for QTBUG-9383. We need to emit a positionChanged signal to update the mouseX(Y) for the mouse area. Reviewed-by: Martin Jones
* Change autotest class prefix from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX ↵Leonardo Sobral Cunha2010-02-241-4/+4
| | | | to QDeclarativeXXX.
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-243-0/+175
QDeclarativeXXX.