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. How To Load Images into UI ?!

How To Load Images into UI ?!

Scheduled Pinned Locked Moved General and Desktop
6 Posts 5 Posters 5.6k 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.
  • G Offline
    G Offline
    Green_AciD
    wrote on last edited by
    #1

    here i am trying to make CBIR app with Qt and C++ language, what i need know is how to load images from local disk to user-interface !.

    thanks .

    (Qt4 + C++) -> CBIR.
    <SPM>

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      "This":http://doc.trolltech.com/4.7/qimage.html#QImage-9 or "this":http://doc.trolltech.com/4.7-/qimage.html#load maybe?

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • EddyE Offline
        EddyE Offline
        Eddy
        wrote on last edited by
        #3

        "You can do it using Qt Designer's resource editor":http://developer.qt.nokia.com/doc/qt-4.7/designer-resources.html#id-783f5992-8e22-45eb-bc5c-19a4f6fa79b2

        Qt Certified Specialist
        www.edalsolutions.be

        1 Reply Last reply
        0
        • G Offline
          G Offline
          Green_AciD
          wrote on last edited by
          #4

          Thanks for your help,
          let me explain what exactly i need to do:
          i want to load images from a folder from QTreeView to the QGraphicsView (from left side to right side) and show images in thumbnail and with their info.
          This my User interface:
          !http://img855.imageshack.us/img855/1876/myuiu.jpg(Ui)!
          This is What i want to implement:
          !http://img847.imageshack.us/img847/8536/fui.jpg(f_ui)!

          i need to know what is best way to do it and which library to call?
          What kind of object i have to make to load each image inside of it and show its information ?!

          thank you in advance.

          (Qt4 + C++) -> CBIR.
          <SPM>

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #5

            There is a nice QML example for this.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dangelog
              wrote on last edited by
              #6

              Or just a QListView in iconmode, a custom delegate and a (proxy) model which supplies the image data.

              Software Engineer
              KDAB (UK) Ltd., a KDAB Group company

              1 Reply Last reply
              0

              • Login

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