265 lines
8.6 KiB
XML
265 lines
8.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DraftPolarArrayTaskPanel</class>
|
|
<widget class="QWidget" name="DraftPolarArrayTaskPanel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>445</width>
|
|
<height>488</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>250</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Polar array</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="0">
|
|
<widget class="QGroupBox" name="main_group">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string/>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="0" column="0">
|
|
<layout class="QGridLayout" name="grid_values">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_angle">
|
|
<property name="toolTip">
|
|
<string>Sweeping angle of the polar distribution.
|
|
A negative angle produces a polar pattern in the opposite direction.
|
|
The maximum absolute value is 360 degrees.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Polar angle</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="Gui::QuantitySpinBox" name="spinbox_angle">
|
|
<property name="toolTip">
|
|
<string>Sweeping angle of the polar distribution.
|
|
A negative angle produces a polar pattern in the opposite direction.
|
|
The maximum absolute value is 360 degrees.</string>
|
|
</property>
|
|
<property name="unit" stdset="0">
|
|
<string notr="true">°</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>-360.000000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>360.000000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>360.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_number">
|
|
<property name="toolTip">
|
|
<string>Number of elements in the array, including a copy of the original object.
|
|
It must be at least 2.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Number of elements</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSpinBox" name="spinbox_number">
|
|
<property name="toolTip">
|
|
<string>Number of elements in the array, including a copy of the original object.
|
|
It must be at least 2.</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000000</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>5</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QGroupBox" name="group_center">
|
|
<property name="toolTip">
|
|
<string>The coordinates of the point through which the axis of rotation passes.
|
|
Change the direction of the axis itself in the property editor.</string>
|
|
</property>
|
|
<property name="title">
|
|
<string>Center of rotation</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<layout class="QGridLayout" name="grid_center">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_c_x">
|
|
<property name="text">
|
|
<string>X</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="Gui::InputField" name="input_c_x">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="unit" stdset="0">
|
|
<string notr="true">mm</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_c_y">
|
|
<property name="text">
|
|
<string>Y</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="Gui::InputField" name="input_c_y">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="unit" stdset="0">
|
|
<string notr="true">mm</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_c_z">
|
|
<property name="text">
|
|
<string>Z</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="Gui::InputField" name="input_c_z">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="unit" stdset="0">
|
|
<string notr="true">mm</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QPushButton" name="button_reset">
|
|
<property name="toolTip">
|
|
<string>Reset the coordinates of the center of rotation.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Reset point</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<layout class="QVBoxLayout" name="vertical_layout">
|
|
<item>
|
|
<widget class="QCheckBox" name="checkbox_fuse">
|
|
<property name="toolTip">
|
|
<string>If checked, the resulting objects in the array will be fused if they touch each other.
|
|
This only works if "Link array" is off.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Fuse</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkbox_link">
|
|
<property name="toolTip">
|
|
<string>If checked, the resulting object will be a "Link array" instead of a regular array.
|
|
A Link array is more efficient when creating multiple copies, but it cannot be fused together.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Link array</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<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>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>Gui::InputField</class>
|
|
<extends>QLineEdit</extends>
|
|
<header>Gui/InputField.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::QuantitySpinBox</class>
|
|
<extends>QWidget</extends>
|
|
<header>Gui/QuantitySpinBox.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>spinbox_angle</tabstop>
|
|
<tabstop>spinbox_number</tabstop>
|
|
<tabstop>input_c_x</tabstop>
|
|
<tabstop>input_c_y</tabstop>
|
|
<tabstop>input_c_z</tabstop>
|
|
<tabstop>button_reset</tabstop>
|
|
<tabstop>checkbox_fuse</tabstop>
|
|
<tabstop>checkbox_link</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|