New ListItem needs action property
Bug #1369935 reported by
Tim Peeters
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Zsombor Egri | ||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
ListItem should have an action property that sets the text, onClicked and icon.
Related branches
lp:~zsombi/ubuntu-ui-toolkit/78-action-property
- PS Jenkins bot: Approve (continuous-integration)
- Tim Peeters: Approve
-
Diff: 388 lines (+169/-6)8 files modifiedcomponents.api (+1/-0)
modules/Ubuntu/Components/plugin/ucaction.h (+1/-0)
modules/Ubuntu/Components/plugin/uclistitem.cpp (+80/-4)
modules/Ubuntu/Components/plugin/uclistitem.h (+3/-1)
modules/Ubuntu/Components/plugin/uclistitem_p.h (+3/-0)
modules/Ubuntu/Components/plugin/ucstyleditembase.cpp (+1/-0)
tests/resources/listitems/ListItemTest.qml (+20/-1)
tests/unit_x11/tst_components/tst_listitem.qml (+60/-0)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
importance: | Undecided → High |
status: | New → Confirmed |
no longer affects: | ubuntu-ui-toolkit |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Action can only connect to onClicked, cannot set text or icon, as ListItem has neither of these properties.