Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Image Gallery like bottom image gallery in android.
Forum Updated to NodeBB v4.3 + New Features

Image Gallery like bottom image gallery in android.

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 3.1k 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.
  • R Offline
    R Offline
    Ravinder
    wrote on last edited by
    #1

    Hi All,

    I am new in Qt Quick development. I want to achieve the image gallery shown in the picture embedded in the URL using QML. In Android it is quite simple but i did not found any solution in QML. the gallery shown in the image at the top is scrollable . Thnx in advance.

    !http://www.google.co.in/imgres?hl=en&sa=X&biw=1366&bih=667&tbm=isch&prmd=imvnsa&tbnid=A5NckTiWcjsUrM:&imgrefurl=http://arunkumarpd.blogspot.com/2012/03/android-gallery-imageview-example.html&docid=pMDQ_PYUP7O8mM&imgurl=http://4.bp.blogspot.com/-fkTkVBcruzU/T08j77fi4sI/AAAAAAAAAYk/THFG7XdQ3Fs/s1600/imagegallery2.png&w=320&h=480&ei=vuW5T8yhN8mqrAfOnJyDCA&zoom=1&iact=hc&vpx=512&vpy=279&dur=4266&hovh=275&hovw=183&tx=87&ty=70&sig=104928161159544841771&page=1&tbnh=160&tbnw=107&start=0&ndsp=25&ved=1t:429,r:18,s:0,i:109()!

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Ravinder
      wrote on last edited by
      #2

      AnyOne found any solution regarding this.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        minimoog77
        wrote on last edited by
        #3

        I will give directions... You can do it with horizontal ListView with highlight section.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Ravinder
          wrote on last edited by
          #4

          @minimoog77 Thnx for the rply...i am using ListView already but unable to achive the same functionality as given by the Android Gallery.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            msjen
            wrote on last edited by
            #5

            Ravinder,

            What functionality do you want beyond scrolling??

            If you look at the QML Flickr example in the QtSDK, you can take the flickable/scrollable GridView and make it one column horizontal.

            Or as minimoog77 suggests use a horizontal ListView and then add animation or transitions to get the functionality you want.

            http://doc.qt.nokia.com/4.7-snapshot/qml-flickable.html

            The Animation and Transitions section under QML Elements may help you find what you are thinking of: http://doc.qt.nokia.com/4.7-snapshot/qdeclarativeelements.html


            Jenifer Hanen
            GoogleTalk: blackphoebe
            http://www.blackphoebe.com/msjen/


            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