Changeset View
Changeset View
Standalone View
Standalone View
src/controls/PageRow.qml
Show First 20 Lines • Show All 428 Lines • ▼ Show 20 Line(s) | 426 | QQC2.StackView { | |||
---|---|---|---|---|---|
429 | anchors { | 429 | anchors { | ||
430 | fill: parent | 430 | fill: parent | ||
431 | } | 431 | } | ||
432 | //placeholder as initial item | 432 | //placeholder as initial item | ||
433 | initialItem: columnView | 433 | initialItem: columnView | ||
434 | 434 | | |||
435 | function clear () { | 435 | function clear () { | ||
436 | //don't let it kill the main page row | 436 | //don't let it kill the main page row | ||
437 | var d = root.depth; | 437 | var d = layersStack.depth; | ||
438 | for (var i = 1; i < d; ++i) { | 438 | for (var i = 1; i < d; ++i) { | ||
439 | pop(); | 439 | pop(); | ||
440 | } | 440 | } | ||
441 | } | 441 | } | ||
442 | 442 | | |||
443 | popEnter: Transition { | 443 | popEnter: Transition { | ||
444 | OpacityAnimator { | 444 | OpacityAnimator { | ||
445 | from: 0 | 445 | from: 0 | ||
▲ Show 20 Lines • Show All 179 Lines • Show Last 20 Lines |