Draft: Added a pref option to disable SVG page scaling on import - fixes #2062

This commit is contained in:
Yorik van Havre
2015-09-05 23:35:52 -03:00
parent 1748818495
commit dd87a93bbe
2 changed files with 54 additions and 29 deletions

View File

@@ -74,6 +74,29 @@
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="Gui::PrefCheckBox" name="checkBox">
<property name="toolTip">
<string>If this is checked, no units conversion will occur. One unit in the SVG file will translate as one millimeter.</string>
</property>
<property name="text">
<string>Disable units scaling</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>svgDisableUnitScaling</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>Mod/Draft</cstring>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>