A Custom Layout with RowLayout, ColLayout, SquareLayout
The simplest way to use this is include this project a CMake's subproject:
add_subdirectory(QtFlowLayout)
setLayout(new Z::FlowLayout(this));
layout()->setStyle(Z::FlowLayout::Col);
This project is a project derived from https://github.com/cathaysia/digikamflowplugin, please read it's source before using this