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

@@ -36,11 +36,11 @@ private:
void makeReadOnly() override { m_toolsComboBox->setEnabled(false); }
void addToLayout(Layouting::LayoutBuilder &builder) override
void addToLayout(Layouting::LayoutItem &parent) override
{
addMutableAction(m_toolsComboBox);
builder.addItem(m_toolsComboBox);
builder.addItem(m_manageButton);
parent.addItem(m_toolsComboBox);
parent.addItem(m_manageButton);
}
void refresh() override