2016-11-22 12:04:34 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>DialogPiecePath</class>
|
|
|
|
<widget class="QDialog" name="DialogPiecePath">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2016-11-28 12:58:17 +01:00
|
|
|
<width>480</width>
|
|
|
|
<height>409</height>
|
2016-11-22 12:04:34 +01:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2016-11-29 18:41:52 +01:00
|
|
|
<string>Piece path tool</string>
|
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset resource="../../../vmisc/share/resources/icon.qrc">
|
|
|
|
<normaloff>:/icon/64x64/icon64x64.png</normaloff>:/icon/64x64/icon64x64.png</iconset>
|
2016-11-22 12:04:34 +01:00
|
|
|
</property>
|
2016-11-28 12:58:17 +01:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2016-11-22 12:04:34 +01:00
|
|
|
<item>
|
2016-11-28 12:58:17 +01:00
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
<property name="currentIndex">
|
2016-11-29 18:41:52 +01:00
|
|
|
<number>0</number>
|
2016-11-22 12:04:34 +01:00
|
|
|
</property>
|
2016-11-28 12:58:17 +01:00
|
|
|
<widget class="QWidget" name="tabPath">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Path</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QFormLayout" name="formLayout">
|
|
|
|
<property name="fieldGrowthPolicy">
|
|
|
|
<enum>QFormLayout::ExpandingFieldsGrow</enum>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="labelName">
|
|
|
|
<property name="text">
|
|
|
|
<string>Name:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLineEdit" name="lineEditName">
|
|
|
|
<property name="text">
|
|
|
|
<string>Unnamed path</string>
|
|
|
|
</property>
|
|
|
|
<property name="placeholderText">
|
|
|
|
<string>Create name for your path</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="labelType">
|
|
|
|
<property name="text">
|
|
|
|
<string>Type:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QComboBox" name="comboBoxType"/>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QLabel" name="labelPiece">
|
|
|
|
<property name="text">
|
|
|
|
<string>Piece:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QComboBox" name="comboBoxPiece"/>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QListWidget" name="listWidget">
|
|
|
|
<property name="dragDropMode">
|
|
|
|
<enum>QAbstractItemView::InternalMove</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</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>
|
|
|
|
<widget class="QWidget" name="tabSeamAllowance">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Seam allowance</string>
|
|
|
|
</attribute>
|
|
|
|
<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="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<double>900.990000000000009</double>
|
|
|
|
</property>
|
|
|
|
<property name="singleStep">
|
|
|
|
<double>0.100000000000000</double>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<double>0.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>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Nodes</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2016-11-22 12:04:34 +01:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2016-11-29 18:41:52 +01:00
|
|
|
<resources>
|
|
|
|
<include location="../../../vmisc/share/resources/icon.qrc"/>
|
|
|
|
</resources>
|
2016-11-22 12:04:34 +01:00
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>DialogPiecePath</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>DialogPiecePath</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>
|