Qt World Summit: Register Today!

how to implement rearrange widgets when resizeing windows

  • 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?

  • Lifetime Qt Champion

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

  • hi

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

Log in to reply