Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT Show images by one by

QT Show images by one by

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 367 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jondoeJ Offline
    jondoeJ Offline
    jondoe
    wrote on last edited by
    #1

    Hello,
    I trying to make image slider with QT. I have 5 images in folder ( 1.jpg, 2.jpg, 3.jpg, 4.jpg, 5.jpg ). I want show them on label with timer but first 1.jpg after 2.jpg after 3,4,5 after again 1.jpg. How can I do this ? I dont want do this random. Thank you for help.

    Pablo J. RoginaP 1 Reply Last reply
    0
    • jondoeJ jondoe

      Hello,
      I trying to make image slider with QT. I have 5 images in folder ( 1.jpg, 2.jpg, 3.jpg, 4.jpg, 5.jpg ). I want show them on label with timer but first 1.jpg after 2.jpg after 3,4,5 after again 1.jpg. How can I do this ? I dont want do this random. Thank you for help.

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @jondoe I'd say have the filename of images in a list, and run a QTimer for the desired time interval, and on timer timeout you pick a new image to display based on index

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      4

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved