forked from qt-creator/qt-creator
ProjectExplorer: Re-organize KitAspect layouting related functions
Less obscure as it's fairly close to the standard pattern now. Change-Id: I4680465fbdb9fb6a458c18ef0534e4d8a4a31d1e Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -149,7 +149,7 @@ private:
|
||||
// KitAspectWidget interface
|
||||
void makeReadOnly() override { m_comboBox->setEnabled(false); }
|
||||
|
||||
void addToLayout(Layouting::LayoutItem &builder) override
|
||||
void addToLayoutImpl(Layouting::LayoutItem &builder) override
|
||||
{
|
||||
addMutableAction(m_comboBox);
|
||||
builder.addItem(m_comboBox);
|
||||
@@ -373,7 +373,7 @@ private:
|
||||
// KitAspectWidget interface
|
||||
void makeReadOnly() override { m_changeButton->setEnabled(false); }
|
||||
|
||||
void addToLayout(Layouting::LayoutItem &parent) override
|
||||
void addToLayoutImpl(Layouting::LayoutItem &parent) override
|
||||
{
|
||||
addMutableAction(m_label);
|
||||
parent.addItem(m_label);
|
||||
@@ -912,7 +912,7 @@ public:
|
||||
|
||||
private:
|
||||
// KitAspectWidget interface
|
||||
void addToLayout(Layouting::LayoutItem &parent) override
|
||||
void addToLayoutImpl(Layouting::LayoutItem &parent) override
|
||||
{
|
||||
addMutableAction(m_summaryLabel);
|
||||
parent.addItem(m_summaryLabel);
|
||||
|
||||
Reference in New Issue
Block a user