Assembly: Add preference to enable debug files of dragging

This commit is contained in:
PaddleStroke
2024-06-04 17:42:18 +02:00
committed by Chris Hennes
parent 42eb4fdda6
commit 7345d76f2c
3 changed files with 29 additions and 3 deletions

View File

@@ -34,13 +34,33 @@
</widget>
</item>
<item row="1" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxSolverDebug">
<property name="toolTip">
<string>Log the dragging steps of the solver. Useful if you want to report a bug.
The files are named "runPreDrag.asmt" and "dragging.log" and are located in the default directory of std::ofstream (on Windows it's the desktop)</string>
</property>
<property name="text">
<string>Log dragging steps</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>LogSolverDebug</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Assembly</cstring>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="groundFirstPartLabel">
<property name="text">
<string>Ground first part:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<item row="2" column="1">
<widget class="QComboBox" name="groundFirstPart">
<property name="toolTip">
<string>When you insert the first part in the assembly, you can choose to ground the part automatically.</string>
@@ -50,7 +70,7 @@
</property>
</widget>
</item>
<item row="1" column="2">
<item row="2" column="2">
<spacer name="horSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@@ -63,7 +83,7 @@
</property>
</spacer>
</item>
<item row="2" column="0">
<item row="3" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>