<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Page Navigation]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">In my app I have only a few main pages.<br />
I implemented SwipeView and it's OK, but I can't swipe directly from page 1 to 3, it goes through page 2.<br />
So, I have switched to StackView, but then when I'm switching through the pages I need to check whether page I want to show is already in stack, if so unwind to this page, if not push page to stack. I ended up with having one page in the stack and calling replace each time I want to show some page.<br />
I mean what for is this stack if I can't setCurrentIndex ;) I'm just switching from QWidgets to QML so maybe I'm getting something wrong?</p>
<p dir="auto">Best Regards<br />
Marek</p>
]]></description><link>https://forum.qt.io/topic/81066/page-navigation</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 23:46:59 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/81066.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Jul 2017 15:43:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Page Navigation on Tue, 11 Jul 2017 20:59:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ekkescorner">@<bdi>ekkescorner</bdi></a> Thank you. Nice archive <a href="https://appbus.wordpress.com/2016/04/08/qt-for-x-platform-mobile-development/" target="_blank" rel="noopener noreferrer nofollow ugc">Qt for x-platform mobile development</a></p>
]]></description><link>https://forum.qt.io/post/404226</link><guid isPermaLink="true">https://forum.qt.io/post/404226</guid><dc:creator><![CDATA[FrankiPL]]></dc:creator><pubDate>Tue, 11 Jul 2017 20:59:24 GMT</pubDate></item><item><title><![CDATA[Reply to Page Navigation on Sat, 08 Jul 2017 09:28:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marek">@<bdi>Marek</bdi></a> go to Google Play or Apple APP Store, search for 'Ekkehard Gentz' and you'll find some apps (per ex Qt World Summit 2016 or my brandnew BT LE example).<br />
These Apps all use StackViews:<br />
one StackView at root used by the Drawer, where for each Item in Drawer the Item get's replaced by a Page oder another StackView.<br />
Then you can navigate thru the Stack (pushing Pages on top, pop Page or go back to another one<br />
Apps are Open Source at GitHUb</p>
<p dir="auto">Also there are examples by me explaining all of this:<br />
StackView: <a href="https://appbus.wordpress.com/2016/05/27/stacked-pages-app/" target="_blank" rel="noopener noreferrer nofollow ugc">https://appbus.wordpress.com/2016/05/27/stacked-pages-app/</a><br />
Drawer: <a href="https://appbus.wordpress.com/2016/06/20/drawer-navigation-app/" target="_blank" rel="noopener noreferrer nofollow ugc">https://appbus.wordpress.com/2016/06/20/drawer-navigation-app/</a></p>
<p dir="auto">have fun</p>
]]></description><link>https://forum.qt.io/post/403726</link><guid isPermaLink="true">https://forum.qt.io/post/403726</guid><dc:creator><![CDATA[ekkescorner]]></dc:creator><pubDate>Sat, 08 Jul 2017 09:28:42 GMT</pubDate></item><item><title><![CDATA[Reply to Page Navigation on Thu, 06 Jul 2017 23:03:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eeli-k">@<bdi>Eeli-K</bdi></a> Thanks, it is some solution, although it does not have transitions. Someone has done github example with StackLayout and transitions but... still probably StackView is a way to go.<br />
Thanks anyway ;)<br />
Marek</p>
]]></description><link>https://forum.qt.io/post/403517</link><guid isPermaLink="true">https://forum.qt.io/post/403517</guid><dc:creator><![CDATA[Marek]]></dc:creator><pubDate>Thu, 06 Jul 2017 23:03:43 GMT</pubDate></item><item><title><![CDATA[Reply to Page Navigation on Thu, 06 Jul 2017 21:14:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marek">@<bdi>Marek</bdi></a> StackLayout lets you set the current index. StackView is good for a real stack with pop/push operations if you need them, StackLayout is a simple way to show one item at a time out of several.</p>
]]></description><link>https://forum.qt.io/post/403510</link><guid isPermaLink="true">https://forum.qt.io/post/403510</guid><dc:creator><![CDATA[Eeli K]]></dc:creator><pubDate>Thu, 06 Jul 2017 21:14:25 GMT</pubDate></item></channel></rss>