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

@@ -45,7 +45,7 @@ GeneralSettingsPage::GeneralSettingsPage()
setLayouter([](QWidget *widget) {
Settings &s = *Settings::instance();
using namespace Utils::Layouting;
using namespace Layouting;
Column {
s.autorunMeson,

View File

@@ -36,7 +36,7 @@ private:
void makeReadOnly() override { m_toolsComboBox->setEnabled(false); }
void addToLayout(Utils::Layouting::LayoutBuilder &builder) override
void addToLayout(Layouting::LayoutBuilder &builder) override
{
addMutableAction(m_toolsComboBox);
builder.addItem(m_toolsComboBox);