Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved how to implement rearrange widgets when resizeing windows

    General and Desktop
    3
    3
    465
    Loading More Posts
    • 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.
    • C
      choiinkuk last edited by choiinkuk

      when resizing explorer, the file's thumbnail are rearranged. like this images.

      Alt text

      Alt text

      i want to place child qwidgets instead of the thumbnail.

      and the child qwidgets should be rearranged on windows.

      i think it is possible to implement rearrange widgtes on qtablewidet. but i think it is too hard.

      which control is best choice to implement rearrage widgets?

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        Hi
        Have a look at the flow layout example.
        It should do what you want.

        1 Reply Last reply Reply Quote 0
        • D
          Devopia last edited by

          hi

          It is very simple to implement.
          If you are using QListWidget ..

          1 Reply Last reply Reply Quote 0
          • First post
            Last post