~zsombi/ubuntu-ui-toolkit/100-listlayout

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/plugin/uclistitemstyle.cpp

  • Committer: Zsombor Egri
  • Date: 2014-11-25 08:17:48 UTC
  • mfrom: (1246.13.38 95-action-property)
  • Revision ID: zsombor.egri@canonical.com-20141125081748-n66zrg8jz4ch3mf3
prereq sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 * \since Ubuntu.Components.Styles 1.2
25
25
 * \brief Style API for ListItem component.
26
26
 *
27
 
 * The component defines the style API for the ListItem component. Provides the
28
 
 * default actions visualization panel, snap animation, selection mode and drag
29
 
 * handler delegates. ListItem treats the style differently compared to the other
30
 
 * components, as it will load it only when needed, to load the components defining
31
 
 * the look and feel of the different configurable elements of the component,
32
 
 * and will ignore any visuals declared in the style.
 
27
 * Style API for the ListItem component which provides actions, select and
 
28
 * drag handler delegates, and snap animation via its properties.
 
29
 * ListItem treats the style differently compared to the other components,
 
30
 * as it:
 
31
 * \list
 
32
 *  \li - loads the style only when needed
 
33
 *  \li - gets delegates and snap animation from the style properties
 
34
 *  \li - ignores any other visuals defined in the style.
 
35
 * \endlist
33
36
 */
34
37
UCListItemStyle::UCListItemStyle(QQuickItem *parent) :
35
38
    QQuickItem(parent)