When modifying primitives in complex geometries having a recompute for every keystroke can be annoying. Disabling keyboardTracking fixes this but keeps the immediate preview when using the spin buttons.
423 lines
13 KiB
XML
423 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>PartGui::TaskAttacher</class>
|
|
<widget class="QWidget" name="PartGui::TaskAttacher">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>271</width>
|
|
<height>604</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="message">
|
|
<property name="text">
|
|
<string>Selection accepted</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QPushButton" name="buttonRef1">
|
|
<property name="text">
|
|
<string>Reference 1</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineRef1"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="QPushButton" name="buttonRef2">
|
|
<property name="text">
|
|
<string>Reference 2</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineRef2"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QPushButton" name="buttonRef3">
|
|
<property name="text">
|
|
<string>Reference 3</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineRef3"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
<item>
|
|
<widget class="QPushButton" name="buttonRef4">
|
|
<property name="text">
|
|
<string>Reference 4</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineRef4"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Attachment mode:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QListWidget" name="listOfModes">
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_AttachmentOffset">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string/>
|
|
</property>
|
|
<property name="title">
|
|
<string>Attachment Offset (in local coordinates):</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="labelOffset">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>In x-direction:</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>labelOffset</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="labelOffset2">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>In y-direction:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="Gui::PrefQuantitySpinBox" name="attachmentOffsetY">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>5</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Note: The placement is expressed in local coordinate system
|
|
of object being attached.</string>
|
|
</property>
|
|
<property name="keyboardTracking">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="labelOffset3">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>In z-direction:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="Gui::PrefQuantitySpinBox" name="attachmentOffsetZ">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>5</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Note: The placement is expressed in local coordinate system
|
|
of object being attached.</string>
|
|
</property>
|
|
<property name="keyboardTracking">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="labelYaw">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Around x-axis:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="labelPitch">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Around y-axis:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="labelRoll">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Around z-axis:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="Gui::PrefQuantitySpinBox" name="attachmentOffsetX">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>5</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Note: The placement is expressed in local coordinate system
|
|
of object being attached.</string>
|
|
</property>
|
|
<property name="keyboardTracking">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="Gui::QuantitySpinBox" name="attachmentOffsetRoll">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Rotation around the x-axis
|
|
Note: The placement is expressed in local coordinate system
|
|
of object being attached.</string>
|
|
</property>
|
|
<property name="keyboardTracking">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="unit" stdset="0">
|
|
<string notr="true">deg</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>-360.000000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>360.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="Gui::QuantitySpinBox" name="attachmentOffsetPitch">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Rotation around the y-axis
|
|
Note: The placement is expressed in local coordinate system
|
|
of object being attached.</string>
|
|
</property>
|
|
<property name="keyboardTracking">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="unit" stdset="0">
|
|
<string notr="true">deg</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>-360.000000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>360.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="Gui::QuantitySpinBox" name="attachmentOffsetYaw">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Rotation around the z-axis
|
|
Note: The placement is expressed in local coordinate system
|
|
of object being attached.</string>
|
|
</property>
|
|
<property name="keyboardTracking">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="unit" stdset="0">
|
|
<string notr="true">deg</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>-360.000000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>360.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBoxFlip">
|
|
<property name="toolTip">
|
|
<string>Flip side of attachment and offset</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Flip sides</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>Gui::QuantitySpinBox</class>
|
|
<extends>QWidget</extends>
|
|
<header>Gui/QuantitySpinBox.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefQuantitySpinBox</class>
|
|
<extends>Gui::QuantitySpinBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>buttonRef1</tabstop>
|
|
<tabstop>lineRef1</tabstop>
|
|
<tabstop>buttonRef2</tabstop>
|
|
<tabstop>lineRef2</tabstop>
|
|
<tabstop>buttonRef3</tabstop>
|
|
<tabstop>lineRef3</tabstop>
|
|
<tabstop>buttonRef4</tabstop>
|
|
<tabstop>lineRef4</tabstop>
|
|
<tabstop>listOfModes</tabstop>
|
|
<tabstop>attachmentOffsetX</tabstop>
|
|
<tabstop>attachmentOffsetY</tabstop>
|
|
<tabstop>attachmentOffsetZ</tabstop>
|
|
<tabstop>attachmentOffsetRoll</tabstop>
|
|
<tabstop>attachmentOffsetPitch</tabstop>
|
|
<tabstop>attachmentOffsetYaw</tabstop>
|
|
<tabstop>checkBoxFlip</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
<designerdata>
|
|
<property name="gridDeltaX">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="gridDeltaY">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="gridSnapX">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="gridSnapY">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="gridVisible">
|
|
<bool>true</bool>
|
|
</property>
|
|
</designerdata>
|
|
</ui>
|