diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-07-20 02:20:21 (GMT) |
---|---|---|
committer | Toby Tomkins <toby.tomkins@nokia.com> | 2010-07-26 07:05:35 (GMT) |
commit | 789524c44f0c292b3309bbd000831f25e99c1b32 (patch) | |
tree | 84cd4cb59960c04303c2c0696dfb7400f297c5b5 /doc/src/snippets/code/src_gui_kernel_qlayout.cpp | |
parent | 3f0bae81dc23ecec747907cb5525ed383867801a (diff) | |
download | Qt-789524c44f0c292b3309bbd000831f25e99c1b32.zip Qt-789524c44f0c292b3309bbd000831f25e99c1b32.tar.gz Qt-789524c44f0c292b3309bbd000831f25e99c1b32.tar.bz2 |
Better defaults for MouseArea's drag.
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
(cherry picked from commit b2f90dedbeac285338af07fbffaec97ceaf0876f)
Diffstat (limited to 'doc/src/snippets/code/src_gui_kernel_qlayout.cpp')
0 files changed, 0 insertions, 0 deletions