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


OverviewFelgo 3 Support (Qt 5) › timeline swipe loading images åperformance

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #14638


    hi, i would like to create a swipable timeline app.

    in the app when swiping a timeline events are triggered and i want images and text occur on certain moments.

    i need a lot of images and text.

    what would be the best aproach to deal with lots of images triggered by the timeline points.

    i was thinking about creating a json file which is a representation of the timeline with images

    and tekst as a sequence of nodes.

    but i do not know how to deal with the images, will it be fast enough when loaded from resource.

    and i think i wil have a certain slots where images are loaded on the fly and text slots are rendered on the fly

    so my question here is: is my theory correct, would this work?

    or do you have some alternatives other ideas how to handle




    i don’t want to use a grid


    thanx in advance


    Felgo Team

    Hi Bas!

    The approach to use a json file to configure the nodes (text) and images (sourcePath) is correct. Displaying the images from the project resources or assets folder is definitely fast enough. You can use for example the Repeater type to visualize your json data (the model) with QML elements (the delegate).

    Of course you can also manually go through your JSON data and create UI elements dynamically with Qt.createComponent.






    i will try some different approches with 130 images or so.

    probably  create a script which generates the json file

Viewing 3 posts - 1 through 3 (of 3 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