concept of Layers
ClosedPublic

Authored by mart on Aug 14 2017, 3:33 PM.

Details

Summary

Introduce the concept of layers: the main page row
contents are in a StackView: normally one would push things
as columns in the main page row, but is
possible to push a page on top of it, covering all the
visible columns: usable for full page viewers or temporary
settings pages

Test Plan

tried in koko, to have the main
existing apps are unaffected

Diff Detail

Repository
R169 Kirigami
Branch
mart/layers
Lint
No Linters Available
Unit
No Unit Test Coverage
mart created this revision.Aug 14 2017, 3:33 PM
Restricted Application added a project: Kirigami. · View Herald TranscriptAug 14 2017, 3:33 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
leinir edited edge metadata.Aug 16 2017, 10:46 AM

The StackView is complaining about some erroneous anchoring (and i don't see the visual effects it's complaining about, as far as i can tell), but apart from that, it looks to work really quite nicely :)

PageRow.qml:348:5: QML ListView: StackView has detected conflicting anchors. Transitions may not execute properly.

leinir accepted this revision.Aug 16 2017, 10:46 AM
This revision is now accepted and ready to land.Aug 16 2017, 10:46 AM
mart added a comment.Aug 16 2017, 11:31 AM

thanks! i can reproduce the warning message, i'll investigate

This revision was automatically updated to reflect the committed changes.