<table><tr><td style="">masonm created this revision.<br />masonm added reviewers: Kirigami, mart.<br />masonm added a project: Kirigami.<br />masonm requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D29294">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently PagePoolAction only supports pushing to a pageStack, but often it makes sense to use layers to push modal/contextual pages (outside of the primary pageStack flow). This change introduces support for a "useLayers" property that can be set on PagePoolAction, allowing it use the pageStack.layers StackView (if it exists). It also includes a unit test and a couple fixes uncovered by the test.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>See the tst_layers unit test included.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R169 Kirigami</div></div></div><br /><div><strong>BRANCH</strong><div><div>add-pagepool-layer-support (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29294">https://phabricator.kde.org/D29294</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>.gitignore<br />
autotests/CMakeLists.txt<br />
autotests/pagepool/tst_layers.qml<br />
src/controls/PagePoolAction.qml<br />
src/controls/PageRow.qml<br />
src/pagepool.cpp<br />
src/pagepool.h</div></div></div><br /><div><strong>To: </strong>masonm, Kirigami, mart<br /><strong>Cc: </strong>mart, plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson<br /></div>