Results 1 to 2 of 2

Thread: Display images in a Windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Display images in a Windows

    I have a file. Txt contains about 100 lines in the following form:
    / home/clairsang/Bureau/TPE/GoogleImage/0001.jpg
    / home/clairsang/Bureau/TPE/GoogleImage/0078.jpg
    / home/clairsang/Bureau/TPE/GoogleImage/0148.jpg
    ….

    Now, I want to create a windows with one button, when pressed on this button pops up a new window, this window displays 100 images contained in the above file.



    Actually, I only want to show up, like in the photo above is ok.

    Thanks for your answer.


    Thanks.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Display images in a Windows

    We are not going to write an entire functioning program for you.

    What documentation have you read? What have you tried? What Qt components look like they might be useful?

    You could start with any of the Tutorials or Demos/Examples. A QListView or QListWidget in icon mode might be a good choice in a widget-based application.

Similar Threads

  1. How to display DDS images?
    By jamsession in forum Qt Programming
    Replies: 5
    Last Post: 12th June 2013, 22:18
  2. want to display images from device
    By trupti in forum Qt Programming
    Replies: 0
    Last Post: 30th December 2010, 04:51
  3. Display Images in a TREEVIEW
    By kamlmish in forum Qt Programming
    Replies: 2
    Last Post: 2nd December 2010, 04:41
  4. Display images and move them
    By AL in forum General Programming
    Replies: 2
    Last Post: 11th February 2010, 11:15
  5. Display animated images
    By suresh in forum Qt Programming
    Replies: 1
    Last Post: 27th January 2007, 21:53

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
  •  
Qt is a trademark of The Qt Company.