~kalikiana/ubuntu-ui-toolkit/appsettings

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Layouts/plugin/ullayouts_p.h

  • Committer: Christian Dywan
  • Date: 2014-06-05 15:02:13 UTC
  • mfrom: (700.207.159 staging)
  • Revision ID: christian.dywan@canonical.com-20140605150213-59k3jdozkxcqrx5a
MergeĀ lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/staging

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
    ULLayoutsPrivate(ULLayouts *qq);
35
35
 
36
 
    void _q_removeExcludedItem(QObject *excludedItem);
37
36
    void validateConditionalLayouts();
38
 
    void getLaidOutItems();
 
37
    void getLaidOutItems(QQuickItem *item);
39
38
    void updateLayout();
40
39
 
41
40
    static void error(QObject *item, const QString &message);
51
50
    QList<ULConditionalLayout*> layouts;
52
51
    ChangeList changes;
53
52
    LaidOutItemsMap itemsToLayout;
54
 
    QList<QQuickItem*> excludedFromLayout;
55
53
    QQuickItem* currentLayoutItem;
56
54
    QQuickItem* previousLayoutItem;
 
55
    QQuickItem* contentItem;
57
56
    int currentLayoutIndex;
58
57
    bool ready:1;
59
58
 
64
63
    static void clear_layouts(QQmlListProperty<ULConditionalLayout>*);
65
64
 
66
65
    void reLayout();
67
 
    void hideExcludedItems();
68
66
    void reparentItems();
 
67
    QList<ULItemLayout*> collectContainers(QQuickItem *fromItem);
69
68
    void reparentToItemLayout(LaidOutItemsMap &map, ULItemLayout *fragment);
70
 
    void itemActivate(QQuickItem *item, bool activate);
71
69
};
72
70
 
73
71
#endif // ULLAYOUTS_P_H