Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › How do I create new pages dynamically?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22848

    Simon

    My default app has just one page but then the user can add more pages (many hundreds if they so wish) by pressing a button. The user should then be able to navigate through these new pages.

     

    Where can I find an example of creating pages dynamically.

     

    Obviously with potentially so many pages they would be in tabs, so I would use a left right swipe or a button to switch between all the new pages.

     

    Any pointers?

    Thanks

    Simon

    #22874

    Alex
    Felgo Team

    Hi,

    there are a number of approaches, but it very much depends on your use-case. When you say a couple hundred of pages, does that actually mean that each of those pages needs to be a unique page? Of is it actually just different sets of data that could be displayed on the same page?

    In general, here is some info about dynamic object creation with QML: https://felgo.com/doc/qt/qtqml-javascript-dynamicobjectcreation/

    Communication between such objects: https://felgo.com/doc/felgo-qml-communication-basics/

    Cheers,
    Alex

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded