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?


  • Qt Champions 2016

    Hi
    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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.