Changeset View
Changeset View
Standalone View
Standalone View
src/controls/Action.qml
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 29 | Controls.Action { | |||
---|---|---|---|---|---|
79 | 79 | | |||
80 | /** | 80 | /** | ||
81 | * expandible: bool | 81 | * expandible: bool | ||
82 | * When true, actions in globalDrawers and contextDrawers will become titles displaying te child actions as sub items | 82 | * When true, actions in globalDrawers and contextDrawers will become titles displaying te child actions as sub items | ||
83 | * @since 2.6 | 83 | * @since 2.6 | ||
84 | */ | 84 | */ | ||
85 | property bool expandible: false | 85 | property bool expandible: false | ||
86 | 86 | | |||
87 | property QtObject parent | 87 | property Controls.Action parent | ||
88 | 88 | | |||
89 | default property alias children: root.__children | 89 | default property alias children: root.__children | ||
90 | property list<QtObject> __children | 90 | property list<QtObject> __children | ||
91 | 91 | | |||
92 | onChildrenChanged: { | 92 | onChildrenChanged: { | ||
93 | var child; | 93 | var child; | ||
94 | for (var i in children) { | 94 | for (var i in children) { | ||
95 | child = children[i]; | 95 | child = children[i]; | ||
Show All 22 Lines |