diff --git a/GUI/View/SampleDesigner/LayerEditorUtil.cpp b/GUI/View/SampleDesigner/LayerEditorUtil.cpp index dfb442e5874b0917f480390bb4540f6e3da02f28..fc7d8443bd9e5988ad1c47cb70be053524117f96 100644 --- a/GUI/View/SampleDesigner/LayerEditorUtil.cpp +++ b/GUI/View/SampleDesigner/LayerEditorUtil.cpp @@ -119,22 +119,6 @@ void LayerEditorUtil::addMultiPropertyToGrid(QGridLayout* m_gridLayout, int firs addSpacer); } -void LayerEditorUtil::addVectorToGrid(QGridLayout* m_gridLayout, int firstCol, VectorProperty& v, - SampleEditorController* ec, bool vertically, bool addSpacer) -{ - addMultiPropertyToGrid(m_gridLayout, firstCol, {&v.x(), &v.y(), &v.z()}, ec, vertically, - addSpacer); -} - - -void LayerEditorUtil::addVectorToGrid(QGridLayout* m_gridLayout, int firstCol, VectorProperty& v, - function<void(double, DoubleProperty&)> setNewValue, - bool vertically, bool addSpacer) -{ - addMultiPropertyToGrid(m_gridLayout, firstCol, {&v.x(), &v.y(), &v.z()}, setNewValue, - vertically, addSpacer); -} - void LayerEditorUtil::addMagnetizationNoZToGrid( QGridLayout* m_gridLayout, int firstCol, VectorProperty& v, std::function<void(double, DoubleProperty&)> setNewValue, bool vertically, bool addSpacer) diff --git a/GUI/View/SampleDesigner/LayerEditorUtil.h b/GUI/View/SampleDesigner/LayerEditorUtil.h index 9af6be1d749d8dbf9a492281c3b1944a755ce436..8f6ab4708b0678b996935fb0a6149e0b87d73848 100644 --- a/GUI/View/SampleDesigner/LayerEditorUtil.h +++ b/GUI/View/SampleDesigner/LayerEditorUtil.h @@ -55,15 +55,6 @@ void addMultiPropertyToGrid(QGridLayout* m_gridLayout, int firstCol, const DoubleProperties& valueProperties, SampleEditorController* ec, bool addSpacer); -//! Create DoubleSpinBoxes for the DoubleProperties and connect them to -//! SampleEditorController::setDouble() -void addVectorToGrid(QGridLayout* m_gridLayout, int firstCol, VectorProperty& v, - SampleEditorController* ec, bool vertically, bool addSpacer); - -//! Create DoubleSpinBoxes for the DoubleProperties and connect them to the given setNewValue() -void addVectorToGrid(QGridLayout* m_gridLayout, int firstCol, VectorProperty& v, - std::function<void(double, DoubleProperty&)> setNewValue, bool vertically, - bool addSpacer); void addMagnetizationNoZToGrid(QGridLayout* m_gridLayout, int firstCol, VectorProperty& v, std::function<void(double, DoubleProperty&)> setNewValue, bool vertically, bool addSpacer);