Skip to content
Snippets Groups Projects
Commit 3ec007ff authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

disambiguate fct name GroupBoxCollapser::addTitleWidget

parent b3e66ed2
No related branches found
No related tags found
1 merge request!2055GUI cleanup while reading towards detector editor
......@@ -60,7 +60,7 @@ void GroupBoxCollapser::addAction(QAction* action)
connect(action, &QAction::changed, [=]() { btn->setVisible(action->isVisible()); });
}
void GroupBoxCollapser::addWidget(QWidget* widget)
void GroupBoxCollapser::addTitleWidget(QWidget* widget)
{
m_titleLayout->addWidget(widget);
}
......
......@@ -45,7 +45,7 @@ public:
void addAction(QAction* action);
//! Add a widget to the title bar.
void addWidget(QWidget* widget);
void addTitleWidget(QWidget* widget);
//! The content area, to which the found group box content has been moved when the add-on has
//! been installed.
......
......@@ -70,7 +70,7 @@ LayerForm::LayerForm(QWidget* parent, LayerItem* layerItem, SampleEditorControll
m_moveButton->setToolTip("Move layer up/down");
connect(m_moveButton, &WidgetMoverButton::finishedMoving, ec,
&SampleEditorController::onStoppedToMoveLayer);
m_collapser->addWidget(m_moveButton);
m_collapser->addTitleWidget(m_moveButton);
m_structureEditingWidgets << m_moveButton;
}
// show in real space
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment