~aacid/ubuntu-ui-toolkit/nonsquareicons

« back to all changes in this revision

Viewing changes to components.api

Second stage of simplification - divider group property is an item, simplifying the anchoring of the contentItem. PropertyChange does not backup the property binding, uses QQmlPropertyPrivate::write() with parameter to keep bindings. ListItemAnimator uses behavior to animate snapping. Styling got "styledItem" context property to obey general styling rules. clicked() and pressAndHold() emission fix when content is swiped.

Approved by Tim Peeters, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
888
888
    prototype: "QObject"
889
889
    Property { name: "actions"; type: "UCListItemActions"; isReadonly: true; isPointer: true }
890
890
    Property { name: "visibleActions"; type: "UCAction"; isList: true; isReadonly: true }
891
 
    Property { name: "item"; type: "UCListItem"; isReadonly: true; isPointer: true }
892
891
    Property { name: "index"; type: "int"; isReadonly: true }
893
892
    Property { name: "panelStatus"; type: "UCListItem::PanelStatus"; isReadonly: true }
894
893
    Method {
895
894
    name: "snapToPosition"
896
895
    Parameter { name: "position"; type: "double" }
897
896
    name: "UCListItemDivider"
898
 
    prototype: "QObject"
899
 
    Property { name: "visible"; type: "bool" }
900
 
    Property { name: "leftMargin"; type: "double" }
901
 
    Property { name: "rightMargin"; type: "double" }
 
897
    prototype: "QQuickItem"
902
898
    Property { name: "colorFrom"; type: "QColor" }
903
899
    Property { name: "colorTo"; type: "QColor" }
904
900
    name: "UCListItemStyle"
907
903
    Property { name: "actionsDelegate"; type: "QQmlComponent"; isPointer: true }
908
904
    Property { name: "selectionDelegate"; type: "QQmlComponent"; isPointer: true }
909
905
    Property { name: "dragHandlerDelegate"; type: "QQmlComponent"; isPointer: true }
910
 
    Property { name: "snapAnimation"; type: "QQuickPropertyAnimation"; isPointer: true }
 
906
    Property { name: "snapAnimation"; type: "QQuickAbstractAnimation"; isPointer: true }
911
907
    Property { name: "swipeOvershoot"; type: "double" }
912
908
    name: "UCMouse"
913
909
    prototype: "QObject"