Results 1 to 3 of 3

Thread: help: about images

  1. #1
    Join Date
    Oct 2007
    Posts
    14
    Qt products
    Qt4
    Platforms
    Windows

    Default help: about images

    im creating a program that would show images. what i wanted to do now is to create a label and from there load the image to it, but what i wanted is there is a next button and all the images that are stored in the same folder of the first image can be loaded when the NEXT button is pressed. is there any way to do it? i want to do it like the windows picture and fax viewer. any help would be greatly appreciated.

  2. #2
    Join Date
    Aug 2009
    Posts
    52
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: help: about images

    use QDir to get file names of images in any floder.

    then your can use QImage to load images one by one

  3. #3
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: help: about images

    Quote Originally Posted by miguel_mark View Post
    im creating a program that would show images. what i wanted to do now is to create a label and from there load the image to it, but what i wanted is there is a next button and all the images that are stored in the same folder of the first image can be loaded when the NEXT button is pressed. is there any way to do it? i want to do it like the windows picture and fax viewer. any help would be greatly appreciated.
    Ok, you have all idea of what to do. Then go ahead and start implementing. Post here if you face any issue related to Qt.

Similar Threads

  1. Loading corrupt jpeg images with QImage
    By mikeee7 in forum Qt Programming
    Replies: 15
    Last Post: 3rd December 2010, 01:59
  2. Moving images and change their DIP
    By yazwas in forum Qt Programming
    Replies: 1
    Last Post: 26th October 2009, 17:46
  3. QScrollArea not displaying large number of images
    By lpkincaid in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2009, 09:58
  4. Replies: 8
    Last Post: 8th May 2009, 09:14
  5. import large number of images
    By sriluyarlagadda in forum Qt Programming
    Replies: 5
    Last Post: 15th May 2008, 10:26

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.