Set clang-format argument options.

This commit is contained in:
2025-03-08 11:52:39 -05:00
parent 7fac6bafb4
commit c86a7744b3
22 changed files with 235 additions and 128 deletions

View File

@@ -74,13 +74,19 @@ void ToolBox::createPageProperties(const Object * object)
rowLayout->addWidget(spinBox);
if (i == 0) {
connect(spinBox, &QDoubleSpinBox::valueChanged, object,
connect(spinBox,
&QDoubleSpinBox::valueChanged,
object,
&Object::setTranslationX);
} else if (i == 1) {
connect(spinBox, &QDoubleSpinBox::valueChanged, object,
connect(spinBox,
&QDoubleSpinBox::valueChanged,
object,
&Object::setTranslationY);
} else if (i == 2) {
connect(spinBox, &QDoubleSpinBox::valueChanged, object,
connect(spinBox,
&QDoubleSpinBox::valueChanged,
object,
&Object::setTranslationZ);
}
}
@@ -97,14 +103,14 @@ void ToolBox::createPageProperties(const Object * object)
rowLayout->addWidget(spinBox);
if (i == 0) {
connect(spinBox, &QDoubleSpinBox::valueChanged, object,
&Object::setScaleX);
connect(
spinBox, &QDoubleSpinBox::valueChanged, object, &Object::setScaleX);
} else if (i == 1) {
connect(spinBox, &QDoubleSpinBox::valueChanged, object,
&Object::setScaleY);
connect(
spinBox, &QDoubleSpinBox::valueChanged, object, &Object::setScaleY);
} else if (i == 2) {
connect(spinBox, &QDoubleSpinBox::valueChanged, object,
&Object::setScaleZ);
connect(
spinBox, &QDoubleSpinBox::valueChanged, object, &Object::setScaleZ);
}
}
layout->addRow(rowLayout);