Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Grid type layout for image file
Forum Updated to NodeBB v4.3 + New Features

Grid type layout for image file

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 678 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.
  • V Offline
    V Offline
    volass
    wrote on 18 Jan 2022, 09:36 last edited by
    #1

    Hi,

    I need to generate the grid type layout for the images which I have stored and also it should be get auto arrange(update/reshuffle) if new file is added or removed.

    Can you please let me know how can be implement such functionality in QT-C++ .
    It will be really great if we can have a reference/example link to develop such functions.

    Looking forward for responses & solutions.

    Thanks & Regards
    Volass

    J 1 Reply Last reply 18 Jan 2022, 09:42
    0
    • V volass
      18 Jan 2022, 09:36

      Hi,

      I need to generate the grid type layout for the images which I have stored and also it should be get auto arrange(update/reshuffle) if new file is added or removed.

      Can you please let me know how can be implement such functionality in QT-C++ .
      It will be really great if we can have a reference/example link to develop such functions.

      Looking forward for responses & solutions.

      Thanks & Regards
      Volass

      J Online
      J Online
      JonB
      wrote on 18 Jan 2022, 09:42 last edited by JonB
      #2

      @volass said in Grid type layout for image file:

      I need to generate the grid type layout for the images which I have stored and also it should be get auto arrange(update/reshuffle) if new file is added or removed.

      Hello and welcome.

      Either you just mean a QGridLayout and you do whatever moving of widgets yourself as & when, or you want Flow Layout Example which will move things in a "flow", like in a <DIV> in HTML. Your images can be placed on QLabel widgets, which work with both of these.

      1 Reply Last reply
      1
      • V Offline
        V Offline
        volass
        wrote on 18 Jan 2022, 10:08 last edited by
        #3

        Hi @JonB

        I am totally to new & beginner to this QT development.

        Here, I need to design the GUI where the picture(files or folder) are store in grid layout order and get auto arrange or reshuffle whenever new file added or deleted.

        I am trying to search in the example but could not get any proper one.
        It will great of yours if you can share any such example.

        J 1 Reply Last reply 18 Jan 2022, 10:23
        0
        • V volass
          18 Jan 2022, 10:08

          Hi @JonB

          I am totally to new & beginner to this QT development.

          Here, I need to design the GUI where the picture(files or folder) are store in grid layout order and get auto arrange or reshuffle whenever new file added or deleted.

          I am trying to search in the example but could not get any proper one.
          It will great of yours if you can share any such example.

          J Online
          J Online
          JonB
          wrote on 18 Jan 2022, 10:23 last edited by JonB
          #4

          @volass said in Grid type layout for image file:

          I am trying to search in the example but could not get any proper one.
          It will great of yours if you can share any such example.

          What do you mean? I gave you the necessary Flow Layout Example above, it's a link to click on.... And that has a link to the code at the bottom of its page.

          1 Reply Last reply
          1
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 18 Jan 2022, 20:55 last edited by
            #5

            Hi and welcome to devnet,

            Looks like you could be interested by QFileSystemModel coupled to a QListView

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1

            3/5

            18 Jan 2022, 10:08

            • Login

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