Layouting: Make aspects operate on parent items, not LayoutBuilder

LayoutBuilder is meant to be an implementation detail nowadays.

Change-Id: I777ab934d3d405873e819eeddd27428d8c652f9a
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2023-05-02 17:20:57 +02:00
parent 50084f6b0e
commit 99f7679564
40 changed files with 204 additions and 216 deletions

View File

@@ -491,12 +491,12 @@ void SourcePathMapAspect::toMap(QVariantMap &) const
QTC_CHECK(false);
}
void SourcePathMapAspect::addToLayout(Layouting::LayoutBuilder &builder)
void SourcePathMapAspect::addToLayout(Layouting::LayoutItem &parent)
{
QTC_CHECK(!d->m_widget);
d->m_widget = createSubWidget<DebuggerSourcePathMappingWidget>();
d->m_widget->setSourcePathMap(value());
builder.addItem(d->m_widget.data());
parent.addItem(d->m_widget.data());
}
QVariant SourcePathMapAspect::volatileValue() const