Utils: Add minimal Flow layout support to layout builder

It will be used in the CppCheck option page.

The de-facto copy of utils/flowlayout.{cpp,h} is intentional
to keep the layout builder usable stand-alone.

Change-Id: Ibda3ece2aeb3cbb1badaf6083b52ebb63b6524ac
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2023-05-16 12:51:21 +02:00
parent 7e5ba6c993
commit 77c19ae213
2 changed files with 184 additions and 0 deletions

View File

@@ -98,6 +98,12 @@ public:
Row(std::initializer_list<LayoutItem> items);
};
class QTCREATOR_UTILS_EXPORT Flow : public LayoutItem
{
public:
Flow(std::initializer_list<LayoutItem> items);
};
class QTCREATOR_UTILS_EXPORT Grid : public LayoutItem
{
public: