summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativemousearea.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash in MouseAreaJoona Petrell2010-07-231-1/+2
| | | | | Task-number: Reviewed-by: Martin Jones
* Allow MouseArea dragging to filter mouse events from descendantsMartin Jones2010-07-221-3/+93
| | | | | | | | This allows dragging a MouseArea that contains a clickable MouseArea, for example. Task-number: QTBUG-12323 Reviewed-by: Michael Brasser
* Compile: include <float.h> for usage of FLT_MAX.Michael Brasser2010-07-201-4/+1
|
* Restore the FLT_MAX define.Martin Jones2010-07-201-0/+4
| | | | Seems some platforms don't have it.
* Better defaults for MouseArea's drag.Michael Brasser2010-07-201-1/+2
| | | | | | | | | | Allow essentially unbounded dragging once drag.target is set. The previous default of contraining the dragging to 0,0 (i.e. no drag) was unintuitive for learners. It's rare that unbounded is actually what you want, but it makes it much easier to get started with the element. Task-number: QTBUG-11184 Reviewed-by: Martin Jones
* improvements to docs and examplesBea Lam2010-07-141-2/+8
|
* Don't crash if drag.target has no parentItemMartin Jones2010-07-071-2/+2
| | | | Task-number: QTBUG-11986
* Docs - add more links to relevant examplesBea Lam2010-06-301-1/+1
| | | | Task-number: QTBUG-11754
* Doc fixesBea Lam2010-06-181-6/+6
|
* Minor doc fixesBea Lam2010-06-111-2/+2
|
* Small optimization when checking if MouseArea's onPressAndHold isMichael Brasser2010-06-091-1/+1
| | | | being used.
* Doc fixes and improvements - fix some example code, link toBea Lam2010-06-021-32/+27
| | | | examples from class docs and improve assorted docs
* Fixes doc of mouse area's onEnteredLeonardo Sobral Cunha2010-05-101-3/+3
| | | | Task-number: QTBUG-9227
* Avoid emitting release when the mouse is ungrabbedLeonardo Sobral Cunha2010-05-071-3/+16
| | | | | | | | | | 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
* Use enum for drag.axis in doc and examples.Yann Bodson2010-05-061-2/+2
|
* Remove obsolete doc groupings.Michael Brasser2010-05-041-2/+0
|
* Doc: Qt.MidButton -> Qt.MiddleButtonMartin Jones2010-04-281-2/+2
|
* Emit hoverChanged appropriately when Item visibility changes.Martin Jones2010-04-281-0/+33
| | | | Task-number: QTBUG-10243
* Emit released and hoveredChanged in MouseArea when a UngrabMouse is receivedLeonardo Sobral Cunha2010-04-211-1/+3
| | | | | | | | | | | The unbgrab mouse happens when the mouse area is inside a flickable and the flickables takes control over the mouse handling. In this case, the UngrabMouse will behave similarly to a MouseRelease, emitting released, pressedChanged and hoveredChanged. Visual autotest added to mousearea in qmlvisual. Reviewed-by: Michael Brasser
* Add drag.active property to MouseArea in qmlLeonardo Sobral Cunha2010-04-201-7/+28
| | | | | | | 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-3/+3
|
* Update mouse area coordinates automatically when changing positionLeonardo Sobral Cunha2010-04-191-1/+23
| | | | | | | | | 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
* Don't emit clicked() after pressAndHold()Martin Jones2010-04-081-1/+1
| | | | Task-number: QTBUG-9676
* Allow MouseArea.Drag.target to be reset.Martin Jones2010-04-071-0/+8
| | | | Task-number: QTBUG-9637
* Initialize drag movement correctly if drag.target is set after mouse move.Martin Jones2010-04-071-3/+3
| | | | Task-number: QTBUG-9638
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Martin Jones2010-04-071-3/+3
|\
| * Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-3/+3
| | | | | | | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* | Honor the startDragThreshold in MouseArea drag.Martin Jones2010-04-071-2/+2
|/ | | | Task-number: QTBUG-9381
* Update mouseX(Y) when clicking on a mouse areaLeonardo Sobral Cunha2010-03-311-0/+1
| | | | | | | | 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
* Don't emit onPositionChanged before onPressedMartin Jones2010-03-301-1/+0
| | | | Task-number: QTBUG-9383
* MouseArea works now with any QGraphicsObjectAlexis Menard2010-03-171-2/+2
| | | | | | Easy, you just need to change the property. Reviewed-by:Martin Jones
* Remove unused data member.Michael Brasser2010-03-091-1/+0
|
* Fix documentation following MouseRegion -> MouseArea changeMartin Jones2010-02-251-9/+9
|
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+685
QDeclarativeXXX.