Skip to content
Snippets Groups Projects
Commit 34cc59df authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

clang-format

parent dc7c37d7
No related branches found
No related tags found
1 merge request!1150GUI: rm overloaded set/get
Pipeline #81118 passed
......@@ -46,8 +46,8 @@ DepthProbeInstrumentEditor::DepthProbeInstrumentEditor(QWidget* parent,
new InclinationAnglesEditor(this, instrument->beamItem()->inclinationAngleItem());
vLayout->addWidget(inclinationEditor);
auto* depthAxisEditor = new AxisPropertyEditor(
this, "Depth axis", &instrument->zAxis(), "Number of points in scan across sample bulk");
auto* depthAxisEditor = new AxisPropertyEditor(this, "Depth axis", &instrument->zAxis(),
"Number of points in scan across sample bulk");
vLayout->addWidget(depthAxisEditor);
GroupBoxCollapser::installIntoGroupBox(parametersGroupBox);
......
......@@ -49,9 +49,8 @@ OffspecBeamEditor::OffspecBeamEditor(QWidget* parent, OffspecInstrumentItem* ite
item->beamItem()->wavelengthItem());
vLayout->addWidget(wavelengthEditor);
auto* inclinationEditor =
new AxisPropertyEditor(this, "Inclination angle", &item->alphaAxis(),
"Number of points in scan");
auto* inclinationEditor = new AxisPropertyEditor(this, "Inclination angle", &item->alphaAxis(),
"Number of points in scan");
vLayout->addWidget(inclinationEditor);
auto* azimuthalEditor =
......
......@@ -31,8 +31,8 @@ SphericalDetectorEditor::SphericalDetectorEditor(QWidget* parent, SphericalDetec
new AxisPropertyEditor(this, u8"\u03c6 axis", &item->phiAxis(), "Number of phi-axis bins");
grid->addWidget(phiAxisEditor, 1, 0);
auto* alphaAxisEditor = new AxisPropertyEditor(
this, u8"\u03b1 axis", &item->alphaAxis(), "Number of alpha-axis bins");
auto* alphaAxisEditor = new AxisPropertyEditor(this, u8"\u03b1 axis", &item->alphaAxis(),
"Number of alpha-axis bins");
grid->addWidget(alphaAxisEditor, 1, 1);
auto* resolutionFunctionEditor =
......
......@@ -105,7 +105,7 @@ void ParticleLayoutForm::updateDensityEnabling()
void ParticleLayoutForm::updateDensityValue()
{
if(m_layoutItem->totalDensityIsDefinedByInterference())
if (m_layoutItem->totalDensityIsDefinedByInterference())
m_layoutItem->ownDensity().set(m_layoutItem->totalDensityValue());
m_totalDensitySpinBox->updateValue();
......
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