more prefs

This commit is contained in:
Morgan 'ARR\!' Allen 2025-06-10 22:12:07 -07:00
parent 7ee3ed89c6
commit 934aaaf354

View file

@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1151</width> <width>1151</width>
<height>591</height> <height>663</height>
</rect> </rect>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
@ -32,6 +32,9 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_5"> <layout class="QVBoxLayout" name="verticalLayout_5">
<property name="sizeConstraint">
<enum>QLayout::SizeConstraint::SetDefaultConstraint</enum>
</property>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
@ -42,15 +45,15 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="Gui::PrefDoubleSpinBox" name="doubleSpinBox"> <widget class="Gui::PrefUnitSpinBox" name="spin_thickness">
<property name="singleStep"> <property name="unit" stdset="0">
<double>0.100000000000000</double> <string>mm</string>
</property> </property>
<property name="value"> <property name="value">
<double>1.600000000000000</double> <double>1.600000000000000</double>
</property> </property>
<property name="prefEntry" stdset="0"> <property name="prefEntry" stdset="0">
<cstring>board_thickness</cstring> <cstring>default_thickness</cstring>
</property> </property>
<property name="prefPath" stdset="0"> <property name="prefPath" stdset="0">
<cstring>Mod/KiConnect</cstring> <cstring>Mod/KiConnect</cstring>
@ -60,18 +63,18 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="Gui::PrefCheckBox" name="checkBox"> <widget class="Gui::PrefCheckBox" name="check_load_parts">
<property name="text"> <property name="text">
<string> Preferences from toolbar</string> <string>Load Parts</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="prefEntry" stdset="0"> <property name="prefEntry" stdset="0">
<cstring>Mod/KiConnect</cstring> <cstring>parts_load</cstring>
</property> </property>
<property name="prefPath" stdset="0"> <property name="prefPath" stdset="0">
<cstring>prefs_toolbar</cstring> <cstring>Mod/KiConnect</cstring>
</property> </property>
</widget> </widget>
</item> </item>
@ -84,7 +87,7 @@
<string>Debug and Development</string> <string>Debug and Development</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set> <set>Qt::AlignmentFlag::AlignHCenter|Qt::AlignmentFlag::AlignTop</set>
</property> </property>
<property name="checkable"> <property name="checkable">
<bool>false</bool> <bool>false</bool>
@ -112,20 +115,41 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="Gui::PrefCheckBox" name="checkBox">
<property name="text">
<string> Preferences from toolbar</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>Mod/KiConnect</cstring>
</property>
<property name="prefPath" stdset="0">
<cstring>prefs_toolbar</cstring>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
<customwidgets> <customwidgets>
<customwidget>
<class>Gui::QuantitySpinBox</class>
<extends>QAbstractSpinBox</extends>
<header>Gui/QuantitySpinBox.h</header>
</customwidget>
<customwidget> <customwidget>
<class>Gui::PrefCheckBox</class> <class>Gui::PrefCheckBox</class>
<extends>QCheckBox</extends> <extends>QCheckBox</extends>
<header>Gui/PrefWidgets.h</header> <header>Gui/PrefWidgets.h</header>
</customwidget> </customwidget>
<customwidget> <customwidget>
<class>Gui::PrefDoubleSpinBox</class> <class>Gui::PrefUnitSpinBox</class>
<extends>QDoubleSpinBox</extends> <extends>Gui::QuantitySpinBox</extends>
<header>Gui/PrefWidgets.h</header> <header>Gui/PrefWidgets.h</header>
</customwidget> </customwidget>
</customwidgets> </customwidgets>