Utils: Make Layouting a top level namespace

The whole machinery is now almost only layoutbuilder.{h,cpp},
mostly independent of the rest of Utils. Idea is to finish the
separation to make it stand-alone usable also outside creator.

Change-Id: I958aa667d17ae26b21209f22412309c5307a579c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2023-04-25 10:15:07 +02:00
parent 68c92f6dfa
commit 8cf500c5bc
127 changed files with 154 additions and 149 deletions

View File

@@ -16,7 +16,7 @@
#include <QStyle>
#include <QTabWidget>
namespace Utils::Layouting {
namespace Layouting {
/*!
\enum Utils::LayoutBuilder::LayoutType
@@ -464,7 +464,7 @@ TabWidget::TabWidget(QTabWidget *tabWidget, std::initializer_list<Tab> tabs)
// "Properties"
LayoutItem::Setter title(const QString &title, BoolAspect *checker)
LayoutItem::Setter title(const QString &title, Utils::BoolAspect *checker)
{
return [title, checker](QObject *target) {
if (auto groupBox = qobject_cast<QGroupBox *>(target)) {
@@ -528,4 +528,4 @@ Stretch st;
Space empty(0);
HorizontalRule hr;
} // Utils::Layouting
} // Layouting