2016-11-04 15:16:11 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>DialogSeamAllowance</class>
|
|
|
|
<widget class="QDialog" name="DialogSeamAllowance">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>559</width>
|
|
|
|
<height>423</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Dialog</string>
|
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
|
|
|
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
<property name="currentIndex">
|
2016-11-10 11:53:02 +01:00
|
|
|
<number>1</number>
|
2016-11-04 15:16:11 +01:00
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="tabMainPath">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Main path</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="pixmap">
|
|
|
|
<pixmap resource="../../../vmisc/share/resources/icon.qrc">:/icon/32x32/clockwise.png</pixmap>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="text">
|
|
|
|
<string>All objects in path should follow in clockwise direction.</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2016-11-10 10:56:40 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkBoxForbidFlipping">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Forbid piece be mirrored in a layout.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Forbid flipping</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2016-11-04 15:16:11 +01:00
|
|
|
<item>
|
2016-11-04 16:34:15 +01:00
|
|
|
<widget class="QListWidget" name="listWidget">
|
|
|
|
<property name="dragDropMode">
|
|
|
|
<enum>QAbstractItemView::InternalMove</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2016-11-04 15:16:11 +01:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="helpLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Ready!</string>
|
|
|
|
</property>
|
|
|
|
<property name="textFormat">
|
|
|
|
<enum>Qt::RichText</enum>
|
|
|
|
</property>
|
|
|
|
<property name="scaledContents">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2016-11-10 10:27:59 +01:00
|
|
|
<widget class="QWidget" name="tabSeamAllowance">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Seam allowance</string>
|
|
|
|
</attribute>
|
2016-11-10 11:53:02 +01:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkBoxSeams">
|
|
|
|
<property name="text">
|
|
|
|
<string>Seam allowance</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
2016-11-10 13:15:43 +01:00
|
|
|
<bool>false</bool>
|
2016-11-10 11:53:02 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="groupBoxAutomatic">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Automatic</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="labelEditWidth">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="locale">
|
|
|
|
<locale language="English" country="UnitedStates"/>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Width:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBoxSeams">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<double>900.990000000000009</double>
|
|
|
|
</property>
|
|
|
|
<property name="singleStep">
|
|
|
|
<double>0.100000000000000</double>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<double>1.000000000000000</double>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2016-11-12 11:41:04 +01:00
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Nodes</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QFormLayout" name="formLayout">
|
|
|
|
<property name="fieldGrowthPolicy">
|
|
|
|
<enum>QFormLayout::ExpandingFieldsGrow</enum>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="labelNode">
|
|
|
|
<property name="text">
|
|
|
|
<string>Node:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QComboBox" name="comboBoxNodes"/>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="labelSABefore">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Seam allowance before node</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Before:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBoxSABefore">
|
|
|
|
<property name="maximum">
|
|
|
|
<double>900.990000000000009</double>
|
|
|
|
</property>
|
|
|
|
<property name="singleStep">
|
|
|
|
<double>0.100000000000000</double>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButtonDefBefore">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Return to default width</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Default</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QLabel" name="labelSAAfter">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Seam allowance after node</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>After:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QDoubleSpinBox" name="doubleSpinBoxSAAfter">
|
|
|
|
<property name="maximum">
|
|
|
|
<double>900.990000000000009</double>
|
|
|
|
</property>
|
|
|
|
<property name="singleStep">
|
|
|
|
<double>0.100000000000000</double>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="pushButtonDefAfter">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Return to default width</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Default</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2016-11-19 12:44:12 +01:00
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QLabel" name="labelAngle">
|
|
|
|
<property name="text">
|
|
|
|
<string>Angle:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1">
|
|
|
|
<widget class="QComboBox" name="comboBoxAngle"/>
|
|
|
|
</item>
|
2016-11-12 11:41:04 +01:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2016-11-10 11:53:02 +01:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>219</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2016-11-10 10:27:59 +01:00
|
|
|
</widget>
|
2016-11-04 15:16:11 +01:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources>
|
|
|
|
<include location="../../../vmisc/share/resources/icon.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>DialogSeamAllowance</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>248</x>
|
|
|
|
<y>254</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>DialogSeamAllowance</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>316</x>
|
|
|
|
<y>260</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|