Draft: store 3 ShapeString parameters and remove font from prefs (#21054)

* Draft: store 3 ShapeString parameters and remove font from prefs

With this PR 3 ShapeString parameters are stored:
* ShapeStringFontFile: this replaces the old FontFile parameter.
* ShapeStringHeight
* ShapeStringText

The ShapeStringFontFile is just the last selected font file and not exposed in the Preferences editor.

Additionally:
* Changed the label of the text input box from "String" to "Text".
* Changed the label of the point reset button to sentence case.

* Remove faulty docstring
This commit is contained in:
Roy-043
2025-04-29 14:13:17 +02:00
committed by GitHub
parent 9a5f96ac0b
commit 56d75c2c06
4 changed files with 33 additions and 54 deletions

View File

@@ -111,7 +111,7 @@ Uncheck to use working plane coordinate system</string>
<string/>
</property>
<property name="text">
<string>Reset Point</string>
<string>Reset point</string>
</property>
</widget>
</item>
@@ -143,14 +143,14 @@ Uncheck to use working plane coordinate system</string>
<item row="1" column="0">
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="QLabel" name="labelString">
<widget class="QLabel" name="labelText">
<property name="text">
<string>String</string>
<string>Text</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="leString">
<widget class="QLineEdit" name="leText">
<property name="toolTip">
<string>Text to be made into ShapeString</string>
</property>