SDK should provide support to rearrange items in a ListView
Bug #1195353 reported by
Nekhelesh Ramananthan
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Medium
|
Zsombor Egri | ||
Vivid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
For the clock core app, as per design, it is required to implement ListView where the user can drag and drop to rearrange the items in the ListView. You can see the official wireframe designs at http://
It would be best if the SDK can provide support to implement this since it may also be useful to other apps.
Related branches
lp:~zsombi/ubuntu-ui-toolkit/82-dragging-mode
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Cris Dywan: Approve
-
Diff: 2582 lines (+1873/-91)22 files modifiedcomponents.api (+19/-0)
debian/control (+1/-0)
examples/ubuntu-ui-toolkit-gallery/NewListItems.qml (+92/-30)
modules/Ubuntu/Components/Themes/Ambiance/ListItemStyle.qml (+98/-13)
modules/Ubuntu/Components/UbuntuListView.qml (+7/-0)
modules/Ubuntu/Components/plugin/plugin.cpp (+1/-0)
modules/Ubuntu/Components/plugin/plugin.pro (+6/-2)
modules/Ubuntu/Components/plugin/privates/listitemdragarea.cpp (+313/-0)
modules/Ubuntu/Components/plugin/privates/listitemdragarea.h (+55/-0)
modules/Ubuntu/Components/plugin/privates/listitemdraghandler.cpp (+86/-0)
modules/Ubuntu/Components/plugin/privates/listitemdraghandler.h (+47/-0)
modules/Ubuntu/Components/plugin/uclistitem.cpp (+232/-18)
modules/Ubuntu/Components/plugin/uclistitem.h (+58/-1)
modules/Ubuntu/Components/plugin/uclistitem_p.h (+17/-4)
modules/Ubuntu/Components/plugin/uclistitemstyle.cpp (+15/-0)
modules/Ubuntu/Components/plugin/uclistitemstyle.h (+10/-2)
modules/Ubuntu/Components/plugin/ucviewitemsattached.cpp (+339/-11)
modules/Ubuntu/Test/UbuntuTestCase.qml (+7/-0)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_listitem.ListItemTestCase.qml (+0/-3)
tests/resources/listitems/ListItemDragging.qml (+174/-0)
tests/resources/listitems/ListItemTest.qml (+0/-1)
tests/unit_x11/tst_components/tst_listitem.qml (+296/-6)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
importance: | Undecided → Medium |
status: | New → Triaged |
no longer affects: | ubuntu-ui-toolkit |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu Vivid): | |
status: | New → Fix Released |
To post a comment you must log in.
Some inspiration:
http:// blogofmu. com/2011/ 04/18/drag- and-drop- reorder- list-in- qml-qt/