Important: Please read the Qt Code of Conduct -

Swipeview with variable number of pages depending on model size

  • I am writing an application which will have a StackView as the uppermost view and one of the pages it loads will have a SwipeView. This SwipeView will have a number of identical pages but the number of pages will be determined by the length of a list of objects in a C++ model. Also, each page will be bound to a different object in the list

    The SwipeView won't be loaded until a configuration stage has been completed which will determine how long the list will be.

    Can someone give me some pointers as to the best way of accomplishing this? I've got the basic structure OK but the dynamic loading of pages has me stumped!


Log in to reply