LibreCAD / librecad /src /ui /action_options /rect /lc_rectangle3pointsoptions.ui
AbdulElahGwaith's picture
Upload folder using huggingface_hub
a5ffdcd verified
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>LC_Rectangle3PointsOptions</class>
<widget class="QWidget" name="LC_Rectangle3PointsOptions">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1395</width>
<height>24</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>1</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>1</number>
</property>
<item row="1" column="8">
<widget class="QCheckBox" name="cbPolyline">
<property name="toolTip">
<string>If checked, the shape will be created as polyline. </string>
</property>
<property name="text">
<string>Polyline</string>
</property>
</widget>
</item>
<item row="1" column="9">
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="1" column="11">
<widget class="Line" name="line_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QFrame" name="frmQuad">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="horizontalSpacing">
<number>3</number>
</property>
<item row="0" column="2">
<widget class="QCheckBox" name="cbFixedInnerAngle">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>If checked, inner angle of quadrangle will be fixed to specified value.</string>
</property>
<property name="text">
<string>Fixed Inner Angle:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="Line" name="line_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLineEdit" name="leInnerAngle">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Inner angle of quadrangle.</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QToolButton" name="tbPickAngleInner">
<property name="toolTip">
<string>Pick inner angle of quadrangle from drawing.</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../../res/icons/icons.qrc">
<normaloff>:/icons/interactive_pick_angle.lci</normaloff>:/icons/interactive_pick_angle.lci</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="7">
<widget class="Line" name="line_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="1" column="12">
<widget class="QLabel" name="lblEdges">
<property name="text">
<string>Edges:</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QCheckBox" name="chkFixedBaseAngle">
<property name="toolTip">
<string>If checked, rectangle will be rotated to specified base angle. Otherwise, base angle will be defined by angle between first and second points of rectangle.</string>
</property>
<property name="text">
<string>Fixed Base Angle:</string>
</property>
</widget>
</item>
<item row="1" column="5">
<widget class="QLineEdit" name="leAngle">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Base angle of rectangle. </string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="cbQuadrangle">
<property name="toolTip">
<string>If checked, quadrangle will be created instead of rectangle.</string>
</property>
<property name="text">
<string>Quadrangle</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="1" column="14">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="10">
<widget class="QFrame" name="frmRectSettings">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>3</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="5">
<widget class="QCheckBox" name="cbSnapRadiusCenter">
<property name="toolTip">
<string>If checked, specifies that snap points should be shifted by radius of corners.</string>
</property>
<property name="text">
<string>Snap shift</string>
</property>
</widget>
</item>
<item row="0" column="9">
<widget class="QLabel" name="lblLenY">
<property name="text">
<string>Length Y:</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="lblRadius">
<property name="text">
<string>Radius:</string>
</property>
</widget>
</item>
<item row="0" column="7">
<widget class="QLineEdit" name="leX">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Length of bevel in X direction.</string>
</property>
</widget>
</item>
<item row="0" column="10">
<widget class="QLineEdit" name="leLenY">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Length of bevel in Y direction. </string>
</property>
</widget>
</item>
<item row="0" column="6">
<widget class="QLabel" name="lblX">
<property name="text">
<string>Length X:</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLineEdit" name="leRadius">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Radius of rounded corners.</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QToolButton" name="tbPickRadius">
<property name="toolTip">
<string>Pick radius of rounded corners from drawing.</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../../res/icons/icons.qrc">
<normaloff>:/icons/interactive_pick_distance.lci</normaloff>:/icons/interactive_pick_distance.lci</iconset>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cbCorners">
<property name="toolTip">
<string>Defines how corners should be drawn for rectangle. </string>
</property>
<item>
<property name="text">
<string>Straight</string>
</property>
</item>
<item>
<property name="text">
<string>Round</string>
</property>
</item>
<item>
<property name="text">
<string>Bevel</string>
</property>
</item>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Corners:</string>
</property>
</widget>
</item>
<item row="0" column="8">
<widget class="QToolButton" name="tbPickLengthX">
<property name="toolTip">
<string>Pick length of bevel in X direction from drawing.</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../../res/icons/icons.qrc">
<normaloff>:/icons/interactive_pick_distance.lci</normaloff>:/icons/interactive_pick_distance.lci</iconset>
</property>
</widget>
</item>
<item row="0" column="11">
<widget class="QToolButton" name="tbPickLengthY">
<property name="toolTip">
<string>Pick length of bevel in Y direction from drawing.</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../../res/icons/icons.qrc">
<normaloff>:/icons/interactive_pick_distance.lci</normaloff>:/icons/interactive_pick_distance.lci</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="13">
<widget class="QComboBox" name="cbEdges">
<property name="toolTip">
<string>Defines which edges of rectangle should be drawn (so it is possible to create just two parallel lines instead of rectangle)</string>
</property>
<item>
<property name="text">
<string>Both</string>
</property>
</item>
<item>
<property name="text">
<string>Vertical</string>
</property>
</item>
<item>
<property name="text">
<string>Horizontal</string>
</property>
</item>
</widget>
</item>
<item row="1" column="6">
<widget class="QToolButton" name="tbPickAngleBase">
<property name="toolTip">
<string>Pick base angle of rectangle from drawing</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../../res/icons/icons.qrc">
<normaloff>:/icons/interactive_pick_angle.lci</normaloff>:/icons/interactive_pick_angle.lci</iconset>
</property>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="../../../../res/icons/icons.qrc"/>
</resources>
<connections/>
</ui>