Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix crash in MouseArea | Joona Petrell | 2010-07-23 | 1 | -1/+2 |
| | | | | | Task-number: Reviewed-by: Martin Jones | ||||
* | Allow MouseArea dragging to filter mouse events from descendants | Martin Jones | 2010-07-22 | 1 | -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 Brasser | 2010-07-20 | 1 | -4/+1 |
| | |||||
* | Restore the FLT_MAX define. | Martin Jones | 2010-07-20 | 1 | -0/+4 |
| | | | | Seems some platforms don't have it. | ||||
* | Better defaults for MouseArea's drag. | Michael Brasser | 2010-07-20 | 1 | -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 examples | Bea Lam | 2010-07-14 | 1 | -2/+8 |
| | |||||
* | Don't crash if drag.target has no parentItem | Martin Jones | 2010-07-07 | 1 | -2/+2 |
| | | | | Task-number: QTBUG-11986 | ||||
* | Docs - add more links to relevant examples | Bea Lam | 2010-06-30 | 1 | -1/+1 |
| | | | | Task-number: QTBUG-11754 | ||||
* | Doc fixes | Bea Lam | 2010-06-18 | 1 | -6/+6 |
| | |||||
* | Minor doc fixes | Bea Lam | 2010-06-11 | 1 | -2/+2 |
| | |||||
* | Small optimization when checking if MouseArea's onPressAndHold is | Michael Brasser | 2010-06-09 | 1 | -1/+1 |
| | | | | being used. | ||||
* | Doc fixes and improvements - fix some example code, link to | Bea Lam | 2010-06-02 | 1 | -32/+27 |
| | | | | examples from class docs and improve assorted docs | ||||
* | Fixes doc of mouse area's onEntered | Leonardo Sobral Cunha | 2010-05-10 | 1 | -3/+3 |
| | | | | Task-number: QTBUG-9227 | ||||
* | Avoid emitting release when the mouse is ungrabbed | Leonardo Sobral Cunha | 2010-05-07 | 1 | -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 Bodson | 2010-05-06 | 1 | -2/+2 |
| | |||||
* | Remove obsolete doc groupings. | Michael Brasser | 2010-05-04 | 1 | -2/+0 |
| | |||||
* | Doc: Qt.MidButton -> Qt.MiddleButton | Martin Jones | 2010-04-28 | 1 | -2/+2 |
| | |||||
* | Emit hoverChanged appropriately when Item visibility changes. | Martin Jones | 2010-04-28 | 1 | -0/+33 |
| | | | | Task-number: QTBUG-10243 | ||||
* | Emit released and hoveredChanged in MouseArea when a UngrabMouse is received | Leonardo Sobral Cunha | 2010-04-21 | 1 | -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 qml | Leonardo Sobral Cunha | 2010-04-20 | 1 | -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 mousePositionChanged | Leonardo Sobral Cunha | 2010-04-19 | 1 | -3/+3 |
| | |||||
* | Update mouse area coordinates automatically when changing position | Leonardo Sobral Cunha | 2010-04-19 | 1 | -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 Jones | 2010-04-08 | 1 | -1/+1 |
| | | | | Task-number: QTBUG-9676 | ||||
* | Allow MouseArea.Drag.target to be reset. | Martin Jones | 2010-04-07 | 1 | -0/+8 |
| | | | | Task-number: QTBUG-9637 | ||||
* | Initialize drag movement correctly if drag.target is set after mouse move. | Martin Jones | 2010-04-07 | 1 | -3/+3 |
| | | | | Task-number: QTBUG-9638 | ||||
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7 | Martin Jones | 2010-04-07 | 1 | -3/+3 |
|\ | |||||
| * | Update #include of private headers in QtDeclarative | Thiago Macieira | 2010-04-02 | 1 | -3/+3 |
| | | | | | | | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason. | ||||
* | | Honor the startDragThreshold in MouseArea drag. | Martin Jones | 2010-04-07 | 1 | -2/+2 |
|/ | | | | Task-number: QTBUG-9381 | ||||
* | Update mouseX(Y) when clicking on a mouse area | Leonardo Sobral Cunha | 2010-03-31 | 1 | -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 onPressed | Martin Jones | 2010-03-30 | 1 | -1/+0 |
| | | | | Task-number: QTBUG-9383 | ||||
* | MouseArea works now with any QGraphicsObject | Alexis Menard | 2010-03-17 | 1 | -2/+2 |
| | | | | | | Easy, you just need to change the property. Reviewed-by:Martin Jones | ||||
* | Remove unused data member. | Michael Brasser | 2010-03-09 | 1 | -1/+0 |
| | |||||
* | Fix documentation following MouseRegion -> MouseArea change | Martin Jones | 2010-02-25 | 1 | -9/+9 |
| | |||||
* | Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵ | Warwick Allison | 2010-02-24 | 1 | -0/+685 |
QDeclarativeXXX. |